Code block:
$pathMain = WWW_ROOT."..\\libs\\phpwhois\\whois.main.php";
$pathUtils = WWW_ROOT."..\\libs\\phpwhois\\whois.utils.php";
if(file_exists($pathMain) && file_exists($pathUtils)) {
include_once($pathMain);
include_once($pathUtils);
$whois = new Whois();
$whois->non_icann = true;
$result = $whois->Lookup("yourcause22.com");
print_r($result);
}
Download WHOIS from:
http://www.phpwhois.org/
http://sourceforge.net/projects/phpwhois/?source=dlp
$pathMain = WWW_ROOT."..\\libs\\phpwhois\\whois.main.php";
$pathUtils = WWW_ROOT."..\\libs\\phpwhois\\whois.utils.php";
if(file_exists($pathMain) && file_exists($pathUtils)) {
include_once($pathMain);
include_once($pathUtils);
$whois = new Whois();
$whois->non_icann = true;
$result = $whois->Lookup("yourcause22.com");
print_r($result);
}
Download WHOIS from:
http://www.phpwhois.org/
http://sourceforge.net/projects/phpwhois/?source=dlp