mady Posted June 16, 2009 Share Posted June 16, 2009 echo "<h3>Loading...</h3><meta http-equiv='refresh' content='0; url=main.php'>"; for some reason its not working in IE, I tested it on firefox and chrome, works just fine but why not on IE? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 16, 2009 Share Posted June 16, 2009 works fine for me in IE7...which version are you using? is there anything else being echoed? Quote Link to comment Share on other sites More sharing options...
mady Posted June 16, 2009 Author Share Posted June 16, 2009 well tested it on IE 6 yes there are other things also being echoed. for example this; <input type="hidden" name="date" value="<?php echo date("F j, Y, g:i a"); ?>" but why does it work on chrome and firefox? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 16, 2009 Share Posted June 16, 2009 first...this is an HTML problem...not PHP. Once you load the page, and it doesn't redirect, do a View Source and copy/paste the output here. I tested it in IE 5.5, 6, 7, and 8 in IETester and all worked fine. But, I am only providing the redirect. There might be something else on the page that is throwing it off. Quote Link to comment Share on other sites More sharing options...
mady Posted June 16, 2009 Author Share Posted June 16, 2009 I even tried this echo' <h3>Loading...</h3><meta http-equiv="refresh" content="0"; url="main.php"> '; Then saw a small red mark on IE task bar, its for privacy report, the website is on my private on 'http://89....' IE automatically blocked it this is so gay; how can I avoid this happening? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 16, 2009 Share Posted June 16, 2009 not sure...are you redirecting to the same domain or an external one? Quote Link to comment Share on other sites More sharing options...
mady Posted June 16, 2009 Author Share Posted June 16, 2009 have made a domain on mysite.tk, and its set to be http://myip/index.php and when they login they are directed to http://myip/main.php Quote Link to comment Share on other sites More sharing options...
mady Posted June 16, 2009 Author Share Posted June 16, 2009 any suggestions? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 16, 2009 Share Posted June 16, 2009 No idea...not sure what that security warning is. What does it say exactly? Since it's client side, there probably isn't a way to bypass it... Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted June 17, 2009 Share Posted June 17, 2009 Surprisingly, IE has very high security! That doesn't make it any better than FF though. IE isn't redirecting because the website is redirecting to an entirely different domain. You should do a php redirect instead of a meta redirect. You could also change your preferences within IE so it could redirect w/ out a problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.