@ 2015-10-14T22:30:31Z <?php
echo "start";
generateVote();
echo "done";
function generateEmail($email)
{
return $email;
}
function generateVote()
{
$url='http://www.psyczykoty.pl/save-vote';
$c=curl_init();
curl_setopt($c, CURLOPT_URL, $url);
curl_setopt($c, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c,CURLOPT_HTTPHEADER,array(
'Host: www.psyczykoty.pl',
'Connection: keep-alive',
'Content-Length: 162',
'Pragma: no-cache',
'Cache-Control: no-cache',
'Accept: */*',
'Origin: http://www.psyczykoty.pl',
'X-Requested-With: XMLHttpRequest',
'User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36',
'Content-Type: application/x-www-form-urlencoded; charset=UTF-8',
'Referer: http://www.psyczykoty.pl/glosuj/1/popularne',
'Accept-Encoding: gzip, deflate',
'Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4',
'Cookie: fera-psyczykoty=5fogco6tk0m4sn2rq458qak0l2; _ga=GA1.2.57483650.1444392866; cSID_VM=1444854938606; _gat=1'
));
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_FOLLOWLOCATION, FALSE);
curl_setopt($c, CURLOPT_POSTFIELDS, "email=pedro92vb%40gmail.com&id_gallery=5617ad20e3ba9644398b4580&username=&city=&petname=&type=default&agree=1&_token=ffI-Tvxc9tC_Eb3tDPIladvoXHPrRhcRoJDp4rbG5F4");
$result = curl_exec($c);
var_dump(json_decode($result));
curl_close($c);
flush();
}
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.20 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 start
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/XHdlj:12
Stack trace:
#0 /in/XHdlj(3): generateVote()
#1 {main}
thrown in /in/XHdlj on line 12
Process exited with code 255 . Output for 5.4.2 - 5.4.45 , 5.5.24 - 5.5.35 , 5.6.8 - 5.6.28 start
Fatal error: Call to undefined function curl_init() in /in/XHdlj on line 12
Process exited with code 255 . preferences:dark mode live preview
188.63 ms | 402 KiB | 270 Q