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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mrgooding
Forum Newbie
Posts: 23
Joined: Thu May 22, 2008 11:45 am

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

Post 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.
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

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

Post by panic! »

ignore.
mrgooding
Forum Newbie
Posts: 23
Joined: Thu May 22, 2008 11:45 am

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

Post by mrgooding »

panic! wrote:ignore.
eh?
Post Reply