Re: Authentication
| From: | cebesius at cebesius dot com | Date: | Fri, 27 Jul 2007 17:55:10 +0000 |
| Subject: | Re: Authentication | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259685@lists.php.net to get a copy of this message | ||
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" <mrsquash2@gmail.com>
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