PHP script for WHOIS Lookup on domain name or IP
This is a PHP script for performing WHOIS lookups on domain name or IP address . This PHP script is intended to lookup for domain registrant data for all top-level domains (both generic and country-code types are supported, 158 TLDs in total), and also for IP whois lookups. <?phpheader('Content-Type: application/json');/*************************************************************************Browse: whoise.php?domain=yourdomain.com*************************************************************************/$domain = $_GET['domain'];// For the full list of TLDs/Whois servers see http://www.iana.org/domains/root/db/ and http://www.whois365.com/en/listtld/$whoisservers = array( "ac" => "whois.nic.ac", // Ascension Island // ad - Andorra - no whois server assigned "ae" => "whois.nic.ae", // United Arab Emirates "aero"=>"whois.aero", "af" => "whois.nic.af", // Afghanistan "ag&qu