• 21-03-2014, 20:32:14
    #10
    konuyla ilgili örnek bulabilirsek iyi olur
  • 21-03-2014, 20:41:38
    #11
    http://www.2pagerank.com/process.php?q=r10.net&t=domain
    şu url'e
    process_type=update şunu post etmeniz gerekiyor.

    <?php
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, 'http://www.2pagerank.com/process.php?q=r10.net&t=domain');  
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, 'process_type=update'); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    curl_setopt($ch, CURLOPT_REFERER, "http://www.2pagerank.com/website-stats/r10.net");
    $veri = curl_exec ($ch); 
    curl_close($ch);
    ?>
    şu işinizi görecektir saniyorum.
  • 21-03-2014, 21:58:29
    #12
    malesef olmadı
  • 22-03-2014, 03:34:01
    #13
    Kimlik doğrulama veya yönetimden onay bekliyor.
    @ahmetsadri; burda kimse hepsini yazıp vermez hocam, sizde biraz gayret gösterseniz fena olmaz di mi?
  • 22-03-2014, 14:49:01
    #14
    saintx adlı üyeden alıntı: mesajı görüntüle
    @ahmetsadri; burda kimse hepsini yazıp vermez hocam, sizde biraz gayret gösterseniz fena olmaz di mi?
    çok haklısınız ama acil lazım olduğu için çalışan bir örnek verebilecek olanlar vardır diye düşündüm.

    yoksa bende sevmem başkasının gölünden başkasının oltasıyla başkasının tuttuğu balığı yemeyi
  • 22-03-2014, 15:49:48
    #15
    sadece kaynak koduna bakip vermiştim kodu şimdi update e tikladim 10 kadar işlem yapiyormuş.

    http://www.2pagerank.com/ajax/process.php bu sayfaya post işlemleri yapiyor. yukarda verdiğim kodu değiştirerek işlemleri siz yapabilirsiniz.

    örnek post verileri

    domain=mynet.com&is_sub_domain=&type=update&step=meta
    domain=mynet.com&is_sub_domain=&type=update&step=host
    domain=mynet.com&is_sub_domain=&type=update&step=dns
    domain=mynet.com&is_sub_domain=&type=update&step=searchengine
    bunlari bulup curl ile post edeceksiniz.
  • 23-03-2014, 16:37:46
    #16
    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.
  • 14-05-2014, 18:39:31
    #17
    aLKaDraZ adlı üyeden alıntı: mesajı görüntüle
    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



    Buda işlemin başarılı olduğunu gösteriyor. Fakat sürekli aynı domaini post ettiğin zaman işlem yapmaz.
    çok teşekkürler yardımlarınız için