Jump to content

Using another proxy


scs

Recommended Posts

Hi

I am trying to make a PHP Proxy usage. Not for being a proxy, but for using the proxies for different IPs. Its for a ranking system on my site.

Basicly I'm trying to make a script that uses free proxies like (www.w0t.us) and submits a script from my site. And so in the long run it would run throw a list of free proxies and submit my script so that it runs properly. Though I havent even made my script yet cause this is the first step in my project.

 

I think the curl class is needed for this.

So the steps for this script would be

 

  • (Array) List of free proxies
  • (Loop) Loop through list

    •  
  • Submit my script to proxy
     
  • Read output data
     

 

Sounds and looks simple. My lil brain just cant figure it out :P

Anyone know hows to do this?

Thanks in advance

Z

Link to comment
Share on other sites

Firstly, compile a list of free proxies and collate them into an array. Then using some kind of loop iterate through this and use fsockopen (or something similar) to connect to the proxy and perform a HTTP request, read the output and voila.

Link to comment
Share on other sites

You basically you outlined your project (an extremely simple outline at best) and you expect us to provide the code for you? Unfortunately for you that's not really how this forum works. We provide help for people who are stuck and trying to learn themsevles. By expanding on your project outline I included a few keywords that if you look up on Google will provide with more than enough knowledge to do this on your own.

 

You can thank me later  :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.