Coding Simplified.
Home - PHP- Host Name Lookup
This Script will allow you to lookup a Host Name given an ip address.
/* FluidCoding - Get HostName From Ip Author: Brian Sonnie */ <?php $ip=$_GET["ip"]; $hostName = "Unknown"; if(strlen($ip) > 0) { $hostName = gethostbyaddr($ip); } $echo $hostName; ?>