Re: Obtain NT Logon

From: Date: Sun, 04 Jul 2004 00:24:17 +0000
Subject: Re: Obtain NT Logon
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189652@lists.php.net to get a copy of this message
Hello, On 07/03/2004 08:27 PM, Martin Wilmore wrote:
I have a web form with a field for username, this is a corporate site so will be the users NT logon. Would it be possible using PHP to obtain this information directly from the client pc?
Assuming that you Web server is configured to require Windows NT domain authentication for serving that PHP script, I suppose you can get the user with GetEnv("LOGON_USER") . -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html

« previous php.general (#189652) next »