I did try to use the http php-Extension for Linux which works just fine. But if I add a (working) Proxy, it can not get the file anymore.
Maybe I am using the Proxy functions wrong?
//works $success = $http->Download('www.jb-lighting.de/download/manual/40.pdf',$localFilePath);
//does not work $http->put_ProxyDomain("22.214.171.124"); $http->put_ProxyPort(25); $success = $http->Download('www.jb-lighting.de/download/manual/40.pdf',$localFilePath);
I have tested with several Proxy and even different Port for each individual Proxy. No luck. Am I missing an important step again?
You're missing the "http://"
Some IP do work & as well with Domain name. Some I need to enter with Domain, because the IP is not working. put_ProxyDomain did sometimes work with IP even without http://.
Does put_ProxyDomain("127.0.0.1") checkup it is localhost? And why is it sometimes not working (get Hostname from IP)?
This one currently works with both:
IP Address : 126.96.36.199
Location : Australia (95% accuracy)
Host Name : f8.2f.01a8.ip4.static.sl-reverse.com
I did check with:
$html = $http->quickGetStr("www.whatismyip.com");