Mega Code Archive

 
Categories / Php / Code Snippets
 

Gets the Internet host name corresponding to a given IP address

<?php $ip = gethostbyaddr($REMOTE_ADDR); echo $ip; ?>