are you guys wanting one that just alerts you if it is ready to be regged or one that auto regs?
here is one that you can set to cron on your server daily and it will email you if it is ready
Code:
<?php
$domain_to_check = "DomainHere.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://whois.domaintools.com/'.$domain_to_check);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$buffer = curl_exec($ch);
if(strstr($buffer, "This domain name is not registered")) {
echo "The domain is available";
mail("your email here", "Your domain: ".$domain_to_check." is available" ");
} else {
}
?>
gfy coders feel free to pick this apart and make it better