Quite right - thanks for the correction Paul! :)

--zak



----- Original Message -----
From: "Paul Burney" <[EMAIL PROTECTED]>
To: "olinux" <[EMAIL PROTECTED]>; "PHP-DB" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 11:07 PM
Subject: Re: [PHP-DB] extracting login name


> 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.



-- 
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