Re: .htaccess username
| From: | Pavel Jartsev | Date: | Thu, 16 Aug 2001 07:48:36 +0000 |
| Subject: | Re: .htaccess username | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62987@lists.php.net to get a copy of this message | ||
Tribun wrote:
>
> ...hmmm, I would guess there is a way, but I dont know why...
>
> Can I read out the active username, which has just logged in through a
> .htaccess authentication???
>
> Like the access data..
> user: patrick
> pass: linux
>
> can PHP reads out the usersname "patrick" ??
>
> (and if ,... how? ;)
>
$PHP_AUTH_USER and $PHP_AUTH_PW.
--
Pavel a.k.a. Papi