php中实现页面跳转的几种方式

header('location:url');

header("Refresh:3;url=helloworld.php")

js:

window.location.href="helloworld.php"

setTimeout("window.location.href='helloworld.php'",3000);

window.location.assign("helloworld.php";

你可能感兴趣的:(php中实现页面跳转的几种方式)