| Author |
username .htaccess
|
|
|
| Hello,
i've a secured directory. How can you determine the username in PHP?
Reno
| |
| James Pittman 2005-04-14, 3:55 pm |
| Reno wrote:
> i've a secured directory. How can you determine the username in PHP?
>
I believe it's one of the environment variables. Do a var_dump($_SERVER) .
Jamie
| |
| Library Curator 2005-04-17, 3:57 am |
| With Apache, the name of an authenticated user is stored in an
enviroment variable which you can get with PHP. I want to say it is
REMOTE_USER but I could be wrong.
| |
| James Pittman 2005-04-17, 8:56 am |
| Reno wrote:
> i've a secured directory. How can you determine the username in PHP?
>
I believe it's one of the environment variables. Do a var_dump($_SERVER) .
Jamie
| |
| Library Curator 2005-04-23, 3:56 am |
| With Apache, the name of an authenticated user is stored in an
enviroment variable which you can get with PHP. I want to say it is
REMOTE_USER but I could be wrong.
| |
| Bender Rodriguez 2005-04-23, 3:55 pm |
| On Thu, 14 Apr 2005 17:57:10 +0300, Reno <InSeCo@news.news> wrote:
> Hello,
>
> i've a secured directory. How can you determine the username in PHP?
>
>
> Reno
>
>
Maybe this will help
http://www.php.net/features.http-auth
--
"Two things are infinite: the universe and human stupidity; and I'm not
sure about the first one." - Albert Einstein
| |
| Bender Rodriguez 2005-04-25, 3:56 pm |
| On Thu, 14 Apr 2005 17:57:10 +0300, Reno <InSeCo@news.news> wrote:
> Hello,
>
> i've a secured directory. How can you determine the username in PHP?
>
>
> Reno
>
>
Maybe this will help
http://www.php.net/features.http-auth
--
"Two things are infinite: the universe and human stupidity; and I'm not
sure about the first one." - Albert Einstein
|
|
|
|