Re: How to get the HTTP authenticated user name?

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

 



Ok,
$_SERVER["REMOTE_USER"] is the answer.

Thanks anyway.
Georgios

Georgios Kasapoglou wrote:
Hi all,
I'm new to the list.
I'm running on Apache 2 and I want to use the mod_auth_basic module, which authenticates the user.
But I need the username to use it in my php script. How can I?
Is there any php command or variable that keeps this info?
I searched my browser whether a cookie is created, but unfortunately there isn't

Regards,
Georgios



--
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