Re: [PHP] How to get the HTTP authenticated user name?

2008-04-16 Thread Georgios Kasapoglou
Thanks Daniel, I found it in $_SERVER["REMOTE_USER"] but $_SERVER["PHP_AUTH_USER"] (which you propose) gives me the same information. Regards, Georgios Daniel Brown wrote: On Wed, Apr 16, 2008 at 5:37 AM, Georgios Kasapoglou <[EMAIL PROTECTED]> wrote: Hi all,

[PHP] Re: How to get the HTTP authenticated user name?

2008-04-16 Thread Georgios Kasapoglou
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 s

[PHP] How to get the HTTP authenticated user name?

2008-04-16 Thread Georgios Kasapoglou
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 crea