这个怎么不对啊?在线等!谢谢啊!
看下面一段代码:
if($PHP_AUTH_USER!="name" && $PHP_AUTH_PW!="pwd")
{
header("WWW-Authenticate:Basic realm='认证系统'");
header("HTTP/1.0 401 Unauthrized");
exit;
}
理论上来说石有已个密码验证窗口的,可是为什么我的输出是:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
-----------------------------------------------------------------------
Apache/1.3.23 Server at localhost Port 80
怎么回事啊?
请高手指点啊!