Hello guys,
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 :
function iswebexist($url)
{
$url = strtolower($url);
$d = gethostbyname($url);
if ($d!=$url) {return(1);}
}
?>
It works, but the problem is its only checking if the hostname is alive, not if its registered. Does anyone have ideas how to modify this function so that i can see results from domains that really are registered?
Thanks in advance.