advancedfuture Posted June 25, 2008 Share Posted June 25, 2008 So I am using header to redirect the page from a thank you page. Now in Firefox after 3 seconds it refreshes to the new page no problem. However in IE7 it just keeps refreshing the thanks.php page and never redirects! Any idea? <?php header( "Refresh: 3; search.php" ); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Thank You!</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <br /> <table width="600" height="300" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="layout"> <tr> <td valign="middle"><div align="center"> <h1>Thank you for your submission! It has been forwarded to the us <br /> and someone will contact you within 24 hours! <br /> <br /> Try another search! </h1> </div></td> </tr> </table> </body> </html> Link to comment https://forums.phpfreaks.com/topic/111811-weird-issue-in-ie7-but-not-firefox/ Share on other sites More sharing options...
bluejay002 Posted June 25, 2008 Share Posted June 25, 2008 since the page is mostly html, why not make the redirection in html also? you can do that using meta tag. Link to comment https://forums.phpfreaks.com/topic/111811-weird-issue-in-ie7-but-not-firefox/#findComment-573967 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.