Welcome to WebmasterWorld Guest from 54.167.82.170

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP/ MySQL code doesnt work in IE6

login/signup dont work

     

naiquevin

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

5+ Year Member



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?

penders

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

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



Are you using IFRAMES / 3rd party cookies?

naiquevin

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

5+ Year Member



@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

penders

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

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



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...?

henry0

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

WebmasterWorld Senior Member henry0 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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...

jpjones

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

10+ Year Member



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'])) ) {...}

HTH,
JP

naiquevin

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

5+ Year Member



@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..

 

Featured Threads

Hot Threads This Week

Hot Threads This Month