Re: Authentication
| From: | Jim Lucas | Date: | Fri, 27 Jul 2007 18:37:49 +0000 |
| Subject: | Re: Authentication | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259686@lists.php.net to get a copy of this message | ||
cebesius@cebesius.com 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" <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, DanThis 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