RE: [PHP] Automatic user login under NT

From: Date: Wed, 12 Jun 2002 23:38:51 +0000
Subject: RE: [PHP] Automatic user login under NT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101834@lists.php.net to get a copy of this message
It is $_SERVER["LOGON_USER"]. You have to enable Integrated Windows Authentication under Directory Security in IIS> ---John Holmes... > -----Original Message----- > From: Barajas, Arturo [mailto:abarajas@ppg.com] > Sent: Wednesday, June 12, 2002 12:43 PM > To: 'php-general@lists.php.net' > Subject: [PHP] Automatic user login under NT > > Greetings, everyone. > > I'm new on the list (not so on PHP). > > I'm stuck with a little problem, I'm trying to implement some PHP pages at > work, where ASP is used. The platform is NT 4.0 SP6, with PHP 4.2.1. > > My problem is that with ASP I can have something like > Request.ServerVariables("LOGON_USER"). I've tried using > $_SERVER["LOGON_USER"] but to no avail. Curiously, > Request.ServerVariables("REMOTE_ADDR") and $_SERVER["REMOTE_ADDR"] work > like a charm. > > How can I obtain the login the user entered when logged to his/her > machine? > > Thanks in advance. > -- > Un gran saludo/Big regards... > Arturo Barajas > Sistemas PPG SJR > +52 (427) 271-9100, ext. 448 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#101834) next »