Home>Article>Backend Development> What to do if php post data is lost
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.
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!