Tag: digest
HTTP Digest Authentication with PHP
June 25, 2007
The code for using HTTP Digest Authentication with PHP. <?php realm = ‘Restricted area’; if (empty(_SERVER[‘PHP_AUTH_DIGEST’])) { header(‘HTTP/1.1 401 Unauthorized’);…
Recent Comments