Jump to content

weird issue in IE7 but not Firefox


advancedfuture

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.