Ewr*_*ert 0 php internet-explorer redirect header
php下的重定向:
header("Location: mask.php")
Run Code Online (Sandbox Code Playgroud)
不工作与IE 9,谷歌Chrome,Firefox,但不与IE 8.
我怎样才能解决这个问题?
PS:header("Location: http://......")
没有帮助.
您;
需要exit
在脚本末端缺少脚本,因此不再执行脚本.
<?php
header("Location: mask.php");
exit; // with die at the end
?>
Run Code Online (Sandbox Code Playgroud)
要测试,请IE
创建一个重定向某个位置并在NetRenderer上测试的示例页面