Try this...
filename: updatetest.php
call via browser: http://www.yourdom.com/updatetest.php?updatetime=1500
<?php
//Make sure there's no caching...
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
//if the value for $updatetime is null, it uses 10,000 as a default value
if(!$updatetime) {$updatetime=10000;}
echo "<html>
<head>
<title>Auto Reload</title>
<script language=\"JavaScript\">
<!--
var time = null
function move() {
window.location = 'http://yoursite.com'
}
//-->
</script>
</head>
<body onload=\"timer=setTimeout('move()',$updatetime)\">
<p>see this page refresh itself in $updatetime thousands of a second. </p>
</body>";
?>
Cheers,
HotShot99