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 original image

curl image enter image description here

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

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -