error_reporting(E_ALL);
set_time_limit(0);
$header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,";
$header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
$header[] = "Cache-Control: max-age=0";
$header[] = "Connection: keep-alive";
$header[] = "Keep-Alive: 300";
$header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$header[] = "Accept-Language: en-us,en;q=0.5";
$header[] = "Pragma: ";
$header[] = "X-Generate-Time:";
$header[] = "Content-Type: application/x-www-form-urlencoded";


$a[0] = "Host: www.2pagerank.com";
$a[0] .= "User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:23.0) Gecko/20100101 Firefox/23.0";
$a[] = "Accept: application/json, text/javascript, */*; q=0.01";
$a[] = "Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3";
$a[] = "Accept-Encoding: gzip, deflate";
$a[] = "Content-Type: application/x-www-form-urlencoded; charset=UTF-8";
$a[] = "X-Requested-With: XMLHttpRequest";
$a[] = "Referer: http://www.2pagerank.com/process.php?q=kraloyun.com&t=domain";
$a[] = "Content-Length: 63";
$a[] = "Cookie: PHPSESSID=i5m76figkjmdi4aif7u0gibae0; __utma=100147869.2116904195.1395529802.1395529802.1395529802.1; __utmb=100147869.7.10.1395529802; __utmc=100147869; __utmz=100147869.1395529802.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __atuvc=6%7C13";
$a[] = "Connection: keep-alive";
$a[] = "Pragma: no-cache";
$a[] = "Cache-Control: no-cache";

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL,'http://www.2pagerank.com/process.php?q=tokoyun.com&t=domain');
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER,0);
curl_setopt($curl, CURLOPT_FRESH_CONNECT,true);
curl_setopt($curl, CURLOPT_COOKIESESSION, true);
curl_setopt($curl, CURLOPT_COOKIEJAR,dirname(__FILE__).'/kuki.txt');
curl_setopt($curl, CURLOPT_COOKIEFILE,dirname(__FILE__).'/kuki.txt');
curl_setopt($curl, 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($curl, CURLOPT_REFERER, 'http://www.2pagerank.com/website-stats/tokoyun.com');
curl_setopt($curl, CURLOPT_VERBOSE,true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS,'process_type=update');

$veri = curl_exec($curl);


curl_setopt($curl, CURLOPT_URL,'http://www.2pagerank.com/ajax/process.php');
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS,'domain=tokoyun.com&is_sub_domain=&type=update&step=meta');
curl_setopt($curl, CURLOPT_HTTPHEADER, $a);
curl_setopt($curl, CURLOPT_COOKIESESSION, true);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER,0);
curl_setopt($curl, CURLOPT_COOKIEJAR,dirname(__FILE__).'/kuki.txt');
curl_setopt($curl, CURLOPT_COOKIEFILE,dirname(__FILE__).'/kuki.txt');

$veri = curl_exec($curl);

Böyle adım adım gidiceksin hocam.

Bunu localinde çalıştırdığın zaman

Alıntı
Oh! A New Domain Name?


Supplied Domain Name is detected as a New on Our Database.
Please Wait while we gather information on it.
For your information, it may take upto 60 Seconds.
Buda işlemin başarılı olduğunu gösteriyor. Fakat sürekli aynı domaini post ettiğin zaman işlem yapmaz.