Home  >  Article  >  Backend Development  >  What to do if php post data is lost

What to do if php post data is lost

藏色散人
藏色散人Original
2020-09-04 10:24:242271browse

php post data is lost because the "max_input_vars" in "php.ini" defaults to "1000". Just adjust its value to a larger value to solve the post data loss problem.

What to do if php post data is lost

Recommended: "PHP Video Tutorial"

PHP POST data loss

$ajax submitted a relatively large data to the background. However, the background analysis printout is always less than half. Some data was not received.

Look at the json returned locally, there is a warning.

Actually, this is because max_input_vars in php.ini defaults to 1000. Just adjust it a little bigger.

This is newly added in php5.3.9 version.

The above is the detailed content of What to do if php post data is lost. For more information, please follow other related articles on the PHP Chinese website!

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