Originally the project was transplanted from PHP5.4 to 5.2 when the login was unable to receive the post array, and then found that writing a normal form can not receive the post array.
Compare the php5.4 and 5.2 configuration file, try to change a few different configuration items also does not work, such as Variables_order changed to "GP" after the post array or empty.
Please help analyze what the problem is. Thank you.
Reply to discussion (solution)
I printed $_get,$_post,$_cookie,$_env, $_server, and I didn't find the name in the form (User_name,pass_word).
Modify PHP.ini:
Apc.rfc1867=0
Variables_order change from Egpcs to GP
Register_globals change from on to off
Register_globals change from on to off
Register_long_arrays change from on to off
Modify the form:
Enctype= "Application/x-www-form-urlencoded"
None of the above has any effect
Found the problem:
It's my definition. In the. htaccess file, post_max_size and upload_max_filesize exceed 2G.
Change Post_max_size to 1990m,upload_max_filesize to 1900M and then resolve.
What does the post.php output?