Hello Luis, Tuesday, March 16, 2004, 1:41:49 AM, you wrote:
LM> i checked LM> http://sk2.php.net/manual/en/features.http-auth.php, but it doesnt LM> shows how to see if i passed user:pass in the url. i try LM> http://user:[EMAIL PROTECTED]/ and dumped globals, and there is nothing... any LM> ideas? If you are running PHP as an Apache module (and not CGI) then a correctly validated user will have their details in: $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] There is a whole chapter on this (16) in the manual. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php