[EMAIL PROTECTED] wrote:
Maybe this: $_SERVER['PHP_AUTH_USER']
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server
Regards,
Carlton Whitehead
----- Original Message -----
From: "Dan Shirah" <[EMAIL PROTECTED]>
To: "php-general" <php-general@lists.php.net>
Sent: Friday, July 27, 2007 1:51:51 PM (GMT-0500) America/New_York
Subject: [PHP] Authentication
All,
I looked on PHP.net but I couldn't not find anything suitable to answer my
question.
Within PHP, is there a way to pull the name of the user that is currently
logged into the PC?
I know with some of the _SERVER functions you can pull the IP of the machine
and other data, is there a function within this family that would work?
Thanks,
Dan
This is used for http authenticated user. not local system user
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php