--- Mike <[EMAIL PROTECTED]> wrote:
> Is there anyway to get the HTTP Server Username (something like
> $_SERVER['username']) I tried printing all the variables defined in a
> page (and looking at a phpinfo.php) and wasn't able to figure it out...

--- Don Read <[EMAIL PROTECTED]> wrote:
> $_SERVER['PHP_AUTH_USER'];

Mike,
I see it in phpinfo(). Search for "User/Group". I'm on Apache.

Don, read this:
http://www.php.net/manual/en/features.http-auth.php

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to