PDA

View Full Version : Page loads fine in Safari, Chrome, and Firefox but will not work in Internet Explorer



GoDawgs
24 May 2011, 09:59 PM
For some reason my page will not load in Internet Explorer. It just sits there. I'm assuming it has something to do with the page reloading every time some javascript changes something on the page, but can't pin point the issue. Anyone have any similar problems?

Any help is appreciated.

Thank you.

FIXED: Problem was with a redirect to non HTTPS function that I had created.

GoDawgs
25 May 2011, 04:12 PM
To further elaborate, I have this code in the top of this page that should make it so that nothing else happens on the page:



$browser = $_SERVER['HTTP_USER_AGENT'];

if( preg_match('/compatible/i', $browser) > 0 && preg_match('/MSIE/i', $browser) > 0 ){
header("Location: http://www.peeka.com/brwser_redirect.html");
}else{
header("Location: http://www.peeka.com/home.php");
}


But when using the developer tools in IE, it is constantly doing a 302 redirect to http://www.peeka.com/testing/

What would cause this? Neither brswer_redirect.html or home.php have any kind of redirect in them...

Also, this code is working fine in a separate file by itself... (Really getting frustrated with IE right about now...)

FIXED: Problem was with a redirect to non HTTPS function that I had created.