Pavel Jartsev wrote:
> 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.
>
>
It's also possible to use $REMOTE_USER. I don't know of any
$REMOTE_PASS, so the suggestion above it good ;)
--
Stig-Ørjan Smelror
Systemutvikler
Linux Communications AS
Sandakerveien 48b
Box 1801 - Vika
N-0123 Oslo, Norway
tel. +47 22 09 28 80
fax. +47 22 09 28 81
http://www.lincom.no/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]