Html forms cannot receive POST data when there is a large amount of data.

Source: Internet
Author: User
There are about 1000 pieces of data, and a form is submitted using post. The PHP server never receives the submitted value, but when the data volume is small (about 100), everything works normally. I have changed post_max_size to 2047 M in ini, but it is still useless. Please solve it ~ There are about 1000 pieces of data, and a form is submitted using post. The PHP server never receives the submitted value, but when the data volume is small (about 100), everything works normally. I have changed post_max_size to 2047 M in ini, but it is still useless. Please solve it ~

Reply content:

There are about 1000 pieces of data, and a form is submitted using post. The PHP server never receives the submitted value, but when the data volume is small (about 100), everything works normally. I have changed post_max_size to 2047 M in ini, but it is still useless. Please solve it ~

This problem... first confirm that your change has taken effect...

 

Then confirm the setmemory_limit>post_max_size>upload_max_filesize...

In addition, the text written in the manual is...

Note: PHP allows shortcuts for bit values, including K (kilo), M (mega) and G (giga). PHP will do the conversions automatically if you use any of these. Be careful not to exceed the 32 bit signed integer limit (if you're using 32bit versions) as it will cause your script to fail.

If the above two steps are determined, the problem persists... modify the value of post_max_size to a smaller value, such as 1024 M...

There is also an upload_max_size, which may be affected. Check the server log.

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.