Forum PHP 2017


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

The Note You're Voting On

ian AT iyates DOT co DOR uk
13 years ago
In my use of HTTP Authentication, I've found that some Apache setups swap around the usual variables.
Here's the fix I made so that you can still use PHP_AUTH_USER and PHP_AUTH_PW. Hope it helps someone

## Apache server fix ##
if (isset($_SERVER['PHP_AUTH_USER']) && !isset($_ENV['REMOTE_USER']))
if (isset(

<< Back to user notes page

To Top