PHP and Using two Proxies chained

Joined
Dec 10, 2008
Messages
12
Reaction score
1
I reposted this from another thread since it looks like I should have went straight to the PHP thread.

Anybody know how to program php to Post through multiple proxies? I am trying it using CURL.. The reason i need it is that godaddy uses a proxy to get out onto the net ( i have shared hosting) So the CURL config needs to be pointed to them, but i dont want this to be the ultimate proxy. This first proxy needs to be tunneled through to reach a second proxy and from the do the post. Any ideas?
 
I use a combination of Tor, Privoxy and Proxychains on a linux box to chain proxy servers and call curl through them. Works really well. You don't need to use tor though, you can specify the http/sock4+5 proxies you want to use and everything else in the proxychains.conf file and the you would run something like:
proxychains /path/to/php /path/to/php/script.php
 
Back
Top