[ciapug] htaccess
Lathrop Preston
ciapug@cialug.org
Tue, 23 Dec 2003 15:28:08 -0600
You can use
$_SERVER['REMOTE_USER'];
instead.
there seems to be some confusion as to the functional difference between
the two (if any)
Dave J. Hala Jr. wrote:
> Thanks.
>
> On Tue, 2003-12-23 at 11:54, Barry Von Ahsen wrote:
>
>>Dave J. Hala Jr. wrote:
>>
>>
>>>I've got a folder that is password protected by an .htaccess file. From
>>>my php script I need to find out what the username they typed in was.
>>>
>>>Is the username from the apache login stored an as envirnoment variable
>>>somewhere?
>>>
>>>
>>>:) Dave
>>
>>$_SERVER['PHP_AUTH_USER']
>>
>>-barry
>>_______________________________________________
>>ciapug mailing list
>>ciapug@cialug.org
>>http://cialug.org/mailman/listinfo/ciapug