php网页重定向的实现方法
1、header("Location: http://www.baidu.com"); //Location:之后有“空格” 2、echo "<script>window.location = " 3、echo "<METAHTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=http://www.baidu.com\">";
时间: 2024-10-14 04:59:14
1、header("Location: http://www.baidu.com"); //Location:之后有“空格” 2、echo "<script>window.location = " 3、echo "<METAHTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=http://www.baidu.com\">";