Re: Problems with authenticating
| From: | Aaron Abelard | Date: | Mon, 28 Aug 2000 19:10:17 +0000 |
| Subject: | Re: Problems with authenticating | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13987@lists.php.net to get a copy of this message | ||
Quoting Christopher Ditty (CDitty@email.usps.gov):
>
> If you use Http authentication, is there any way to get the user id
> from it? ie.....user is signed in and a few pages later, I grab the
> http auth for the user name to greet them. Possible??
>
Yes, $REMOTE_USER or $HTTP_REMOTE_USER, i don't remember exactly. Set
a file with <? phpinfo(); ?> inside a directory with a working .htaccess
and take a look at the variables you have available.
A.