<?php $ip = "209.85.148.103"; $host = "www.google.com"; $ip_de_host = gethostbyaddr($ip); $host_de_ip = gethostbyname($host); echo "$ip correspond à :$ip_de_host<br/>"; echo "$host à l'adresse IP: $host_de_ip<br/>"; ?>
<?php $ip = "209.85.148.103"; $host = "www.google.com"; $ip_de_host = gethostbyaddr($ip); $host_de_ip = gethostbyname($host); echo "$ip correspond à :$ip_de_host<br/>"; echo "$host à l'adresse IP: $host_de_ip<br/>"; ?>