PHP 7.0.33 Released


Please answer this simple SPAM challenge: max(one, five)?
(Example: nine)

The Note You're Voting On

cyberscribe at php dot net
12 years ago
To implement the Digest authentication mentioned above in PHP < 5.1, try prepending the following:

= apache_request_headers();
$_SERVER['PHP_AUTH_DIGEST'] = $headers['Authorization'];

or, if you don't like the idea of modifying the global $_SERVER variable directly, just use the first line and then substitute $_SERVER['PHP_AUTH_DIGEST'] in the sample code with $headers['Authorization']. Works great.

<< Back to user notes page

To Top