Bel_kin
28.08.2009, 19:32
Я вот что начертал
<?
set_time_limit(0);
error_reporting(E_ERROR | E_PARSE);
$mail='1@yandex.ru'; //<<<<<Сюда почту
$pass='123'; //<<<<Сюда пароль
$id='222'; //<<<<<Сюда id
$cookie='remixmid='.$id.'; remixemail='.$mail.'; remixpass='.md5($pass).';remixlang=3';
for($i=0;$i<99999999999;$i) {
$qwe=$i++;
$link="http ://vkontakte.ru/matches.php?act=a_sent&to_id=".$qwe."&dec=1";
$res=connect($link, $cookie);
//print $result;
flush();
print $qwe."\n";
flush();
$ban=substr_count($res, "blank.php");
if ($ban==1){
$i=$qwe;
print "####### Ban\n";
sleep(1);
}
}
function connect($link, $cookie){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_GET, 1);
curl_setopt($ch, CURLOPT_HEADER, 1); // Результат будет содержать заголовки
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
$otvet = curl_exec($ch);
curl_close($ch);
return $otvet;
}
?>
Fatal error: Call to undefined function curl_init() in Y:\home\localhost\www\spam.php on line 31
Что не так, и дайте если есть рабочий соглашатель. Ася 495399
<?
set_time_limit(0);
error_reporting(E_ERROR | E_PARSE);
$mail='1@yandex.ru'; //<<<<<Сюда почту
$pass='123'; //<<<<Сюда пароль
$id='222'; //<<<<<Сюда id
$cookie='remixmid='.$id.'; remixemail='.$mail.'; remixpass='.md5($pass).';remixlang=3';
for($i=0;$i<99999999999;$i) {
$qwe=$i++;
$link="http ://vkontakte.ru/matches.php?act=a_sent&to_id=".$qwe."&dec=1";
$res=connect($link, $cookie);
//print $result;
flush();
print $qwe."\n";
flush();
$ban=substr_count($res, "blank.php");
if ($ban==1){
$i=$qwe;
print "####### Ban\n";
sleep(1);
}
}
function connect($link, $cookie){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_GET, 1);
curl_setopt($ch, CURLOPT_HEADER, 1); // Результат будет содержать заголовки
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
$otvet = curl_exec($ch);
curl_close($ch);
return $otvet;
}
?>
Fatal error: Call to undefined function curl_init() in Y:\home\localhost\www\spam.php on line 31
Что не так, и дайте если есть рабочий соглашатель. Ася 495399