摘要:
if( !isset($_SERVER['PHP_AUTH_USER']) ) { header("WWW-Authenticate: Basic realm='登录对话框上显示的服务器名称'"); header("HTTP/1.0 401 Unauthorized"); echo "Text to send if user hits Cancel buttonn"; exit; } else{ if ( !($_SERVER['PHP_AUTH_PW'] == $publish_pas 阅读全文