blob: 1537d03c8ade8057b47ef168f2a24228fb2627c2 [file] [log] [blame]
<?php
header("Cache-Control: no-store");
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header("WWW-authenticate: Basic realm=\"" . $_SERVER['REQUEST_URI'] . "\"");
header('HTTP/1.0 401 Unauthorized');
exit;
}
?>
Authenticated as user: <?php print (string)$_SERVER['PHP_AUTH_USER']?> password: <?php print (string)$_SERVER['PHP_AUTH_PW']?>