"; } if(isset($_POST['addr'])){ $addr = $_POST['addr']; $ip_result = gethostbyname($addr); echo $addr." has IP ".$ip_result."

"; } ?>
IP Address to check:
Hostname to check: