Re: PHP retrieve Client machine name
| From: | Manuel Lemos | Date: | Thu, 17 Nov 2005 23:35:00 +0000 |
| Subject: | Re: PHP retrieve Client machine name | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26514@lists.php.net to get a copy of this message | ||
Hello,
on 11/17/2005 02:42 PM Alf Stockton said the following:
In a PHP 5.0 program running under Windows 2000 with Apache 2 I need to retrieve either the client machine name or the client machine IP. Is this possible ?Just enable Windows NTLM authentication in the PHP pages and use PHP call GetEnv("LOGON_USER"); . -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/