Try gethostbyaddr()

http://www.php.net/manual/en/function.gethostbyaddr.php

> -----Original Message-----
> From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, July 03, 2002 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Is it possible to get a hostname?
> 
> 
> 
> Is it possible to get the actual hostname of a users host 
> such as AOL or Mindspring by name?  I tried the get it by 
> using "gethostbyname" using the "remoteaddr" of the user but 
> all I get is the IP address, not the host name.
> 
> Ron
> 
> -- 
> 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

Reply via email to