$url = "
google.com";
$curl = curl_init();
$cookie = dirname($_SERVER['SCRIPT_FILENAME']).'/cookie/cookie.txt';
$headers = [
'Referer:
https://google.com/',
'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0'
];
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, 1);
curl_setopt($curl, CURLOPT_PROXY, "95.181.176.92:8080");
curl_setopt($curl, CURLOPT_PROXYUSERPWD, "EUR223233:XC4AYne6bl");
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_COOKIEFILE, $cookie);
curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie);
$str = curl_exec($curl);
echo curl_getinfo($curl, CURLINFO_HTTP_CODE);
echo $str;
curl_getinfo($curl, CURLINFO_HTTP_CODE) выдает 0
$str ничего не выдает.