Sorry, i meant PHP_AUTH_* ,
And Unfortunately they don’t seem to work with php as cgi:
When running under Apache or IIS (ISAPI on PHP 5) as module doing HTTP authentication this variable is set to the username provided by the user.
(taken from php website)
Also, from my own script, when using php as a cgi, they were both empty, but after i switched it across to being an apache module, they worked once more.
So does anyone know of another way of accessing HTTP Authentication values using php as a cgi?