Eventually the apache module mod_ntlm (http://modntlm.sourceforge.net/) could help... don't know if it really works but it looks very interesting.
cheers Marcel > If you are using IIS with PHP as an ISAPI-module, it is possible to find out > the NT-User through $_SERVER['AUTH_USER']. > Apparently it is not so easy on Apache. > Does anyone know a solution? > > Gabor > > > "Gerben" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EMAIL PROTECTED] > > 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" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php