Reputation: 6753
I can't get...
<?php
header( "Refresh: 5; URL=http://www.mywebsite.com" );
?>
...working in Internet Explorer (damn you!).
It works great in Chrome and if I use...
header("Location: http://www.mywebsite.com");
...it works in both, but I get no delay.
Upvotes: 1
Views: 1153
Reputation: 17348
Try including it as a meta tag, or reloading via JavaScript.
Meta tag:
<meta http-equiv="refresh" content="5;URL='http://example.com/'">
Javascript:
window.onload = new function() {
setTimeout(function() {
location.reload();
}, 5000);
};
Upvotes: 4