[ciapug] htaccess
Dave J. Hala Jr.
ciapug@cialug.org
23 Dec 2003 15:37:44 -0600
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@cialug.org
> >>http://cialug.org/mailman/listinfo/ciapug
>
> _______________________________________________
> ciapug mailing list
> ciapug@cialug.org
> http://cialug.org/mailman/listinfo/ciapug
--
"...Unix, MS-DOS and Windows NT (also known as the Good, the Bad, and the Ugly)"
OSIS
Dave J. Hala Jr.
641.485.1606