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++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -