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

WBOY
Release: 2016-06-01 11:55:24
Original
989 people have browsed it

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


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

Description:


';
}
?>


[align=center][/align]


在实际执行过程中发现上传稍微大一些的文件时,显示File couldn't be moved。
数据库里显示文件名称,不显示大小。
而上传大于8M的文件时,页面根本没有反应。
Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!