$lib_whois = new whois();
$domain = "demo.com";
$whois_server = $lib_whois->get_whois_server($domain);
echo "Whois server registry is ".$whois_server;
$whois_domain = $lib_whois->get_info_domain($domain,$whois_server);
echo "whois info domain <pre>".print_r($whois_domain,true)."</pre>";
|