I've been designing a php / mysql based webpage and testing it in Firefox. Everything works fine within firefox, but opening the site in IE (6, 7 or 8 beta) and my login script doesn't work.
My homepage (index.php), includes a login script (login.php) that is displayed on the page. IE will display the page correctly, but when the submit button is pressed (when a user logs in), it loops back to the login.php page, rather than redirecting to the logged in area that it should do.
Firefox doesn't have this problem, and unfortunately, quite a few people still use IE!
The method I use to redirect to the logged in area is:
Code: Select all
header("Location: ".$cfg['userarea.php']);Also, are there any documents on the difference between the way IE and Firefox handle PHP / HTML code?
Any pointers would be appreciated.