Page 1 of 1

Works in Firefox(3), not In IE (6, 7 or 8 Beta-2)

Posted: Fri Aug 29, 2008 6:27 am
by mrgooding
Hi All

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']);
Could this be causing the issue?
Also, are there any documents on the difference between the way IE and Firefox handle PHP / HTML code?

Any pointers would be appreciated.

Re: Works in Firefox(3), not In IE (6, 7 or 8 Beta-2)

Posted: Fri Aug 29, 2008 7:30 am
by panic!
ignore.

Re: Works in Firefox(3), not In IE (6, 7 or 8 Beta-2)

Posted: Fri Aug 29, 2008 8:35 am
by mrgooding
panic! wrote:ignore.
eh?