楼上的可能误解我的意思了,我知道是少了一个右括号的原因,但我的问题是PHP的出错提示不对。在我这提示如下: Parse error: parse error, unexpected ';' in D:\Apache2\htdocs\test\test.php on line 491605837而正常结果应该是唠叨兄弟的,也就是 Parse error: parse error, unexpected ';' in D:\Apache2\htdocs\test\test.php on line 2我的环境为:Apache 2.0.43 + PHP4.3.0
header("location:test.php";
?>保存为test.php试试,就少了最后一个),居然会出现上面这个错误。
有代关注.
header("location:test.php";
?>
Parse error: parse error in D:\InetPub\books\users\ide\test.php on line 2
Parse error: parse error, unexpected ';' in D:\Apache2\htdocs\test\test.php on line 491605837而正常结果应该是唠叨兄弟的,也就是
Parse error: parse error, unexpected ';' in D:\Apache2\htdocs\test\test.php on line 2我的环境为:Apache 2.0.43 + PHP4.3.0
用apache 2.0.44试试?
在程序中出错,运行后提示出错在最后一行。
问题出在Apache上,足见它在这方面有缺陷。
我看兄台的情况如似。
值得关注!受教了。
<?php
header("location:test.php";
?>
就这3句话。
结果对的!