php中实现页面跳转的几种方式
2018-06-14 本文已影响0人
李贵功
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";