Get IP address : IP Address : Network PHP Source Code


PHP Source Code » Network » IP Address »

 

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>";
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Network
» IP Address