Code: Select all
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://www.novaworld.com/Players/Stats.aspx?id=33680801261&p=616065");
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_POST, 0);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$returned = curl_exec($ch);
curl_error($ch);
curl_close($ch);
echo $returned;
?>Im pretty sure my code is correct because it works with other secure sites such as https://www.google.com/adsense/. If i had money i'd pay someone to figure this out, but im broke, and I know someone in these forums knows whats wrong.
So dont be shy and post the answer