PHP - cURL get's old version of google -


when getting google site in curl php old google page (the 1 blackbar , weird buttons). there way google appears on google.com? code:

function file_get_contents_curl($url, $proxy) {   $ch = curl_init();    curl_setopt($ch, curlopt_autoreferer, true);   curl_setopt($ch, curlopt_returntransfer, 1);   curl_setopt($ch, curlopt_proxy, $proxy);   curl_setopt($ch, curlopt_url, $url);   curl_setopt($ch, curlopt_followlocation, true);           $data = curl_exec($ch);   curl_close($ch);    return $data; }  echo file_get_contents_curl('https://www.google.com/', 'proxy:8080'); 

thanks, if there no way ok weird looking google.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -