| Lathrop Preston on Tue, 23 Dec 2003 15:51:03 -0600 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: [ciapug] htaccess |
What is the differance? I tried the $_SERVER[PHP_AUTH_USER] and it worked.
On Tue, 2003-12-23 at 15:28, Lathrop Preston wrote:
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@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug
_______________________________________________ ciapug mailing list ciapug@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug
_______________________________________________ ciapug mailing list ciapug@xxxxxxxxxx http://cialug.org/mailman/listinfo/ciapug