Re: Re: PHP retrieve Client machine name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I Think the corret answer to this question is $REMOTE_ADDR or
$_SERVER['REMOTE_ADDR']. This will return the IP address of the client
that connects.

- Frank

> 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/
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux