[PHP] HTTP Authorization

2001-07-13 Thread Tom Malone

Call me stupid, because this may be a stupid question, but I have searched
all over for the answer and cannot find it.

How can you get the username and password from HTTP_AUTH_USER or another
environment variable in PHP? I need to determine who is logging in so I can
connect to the correct database.

Thank you!
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] HTTP Authorization

2001-07-13 Thread Don Read


On 13-Jul-01 Tom Malone wrote:
 Call me stupid, because this may be a stupid question, but I have searched
 all over for the answer and cannot find it.
 
 How can you get the username and password from HTTP_AUTH_USER or another
 environment variable in PHP? I need to determine who is logging in so I can
 connect to the correct database.

 
http://localhost/phpmanual/language.variables.predefined.html
http://localhost/phpmanual/function.getenv.html
http://localhost/phpmanual/features.http-auth.html

Regards,
-- 
Don Read   [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]