homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

PHP/ MySQL code doesnt work in IE6
login/signup dont work

 6:46 am on May 12, 2009 (gmt 0)

I have coded a website using PHP , MySQL which has user profiles .The problem is that login & signup system doesnt work in IE6 while it works perfectly fine in Firefox and Chrome.. Its been much time since I am trying to find a solution for this but unable to figure out whats happening ..

The HTML form which is meant for logging n the members is supposed to take them to the index page upon successful submission.. but nothing happens . not even the error msg.
Same is the case with the signup form.

I also tried tweaking the options in IE6 towards lower security..I thought may be it doesn't allow session variables to be created.. but even that didn't work.

Please help .. is this a common problem with IE6?



 7:36 am on May 12, 2009 (gmt 0)

Are you using IFRAMES / 3rd party cookies?


 9:20 am on May 12, 2009 (gmt 0)

@penders - no... nothing of that sort..

The website is not live as of yet, by the way ..
I am running it with XAMPP bundle on localhost


 11:55 am on May 12, 2009 (gmt 0)

How are you redirecting the user after they have logged in? There may be something with the response headers that is causing a problem with IE...?


 11:58 am on May 12, 2009 (gmt 0)

Try striping down the form and the receiving page to the bare minimum, echo every steps one at a time and after each echo add exit(); so you may really pinpoint on each segment, if something shows then remove the exit and go to the next one etc...
When you mention error you mean using something like
error_reporting(E_ALL); correct?
if not any section shows post your script
Have you try G for something like "IE6 form problem" and any variations...


 12:09 pm on May 12, 2009 (gmt 0)

Just taking a wild guess here - but it might be due to the fact that if you have an image as the submit button, IE passes the co-ordinates of the click as submit_x= and submit_y= instead of just a submit= parameter (which is how FF works).

If you have something similar to

if (isset($_POST['submit'])) {...}

Try changing to

if ( (isset($_POST['submit'])) ¦¦ (isset($_POST['submit_x'])) ) {...}



 4:56 pm on May 12, 2009 (gmt 0)

@jpjones - your wild guess was spot on! ... the problem wasindeed because of images as submit button and the isset($_POST['submit']) thing. It worked perfectly after I made the changes as per your suggestions ... thanks a lot! A big problem is solved

@penders & henry0 thanks for replying..

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved