Warning: Cannot modify header information - headers already sent by (output started at G:\AppServ\www\nt\checkpwd.php:12) in G:\AppServ\www\nt\checkpwd.php on line 59
这个错误在哪里第59行是:header("Location:127.0.0.1/nt/main.htm");感觉没错误啊~
什么原因谢谢
这个错误在哪里第59行是:header("Location:127.0.0.1/nt/main.htm");感觉没错误啊~
什么原因谢谢
最前面加上ob_start();
把输出信息缓存起来。
echo "<script>location.href='nt/main.htm';</script>";