我设置https://github.com/Athlon1600/php-proxy脚本:
我的config.php文件是这样的:
// additional curl options to go with each request
$config['curl'] = array(
CURLOPT_PROXY => "xxxx.ir:82",
CURLOPT_HEADER => False ,
CURLOPT_NOPROGRESS => False ,
CURLOPT_PROXYUSERPWD => "uuuu:ppppppp" ,
CURLOPT_HTTPPROXYTUNNEL => 1 ,
CURLOPT_CONNECTTIMEOUT => 5
);
但我收到错误
无法连接到xxxxx端口82:拒绝连接