Mega Code Archive

 
Categories / Php / Network
 

Is domain name taken

<?php    $recordexists = checkdnsrr("www.rntsoft.com", "ANY");    if ($recordexists)        echo "The domain name has been taken. Sorry!";    else        echo "The domain name is available!"; ?>