The following form calls an empty $_POST
variable in IE9.
<form id='login' action='login.php' method='POST' accept-charset='UTF-8'> <input type='text' name="username" id='username' /> <input type='password' name='password' id='password' /> <input type="text" name="store" /> <input type='submit' name='Submit' value='Submit' /> </form>
The form works great on Firefox and Chrome. All variables appear in the $_POST
variable without any problems.
However, in IE9, the form appears correctly, but $_POST
is an empty array. Ie, in login.php:
print_r($_POST);
prints an empty array. I am trying to understand what may be different from IE9, which makes its behavior different from Firefox and Chrome, and I cannot figure it out.
I found mention of some kind of module under Apache that causes problems with people, but I am running IIS7
, not Apache, so it is not. Someone at the Ruby forum mentioned setting the DisableNTLMPreAuth parameter to 1 in the registry, but that also did not fix it.
Any help is appreciated.
source share