$network = new COM("WScript.Network"); $computername = $network->ComputerName; $username = $network->UserName;
Password can't be grabbed for fairly obvious reasons. "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all > I want to prevent user to make another login before they can browse the > Intranet, so is there anyway that php can grep the username from the windows > Login or Domain Login? > Which means if a user can login to the Windows NT, then he/she will have the > right to browse the Intranet! > > Thx a lot > Jack > [EMAIL PROTECTED] > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php