Ну вообщем,авторизируемся на сайте vklid.ru.
Запускаем скрипт.
Код:
<? $id = '1';//ваш ид $l = '100500'; for($u=0;$u<5;$l++){ connect('http://vklid.ru/php/vipclick.php','','uid='.$id.'&zid='.$l); echo ''.$l.' '; } function connect($link,$cookie=null,$post=null){ $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_HEADER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); if($cookie !== null) curl_setopt($ch, CURLOPT_COOKIE, $cookie); if($post !== null) { curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); } $otvet = curl_exec($ch); curl_close($ch); return $otvet; } ?>