RE: [PHP-WIN] Is it possible to get a hostname?
| From: | Shrock, Court | Date: | Wed, 03 Jul 2002 17:28:42 +0000 |
| Subject: | RE: [PHP-WIN] Is it possible to get a hostname? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14554@lists.php.net to get a copy of this message | ||
Try gethostbyaddr()
http://www.php.net/manual/en/function.gethostbyaddr.php
> -----Original Message-----
> From: R.S. Herhuth [mailto:ronherhuth@pop.mindspring.com]
> Sent: Wednesday, July 03, 2002 8:01 AM
> To: php-windows@lists.php.net
> 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
>