MVC中跳转方式

header: 不提示错误

提示错误 延时跳往

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Refresh" content="2; url=index.php">
<title></title>
</head>
<body>
<?php
echo '非法用户';
echo mt_rand(10,99);
?>
</body>
</html>
原文地址:https://www.cnblogs.com/havoe/p/4447557.html