Get IP address
<?php $ip = "204.71.200.75"; $host = "www.yahoo.com"; $verify_ip = gethostbyaddr($ip); $verify_name = gethostbyname($host); echo "$ip resolves to $verify_ip<br>"; echo "$host resolves to $verify_name<br>"; ?>