HTML multi-file Upload failed-php Tutorial

Source: Internet
Author: User
HTML multifile Upload failed. I failed to upload HTML multifile. in the INI file, I set upload_max_filesize (maximum file size allowed to be uploaded) to 90 M and post_max_size (control the maximum data size that PHP can accept in a form submission using the POST method, if you want to upload a php file, the value must be greater than upload_max_filesize.) set this value to 100 MB and upload seven files. The total size is 70 MB, but it does not exceed the maximum value set by me, however, the upload fails.
My HTML code is:


The PHP code is:
If ($ _ POST)
{
$ File_info = $ _ FILES ["upload_file"];

Print_r ($ file_info );
}
Else
{
Echo 444;
}

Execution result: 444

Why?


Reply to discussion (solution)

The value of memory_limit is also increased.
Print_r ($ _ POST); is there a value?

The value of memory_limit is also increased.
Print_r ($ _ POST); is there a value?

After the problem is solved, I changed php. ini and didn't restart Apache. Thank you for your answers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.