Re: reverse lookup/domain lookup in PHP
| From: | CPT John W. Holmes | Date: | Thu, 11 Sep 2003 13:12:14 +0000 |
| Subject: | Re: reverse lookup/domain lookup in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162274@lists.php.net to get a copy of this message | ||
From: "Tim Baker" <Tim.Baker@paconsulting.com>
> Is it possible to reverse lookup (like here
> http://www.whatismyipaddress.com/reverse.asp) to
> find the domain with PHP? I assume a DNS lookup
> requires an external server somewhere?
That's be great if there was a PHP function to do this, something like
gethostbyaddr(), wouldn't it?
;)
http://us2.php.net/manual/en/function.gethostbyaddr.php
It's expensive, though...
---John Holmes...