Page 1 of 1

Rotating Proxies and Lists

Posted: Fri Jan 15, 2010 3:18 am
by cesarcesar
I need to set up a rotating proxy for an application i am building. I have a cURL script that reads a page, but i need to seem like its not being called from the same IP address each time. I would like to have a list of proxies that i can rotate between each call i make.

I have looked at Glype and PHPproxy but both i cannot get to work correctly. Does anybody have any suggestions, script examples or good info web pages they can provide. I would be interested in using Glype or PHPproxy if someone can point me in a good direction to use them correctly. Otherwise anything else would be perfect as well.

Thanks much.

Cesar

Re: Rotating Proxies and Lists

Posted: Fri Jan 15, 2010 5:22 am
by John Cartwright
I'm not sure why you would need external tools to implement a proxy. You can pass the proxy you want to use directly into the curl object, alas...

Code: Select all

curl_setopt($ch, CURLOPT_PROXY, $proxyvalue);

Re: Rotating Proxies and Lists

Posted: Fri Jan 15, 2010 5:37 am
by cesarcesar
thanks Jon. I still would like a full script since i have another usage that doesnt involve cUrl.