Re: WinNT Logons as a $var

From: Date: Thu, 12 Apr 2001 04:37:31 +0000
Subject: Re: WinNT Logons as a $var
Groups: php.windows 
Request: Send a blank email to php-windows+get-6661@lists.php.net to get a copy of this message
Hello, I run windows 2k for my web server with iis 5, I tested a script for someone on this issue and $AUTH_USEr worked fine, as long as you set the directory or page as password protected (requiring windows logon). Hope this helps ~Jeff In a message dated 4/11/2001 1:43:37 PM Eastern Daylight Time, darrenls21@yahoo.com writes: > > "Paul Wieland" <Paul.Wieland@us.atlascopco.com> wrote in message > news:OFA8BE88AF.3128835D-ON85256A2B.003FE66D@atlascopco.net... > > I'm using PHP to build our companies Intranet. I am able to setup > > permissions to certain areas of the website by specifiying permissions to > > the corresponding folders. In some areas, I need to keep track of who > makes > > what changes where. In order to do this, the person needs to login. > > Ideally, it would be best to just use their NT logon. > > It would be extrememly helpful to me if I could get a users NT Logon as a > > variable in php [maybe as an environment variable?]. I read something > > somewhere about REMOTE_USER in asp [gag]. Is it possible to get the logon > > with PHP? > > > > Thanks in advance. > > -Paul Wieland > > you need to trace server side variables such as $REMOTE_ADDR which brings up > the IP address of the connector and REMOTE_HOST which stores the computer > name, there are others like $AUTH_USER and $LOGIN_USER but i haven't > tried the last two as i don't run NT > > I hope this helps > > Darren >

« previous php.windows (#6661) next »