Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- for($i=0; $i< $argv[1]; $i++) {
- $myCurl = curl_init();
- curl_setopt_array($myCurl, array(
- CURLOPT_URL => 'http://caviar-phone.ru/index.php',
- CURLOPT_RETURNTRANSFER => true,
- CURLOPT_POST => true,
- CURLOPT_POSTFIELDS => http_build_query(array('leader'=>'trump', 'result_ids' => '', 'dispatch[my_changes.set_leader_vote]'=> ''))
- ));
- $response = curl_exec($myCurl);
- curl_close($myCurl);
- echo "{$i}..";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement