0) { $target=$_GET["domain"]; $whois=new whois(); $whois->zonelookup($target); if($whois->ERROR==0) { if(is_array($whois->RAWINFO) && count($whois->RAWINFO)>7 && $whois->FOUND==1) { echo("

".$target."
IP: ".$whois->IP."

");
   foreach($whois->RAWINFO AS $str)
   {
    echo($str."\n");
   }
   echo("
"); echo("

DNS INFO:

");
   foreach($whois->DNSINFO AS $str)
   {
    echo($str."\n");
   }
   echo("
"); }else { echo("

".$target." Free

"); } }else { echo("

Requirest is fail

"); } } ?>