Jump to content

Use multiple proxies to pull content via php


arianhojat

Recommended Posts

I would like to do something like below but am afraid the hosts i am getting info from will ban requests from my url.

 

$url = "www.myspace.com/". getUserName($userID);

$content=file_get_contents($url ,FALSE,NULL);

//parse html and store some parts in a database.

 

Do you think a site like myspace will give a poop about lil' old me and ban requests from my server?

The requests are user initated, and will only parse their webpage. So im not doing anything evil here.

Just worried when I run requests everynight, they will see a flood of requests from 1 server and ban the IP.

 

Is there anyway to get http information through various trustable proxies and what functions should i check out?

I was looking at curl a while back to do paypal stuff, it was a tiny bit confusing.

 

Any simple code examples of curl getting http info through a proxy?

my best guess is use the proxy websites form url to curl and supply it the info of the url you want to visit and POST.

must be a more elegant way of gettign it through the proxy without using the form on the page.

 

 

Also what proxies could I trust to return reliable information?

is there a list of reliable ones?

i use hidmyass_com haha and see they supply a daily list of proxies, i could always use that as my list to randomly pick from.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.