1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP and Using two Proxies chained

Discussion in 'PHP & Perl' started by wholesalediscountsales, Jan 25, 2009.

  1. wholesalediscountsales

    wholesalediscountsales Newbie

    Dec 10, 2008
    Likes Received:
    Home Page:
    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?
  2. Grizzy

    Grizzy Senior Member

    Nov 11, 2008
    Likes Received:
    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: