is_available()){ echo "

Domain is available

"; }else{ echo "

Domain is not Available

"; } //echo $domain->info()."
"; // Printing out whois data in HTML format // echo $domain->html_info()."

"; // Checking if domain is available // if($domain->is_available()){ // echo "

Domain is available

"; // }else{ // echo "

Domain is not Available

"; //} echo $domain->html_info()."

"; // Printing out whois host of domain echo "Whois Server: ".$domain->get_whois_server()."
"; // Printing out name of domain without tld echo "Domain: ".$domain->get_domain()."
"; // Printing out tld name of domain echo "Tld: ".$domain->get_tld()."
"; // Checking if domain name is valid if($domain->is_valid()){ echo "Domain name is valid!
"; }else{ echo "Domain name isn't valid!
"; } // Getting all suppoerted TLD's echo "

The following top level domains have been searched:


"; $tlds=$domain->get_tlds(); for($i=0;$i"; } ?>