GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Expired domains, own script or 3rd party service? (https://gfy.com/showthread.php?t=1110977)

Naughty 05-30-2013 03:54 AM

Expired domains, own script or 3rd party service?
 
I'd like to use my own (bought) script and edit it to send results (cron) and be able to grab some domains we need.

I'm not expecting to get milliondollar domains this way, but just get a notice once names we might be able to use expire/get deleted.

bns666 05-30-2013 04:09 AM

domaintools, snapnames, namejet...

Naughty 05-30-2013 04:13 AM

Yeah i know most of them. I'm just in between creating one of those myself to be able to get extra features *I* want;-) or keep using those (which i will forget to do after a day or 6;-)).

georgeyw 05-30-2013 04:17 AM

am interested in this too - where are the names listed if anywhere?

Chris 05-30-2013 04:28 AM

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


All times are GMT -7. The time now is 02:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123