Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

check if domain name is taken by php

Tue Oct 28, 2008 2:18 pm

Code:

<?php
   $recordexists
= checkdnsrr("www.codemiles.com", "ANY");
   if (
$recordexists)
      echo
"The domain name has been taken. Sorry!";
   else
      echo
"The domain name is available!";
?>




Post a reply
  Related Posts  to : check if domain name is taken by php
 Domain name registrar     -  
 Domain name transfer     -  
 validate domain name in php     -  
 how to create a sub domain?     -  
 How Can I Avoid Domain Renewal Problems?     -  
 how to implement Dynamic DDS (Domain Name System)     -  
 Selecting a Domain Name at the Time of Registration     -  
 check if number is odd or even     -  
 Check DNS error     -  
 check array contains a value using javascript     -  

Topic Tags

PHP Networking