Re: Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cebesius@xxxxxxxxxxxx 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@xxxxxxxxx>
To: "php-general" <php-general@xxxxxxxxxxxxx>
Sent: Friday, July 27, 2007 1:51:51 PM (GMT-0500) America/New_York
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux