php post data loss solution: first find and open the php.ini configuration file; then modify the "max_input_vars" of php.ini; and finally restart PHP.
The operating environment of this article: windows7 system, PHP5.3 version, DELL G3 computer
Submit by POST method under php Parameter loss problem
In the apache php system, part of the data is not saved when submitting the form form post. When printing the data, it is found that some parameters are lost. From has about 90 lines and 11 inputs in each line.
At first I thought it was apache's restriction on the length of the post. After various modifications, I found that it had no effect. The server uses php5.3
The local one uses php5. 2 runs normally and saves the data completely. After switching to 5.3, data loss also occurs locally.
Found the max_input_vars parameter in php.ini of php5.3
Address http:// php.net/manual/zh/ini.core.php
PHP video tutorial]
The above is the detailed content of How to solve php post data loss problem. For more information, please follow other related articles on the PHP Chinese website!