PHP/Network/Domain Name

Материал из Web эксперт
Перейти к: навигация, поиск

Is domain name taken

   <source lang="html4strict">

<?php

  $recordexists = checkdnsrr("www.wbex.ru", "ANY");
  if ($recordexists) 
     echo "The domain name has been taken. Sorry!";
  else 
     echo "The domain name is available!";

?>

      </source>