PHP___认证___访问权限设置
授权:浏览器在请求头中发送用户名和密码,授权没有发送或不符合,服务器返回“401 Unauthorized"响应。认证:检查$_SERVER['PHP_AUTH_USER'] $_SERVER['PHP_AUTH_PW']
header('WWW-Authenticate:Basic realm="Top Secret Files"');
header('HTTP/1.0/ 401 Unauthorized');
--------------------------------------------------------------------------------Not the end.