Checkdnsrr () işlevi kullanılabilirliği (in) alanı kurmak için yeterince iyi mi?

0 Cevap php

Ben etki durumunu kontrol etmek için basit bir komut dosyası oluşturmak istiyorum. Biri bana kullanıcı kayıt olmadan önce etki alanı durumunu kontrol etmek için yeterli bu işlevi söyleyebilirim:

<?php
$recordexists = checkdnsrr("www.google.com", "ANY");

if ($recordexists)  
    echo "The domain name has been taken. Sorry!";
else 
    echo "The domain name is available!";

?>

ya da ben gibi diğer bazı whois script ile gitmeli http://www.mrscripts.co.uk/index.php?op=lite

0 Cevap