Well, I am stumped.. I am trying to set up a simple login page. It works in mozilla, netscape, opera and just about any other browsre..except Internet explorer.
login.php has a form that takes in $login and $passwd. this form is posted to cust_login.php. cust_login.php runs sql and then :
if (!$row_count == 1)
{ header("Location:
login.php?Message=Invalid");
exit;
}
else
{ header("location:
cust_home.php?username=$login");
exit;
}
The result in IE is that the user is redirected to index.php!?! When I comment out the if/else, I can echo $login and $passwd to the cust_login.php, so the variables are fine. But it wont redirect correctly with the if/else. Any ideas would be great.
Thanks, justin