Home > Backend Development > PHP Tutorial > How to solve the problem of unable to upload files larger than 8M in PHP_PHP Tutorial

How to solve the problem of unable to upload files larger than 8M in PHP_PHP Tutorial

WBOY
Release: 2016-07-13 10:36:21
Original
935 people have browsed it

Developing a file upload sharing website, I once wanted to use the following code to implement the file upload function:

Copy the code The code is as follows:


Fill out the form to upload a file:
for ($i = 0; $i < $counter; $i++) {
echo 'File:

Description:


';
}
?>

[align=center][/align]


During the actual execution process, when a slightly larger file was uploaded, File couldn't be moved was displayed.
The file name is displayed in the database, but the size is not displayed.
When uploading a file larger than 8M, the page does not respond at all.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/739775.htmlTechArticleDeveloping a file upload sharing website, I once wanted to use the following code to implement the file upload function: Copy the code as follows: form enctype="multipart/form-data" action="add_file.php"...
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