Article subject: check if domain name is taken by php
Posted: Tue Oct 28, 2008 2:18 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
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!"; ?>
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )