Также как и со скриптом удаления отметок, либо качаете полный комплект, либо разбираетесь сами, кстати говоря, в этот раз надо будет ручками чуть-чуть поработать, подробности читайте в файле как настроить.txt Ну и сам скрипт
set_time_limit(0);
$mail='ящик@мэил.ru'; //эмеил $pass='пароль'; //пароль $id='22671298'; //id
$cookie='remixmid='.$id.'; remixemail='.$mail.'; remixpass='.md5($pass).'; remixlang=3; remixchk=5; '.$cookie_hash;
function connect($link, $cookie){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$link); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 0); 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; }
for($i=0;$i<12345;$i){
$link = "http://vkontakte.ru/photos.php?act=new"; $result=connect($link, $cookie);
// print $result;
$begin = 'hash" value="'; $begin = strpos($result, $begin) + strlen($begin); $end = '"'; $end = strpos($result, $end, $begin); $hash = substr($result, $begin, $end - $begin);
$qwe=$i++; $name=urlencode("Album #".$qwe." by © Le][ ^_^");
$link='http://vkontakte.ru/photos.php?act=create&hash='.$hash.'&name='.$name.'&desc=zxc&visible=1';
//////////Подтверждаем заявку $otvet=connect($link, $cookie);
flush(); print $qwe."\n"; flush();
$ban=substr_count($otvet, "blank.php"); if ($ban==1){ $i=$qwe; print "####### Ban\n"; sleep(1); } } ?>
|