Anyone knowing why curl successfully uses socks5 and prints an error on socks4?
This works:
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);This doesn’t:
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);The error:
Notice: Use of undefined constant CURLPROXY_SOCKS4 - assumed 'CURLPROXY_SOCKS4'I do have the latest versions of php and curl installed…