note 8235 added to gethostbyaddr
| From: | koaps at 2nutz dot com | Date: | Thu, 31 Aug 2000 23:21:47 +0000 |
| Subject: | note 8235 added to gethostbyaddr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3829@lists.php.net to get a copy of this message | ||
Here's a REALLY Simple use of this bad boy
<HTML>
<BODY>
<?php
$name = gethostbyaddr($ip);
print ("$ip is $name\n");
?>
</BODY>
</HEAD>
This will do a reverse lookup of an ip, and tell you the results.....
L8rs
KoAps
http://www.php.net/manual/function.gethostbyaddr.php