2 header("Cache-Control: no-store");
3 header("Connection: close");
4 if (!isset($_SERVER['PHP_AUTH_USER'])) {
5 header("WWW-authenticate: Basic realm=\"" . $_SERVER['REQUEST_URI'] . "\"");
6 header('HTTP/1.0 401 Unauthorized');
10 Authenticated
as user
: <?php
print (string)$_SERVER['PHP_AUTH_USER']?
> password
: <?php
print (string)$_SERVER['PHP_AUTH_PW']?
>