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, 
[EMAIL PROTECTED] writes:



> 
> "Paul Wieland" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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
> 


Reply via email to