PHP重定向的3种方式_php技巧

分享到:


//1
header("Location: index.php");

//2
echo '<scrīpt type="text/javascript">
window.location = "index.php";
</scrīpt>';

//3
echo "<META HTTP-EQUIV="Refresh" CONTENT="0; URL=index.php">";

昵    称:
验证码:

相关文档: