En HTML:
<meta http-equiv="refresh" content="60">
En PHP:
<?
header('refresh:60; url=http://www.elhacker.net');
?>
<?php
header( "Location: ". basename( $_SERVER['PHP_SELF'] );
?>
En javascript:
<script type="text/javascript">
function reFresh()
location.reload(true)
}
/* Establece el tiempo 1 minuto = 60000 milliseconds. */
window.setInterval("reFresh()",300000);
// -->
</script>
Auto refresh
<script type="text/javascript">
<!--
function timedRefresh(timeoutPeriod) {
setTimeout("location.reload(true);",timeoutPeriod);
}
// -->
</script>
</head>
<body onload="javascript:timedRefresh(60000);">
</body>
window.location.reload();
document.location.href = document.location.href;