note 8235 modified in gethostbyaddr by ronabop
| From: | ronabop@php.net | Date: | Fri, 01 Sep 2000 03:32:25 +0000 |
| Subject: | note 8235 modified in gethostbyaddr by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3857@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