Update
Posted: Tue Sep 24, 2002 7:54 pm
does anyone know how to make a window refresh in a set amount of time after it loads?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
$refreshValue = 30; //seconds
?>
<meta http-equiv="REFRESH" content="<?php echo $refreshValue; ?>" />Code: Select all
<meta http-equiv="Refresh" content="SECONDS;FILENAME">Code: Select all
function refresh_page() {
location.href="FILENAME";
}
setTimeout("refresh_page()",TIMEINMILLISCONDS);Code: Select all
<?
sleep('10');
header("Location: http://www.foo.bar");
?>