PHP: vérifier si un nom de domaine est disponible

Author:


Download

<html>
<head>
<title>Disponibilité Nom de domaine</title>
</head>
<body>

<?php
   $domaine_existe = checkdnsrr("exemple.com", "ANY");
   if ($domaine_existe)
   {
   echo "désolé, ce nom de domaine est déjà prise";
   }
   else
   {
   echo "TCe nom de domaine est disponible";
   }
?>
</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *


eight + 5 =