XmD adlı üyeden alıntı: mesajı görüntüle
Dosyanın yedeğini alıp aşağıdaki şekilde değiştirip denermisin.


function baglanpop( $url )
{
    $oturum = curl_init( );
    curl_setopt( $oturum, CURLOPT_URL, $url );
    $h4 = $_SERVER['HTTP_USER_AGENT'];
    curl_setopt( $oturum, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Trans/20041002 Firefox/0.10");
    curl_setopt ($oturum, CURLOPT_REFERER, "http://bicaps.com");
    curl_setopt( $oturum, CURLOPT_HEADER, 0 );
    curl_setopt( $oturum, CURLOPT_RETURNTRANSFER, 1 );
    curl_setopt( $oturum, CURLOPT_TIMEOUT, 30 );
    $source = curl_exec( $oturum );
    curl_close( $oturum );
    return $source;
}

function baglan( $url )
{
    $ch = curl_init( );
    curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, FALSE );
    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, TRUE );
    curl_setopt( $ch, CURLOPT_COOKIESESSION, TRUE );
    curl_setopt( $ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Trans/20041002 Firefox/0.10");
    curl_setopt ($ch, CURLOPT_REFERER, "http://bicaps.com");
    curl_setopt( $ch, CURLOPT_HEADER, 0 );
    curl_setopt( $ch, CURLOPT_COOKIEFILE, "dosya.txt" );
    curl_setopt( $ch, CURLOPT_COOKIEJAR, "dosya.txt" );
    curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1 );
    curl_setopt( $ch, CURLOPT_URL, $url );
    $result1 = curl_exec( $ch );
    $result1 = str_replace( " ", " ", $result1 );
    $result1 = str_replace( "…", "...", $result1 );
    $result1 = str_replace( "’", "'", $result1 );
    $result1 = str_replace( "–", "-", $result1 );
    return $result1;
}
function getir($url, $ref = NULL){ 
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Trans/20041002 Firefox/0.10");
    curl_setopt($ch, CURLOPT_REFERER, "http://bicaps.com");
    curl_setopt($ch, CURLOPT_USERAGENT,$useragent ); 
    $x = curl_exec($ch);
    curl_close($ch); 
    return $x;
}
yok hocam hiç biri çalışmadı localhosta deniyorum calısıyor hostta hiç biri çalışmıyor

--R10.NET; Flood Engellendi -->-> Yeni yazılan 19-07-2013 mesaj 00:03:40 -->-> Daha önceki 18-07-2013 mesaj 23:58:40 --

madly0011 adlı üyeden alıntı: mesajı görüntüle
curl_setopt( $oturum, CURLOPT_TIMEOUT, 30 );

30 u 300 yap bakalım site tarayıcıda bile yavaş açılıyor.

kodlarında bir sorun yok. geriye tek bir seçenek kalıyor... başka bir site botu yükle oda çalışmazsa hostun sayfa indirmeyi engellemiş olabilir. şu an aklıma gelenler bunlar... tabi sorun sadece sayfa indirmekteyse
hocam sitede film.dizigo.com botu var yazdıgım o sorun yok tıklamamla veriyi çekmesi bir oluyor.birden çok sefer for dongusu ile donduruyorum vk dosyasını bulmak için belki bundan kasıyor diye tek bir kod öbeği donduruyorum yine çekmiyor.site nasıl bir önlem almış anlamadım