我现在做了一个登录验证页面!
想法:
如果身份验证正确的话,转向另外一个页面,否则将提示出错!
问题:验证正确后如何转向另一个页面?谢谢,请支招!
header("Location: index.php");
或者用:
<script> window.location=index.php;
或者用:
<meta http-equiv="refresh" content="0; index.php"> --->记不清楚了
前面的输出去掉
在php.ini中设置output_buffering = On
再header("location:index.php");