How to get the HTTP authenticated user name?
| From: | Georgios Kasapoglou | Date: | Wed, 16 Apr 2008 09:37:24 +0000 |
| Subject: | How to get the HTTP authenticated user name? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-273031@lists.php.net to get a copy of this message | ||
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