If you are running from IIS, you can switch off anonymous access (found in Directory Security) and then access $_SERVER['AUTH_USER']. If you are using Apache, I wouldn't have a clue... HTH, Mikey > -----Original Message----- > From: Chen, Mao [mailto:mchen@ligand.com] > Sent: 13 August 2003 23:25 > To: php-windows@lists.php.net > Subject: [PHP-WIN] using PHP to find out windows user name? > > > Hi Everyone, > > > > I'm just wondering whether we can use PHP to find out the name of user > who is currently logging on to local Windows computer and accessing a > particular .php web page. > > > > Thanks in advance. > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php