Re: Auth_User

From: Date: Sun, 20 Jun 2004 16:57:03 +0000
Subject: Re: Auth_User
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188697@lists.php.net to get a copy of this message
This var means something else when you write the following code: Header("WWW-Authenticate: Basic realm=\"Enter username and password\""); Header("HTTP/1.0 401 Unauthorized"); Your browser will produce a popup requesting a username an password This it what you get returned when using $_SERVER['AUTH_USER'] "Gabor NiederläNder" <gabor.niederlaender@wu-wien.ac.at> wrote in message news:20040620111141.22566.qmail@pb1.pair.com... > Hi! > > I have installed a Apache Server (+php) in a Windows NT network. I > would like to identify the Windows NT user visiting my php pages. > When I was using IIS, I think it was quite easy to find it out through > the $_SERVER['AUTH_USER'] variable. But it doesn't seem to work with > apache. Is there another way? > > Cheers, > Gabor

« previous php.general (#188697) next »