Witam, napisałem takiego cURL ale cały czas mnie banują tzn wykrywają to jako automatyczne co można z tym zrobić kod:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://yandex.ru/yandsearch?text=programowanie');
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file);
curl_setopt($ch, CURLOPT_COOKIE, $cookie_file);
curl_setopt($ch, CURLOPT_REFERER, 'http://www.yandex.ru');
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$wynik = curl_exec($ch);
curl_close($ch);
Proszę bardzo o pomoc co źle robię :)