$_POST variables coming through empty in IE7 for one subfolder

前端 未结 4 1849
Happy的楠姐
Happy的楠姐 2021-01-15 14:30

I\'ve having trouble with $_POST variables not being received from forms within a PHP website.

To clarify the problem, I created this simple PHP script \"POST_test.p

4条回答
  •  醉话见心
    2021-01-15 15:02

    Thanks for the suggestions.

    It turned out that the problem was caused by a previous request to an unrelated page which made use of NTLM authentication like this (or similar):

    
    

    After that authentication was done, all $_POST data was received empty until IE was closed and re-opened. So far, I've worked around the issue by removing the above code and instead arranging for Apache to use NTLM within our Intranet (which sets the $_SERVER['REMOTE_USER'] variable). (Outside of our intranet, Apache authentication is still used).

提交回复
热议问题