I am using this code:
<?php
error_reporting(E_ALL);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://www.csservers.ro/voteaza/cs.mnx.ro');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_REFERER, 'http://www.csservers.ro/evidenta/cs.mnx.ro');
$html = curl_exec($ch);
curl_close($ch);
echo $html;
?>
The end result should be “Ip-ul sau clasa asta a mai votata odata ! Incearca maine !”
or “Se accepta doar voturi din Romania si Republica Moldova” but i get displayed just an empty rectangle.
Also the acces on that url should record my ip. Does curl block that ?
Please help. Thanks.
I added
and now html ends with