on 4/26/01 12:45 AM, olinux at [EMAIL PROTECTED] wrote:

> I have a htpsswd protected directory and would like the client to only
> log on once.  Is there a way i can get their USERNAME so that i can pull
> the correct records from the db?

IIRC, $PHP_AUTH_USER and $PHP_AUTH_PW are only set if PHP is sending the
authentication.  If they don't work for you, you should be able to use the
environment variable $REMOTE_USER.


Paul Burney

PHP Database 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]

Reply via email to