|
|
От: |
Specht
|
http://askthecloudguy.com |
| Дата: | 17.04.02 07:37 | ||
| Оценка: | |||
<?
if(!isset($PHP_AUTH_USER)) {
header("WWW-Authenticate: Basic realm=\"Restricted area\"");
header("HTTP/1.0 401 Unauthorized");
echo "<h2>You must enter login and password</h2>\n";
exit;
}
?>