0
我想創建一個簡單的腳本來檢查域的可用性。誰能告訴我,這是功能不夠檢查域可用性之前,用戶可以註冊:checkdnsrr()函數是否足以建立域(in)可用性?
<?php
$recordexists = checkdnsrr("www.google.com", "ANY");
if ($recordexists)
echo "The domain name has been taken. Sorry!";
else
echo "The domain name is available!";
?>
,或者我應該去與像http://www.mrscripts.co.uk/index.php?op=lite