summaryrefslogblamecommitdiffhomepage
path: root/test/php/auth/index.php
blob: d77076d87a091858b8cd0c2f1d50fc6e58bb601b (plain) (tree)
1
2
3
4
5
6
7






                                                                                                      
<?php

header('X-Digest: ' . (isset($_SERVER['PHP_AUTH_DIGEST']) ? $_SERVER['PHP_AUTH_DIGEST'] : 'not set'));
header('X-User: ' . (isset($_SERVER['PHP_AUTH_USER']) ? $_SERVER['PHP_AUTH_USER'] : 'not set'));
header('X-Password: ' . (isset($_SERVER['PHP_AUTH_PW']) ? $_SERVER['PHP_AUTH_PW'] : 'not set'));

?>