Whatever they put in the name field of the .htaccess prompt is stored in
$PHP_AUTH_USER
and what they put in the password field is stored in
$PHP_AUTH_PW
You can read more about this here
http://www.php.net/manual/en/features.http-auth.php
Sheridan
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 9:33 AM
Subject: [PHP] .htaccess
>
> If I have a directory protected with an .htaccess file that requires users
to
> log in, is there anyway to determine what username they used in my PHP
scripts?
>
>
> --Jon
>
> --
> 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]
--
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]