Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Rotating Proxies and Lists
Old 01-15-2010, 04:20 AM Rotating Proxies and Lists
Extreme Talker

Posts: 199
Trades: 0
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
empiresolutions is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-20-2010, 12:32 AM Re: Rotating Proxies and Lists
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Since you have some of the cURL written, here are 2 lines I use for running via proxies:

PHP Code:
curl_setopt($chCURLOPT_PROXY$proxy_tunnel);
curl_setopt($chCURLOPT_PROXYUSERPWD$proxy_user); 
Don't know about your named scripts, but that code has worked for me.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 01-28-2010, 06:31 AM Re: Rotating Proxies and Lists
Extreme Talker

Posts: 199
Trades: 0
@JeremyMiller - thanks. any idea how to do it without using cURL?
empiresolutions is offline
Reply With Quote
View Public Profile
 
Old 01-28-2010, 09:39 AM Re: Rotating Proxies and Lists
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
No idea. Haven't studied the specification well enough to be able to do it by hand without research.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Reply     « Reply to Rotating Proxies and Lists
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22467 seconds with 12 queries