i personaly use this function for it:
function redirect($url, $sec) {
$msec = $sec*1000;
print <<<EOT
<script type="text/javascript" language="JavaScript">
function redirect() {
window.location.replace("$url");
}
setTimeout("redirect();", $msec);
</script>
EOT;
}
you can call the function with eg:
redirect("index.php", 1);
for redirecting to that page after 1 second