Home  >  Article  >  Backend Development  >  php如何解决无法上传大于8M的文件问题_PHP

php如何解决无法上传大于8M的文件问题_PHP

WBOY
WBOYOriginal
2016-06-01 11:55:24990browse

开发一个文件上传共享网站,曾想使用下面的代码实现文件上传的功能:
复制代码 代码如下:


Fill out the form to upload a file:
for ($i = 0; $i echo 'File:

Description:


';
}
?>


[align=center][/align]


在实际执行过程中发现上传稍微大一些的文件时,显示File couldn't be moved。
数据库里显示文件名称,不显示大小。
而上传大于8M的文件时,页面根本没有反应。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn