php - CURL Showing Different data and Original page showing different -
i used scrap data different websites, came across issue original site showing different data when used curl fetch data showing different data. clarify point attaching screen shots of both pages.
original image
curl image
do guys having suggestions point me doing wrong? site http://www.whatsthescore.com/
and curl request
$url ='http://www.whatsthescore.com/'; $ch = curl_init(); curl_setopt($ch, curlopt_autoreferer, true); curl_setopt($ch, curlopt_header, 0); curl_setopt($ch, curlopt_returntransfer, 1); curl_setopt($ch, curlopt_url,$url); curl_setopt($ch, curlopt_followlocation, true); $data = curl_exec($ch); curl_close($ch); echo $data;
any suggestions ?
Comments
Post a Comment