Php5.4 is normal, and the POST array cannot be received under php5.2. When I port the project from PHP5.4 to 5.2, I find that the login fails to receive the POST array, and then I find that writing a normal form cannot receive the POST array.
Compare the configuration files of php5.4 and 5.2, and try to modify several different configuration items. for example, if variables_order is changed to "GP", The POST array is still empty.
Please help analyze what the problem is. Thank you.
Reply to discussion (solution)
I printed $ _ GET, $ _ POST, $ _ COOKIE, $ _ ENV, and $ _ SERVER and did not find the name (user_name, pass_word) in the form ).
Modify php. ini:
Apc. rfc1867 = 0
Change variables_order from EGPCS to GP
Change register_globals from On to Off
Change register_globals from On to Off
Change register_lOng_arrays from On to Off
Modify form:
Enctype = "application/x-www-form-urlencoded"
None of the above works
Problems found:
In my Defined. htaccess file, post_max_size and upload_max_filesize exceed 2 GB.
Change post_max_size to 1990 M and upload_max_filesize to 1900M.
What is post. php output?