All right, this is my last post on this issue. This will work:
$addr = '172.17.141.1';#Can be any IP address
$ip = inet_aton($addr);#Still the key to success
$client = gethostbyaddr($ip, AF_INET); # get client name
if ($client){print $addr, " : ", $client, "\n";}#For giggles...