curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, false); curl_setopt($ch, CURLOPT_PROXYTYPE, $this->proxy['type']); curl_setopt($ch, CURLOPT_PROXY, $this->proxy['host']); curl_setopt($ch, CURLOPT_PROXYPORT, $this->proxy['port']); print_r($this->proxy);
Array
(
[Host] = 127.0.0.1
[Port] = 1080
[Type] = 5
[User] =
[Pass] =
)
Agent is Shadowsocks
Browser with SS proxy access URL no problem
I have PHP curl via proxy access
Couldn ' t connect to host
Reply content:
curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, false); curl_setopt($ch, CURLOPT_PROXYTYPE, $this->proxy['type']); curl_setopt($ch, CURLOPT_PROXY, $this->proxy['host']); curl_setopt($ch, CURLOPT_PROXYPORT, $this->proxy['port']); print_r($this->proxy);
Array
(
[Host] = 127.0.0.1
[Port] = 1080
[Type] = 5
[User] =
[Pass] =
)
Agent is Shadowsocks
Browser with SS proxy access URL no problem
I have PHP curl via proxy access
Couldn ' t connect to host
It must be curlproxy_socks5.