header('location:url');
header("Refresh:3;url=helloworld.php")
<?php sleep(3); header("location:url地址")?>
js:
window.location.href="helloworld.php"
setTimeout("window.location.href='helloworld.php'",3000);
window.location.assign("helloworld.php";