Re: reverse DNS lookup with PHP
| From: | John W. Holmes | Date: | Sun, 15 Jun 2003 14:38:41 +0000 |
| Subject: | Re: reverse DNS lookup with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151581@lists.php.net to get a copy of this message | ||
Tim Thorburn wrote:
I'm setting up a simple tracking program for a website I'm working on. Currently it records a visitors IP address, but I would like to be able to do a DNS lookup of these IP addresses. Is this possible with PHP and if so, how is it done? I've been looking through Google, and the very few real results I've come across are large perl programs which make little to no sense to me.http://us2.php.net/manual/en/function.gethostbyaddr.php ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com