I have a small question about a domain availability function.. I'm inneed of an accurate function that returns a "1" if the checked domain is registered. At the moment im using this :
Code: Select all
function iswebexist($url)
{
$url = strtolower($url);
$d = gethostbyname($url);
if ($d!=$url) {return(1);}
}
?>
Thanks in advance.