In the production environment, a huge form, including three images, hundreds of input boxes and nearly one thousand checkboxes, is intercepted when The post method is used to submit data to the background. In the production environment, a huge form, including three images, hundreds of input boxes and nearly one thousand checkboxes, is intercepted when The post method is used to submit data to the background. All the Way to debug, found that PHP get $ _ POST, the data is insufficient. It was initially thought that it was a problem with post_max_size and upload_max_size in php, but setting it to MB does not work. Later I thought it was a problem of limitpostdate in Apache, and it didn't work after it was set up. Later, when wireShark was installed on the client to capture packets, it was found that tcp windows full appeared in the middle of the TCP packet, so it was thought that the browser did not correctly transmit the total package size during the second handshake of TCP. Until the end, in the Apache error. the following error is found in the log: PHP Warning: Unknown: Input variables exceeded 1000. in the original PHP, the number of parameters in the default post is 1000, and the excess part is automatically thrown away. Adjust the value. for example, set it to 2000: set max_input_vars = 2000 in PHP. ini. |