<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>