|
помогу.....
php
$auth = 0;
if (($PHP_AUTH_USER == "user" ) && ($PHP_AUTH_PW == "pass" )) $auth = 1;
if ( $auth != 1 ) {
header("WWW-Authenticate: Basic realm=\"Administration Zone\"");
header("HTTP/1.0 401 Unauthorized");
echo 'Authorization Required!';
exit;
}
__________________
Всё будет хорошо!
|