Re: [PHP] cURL loop?

2009-05-29 Thread Daniel Brown
On Thu, May 28, 2009 at 23:31, espontaneo acohln...@gmail.com wrote:

 Hello! I am currently working on a script that will scrape data from a
 property advertising web page. The web page has multiple pages. What I'm
 getting is only the first page. What I wanted to do is to use curl to scrape
 all the data from that page. I just learned php so I don't know how I can do
 this.

There are a variety of ways, but rather than writing your own
spider script, you may want to look into the built-in spidering
capabilities of `wget` and `curl` from the command line.  Both have
Windows and *NIX builds, so platform isn't an issue; so long as you
have access to the shell, you should be fine.

-- 
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW1

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] cURL loop?

2009-05-28 Thread espontaneo

Hello! I am currently working on a script that will scrape data from a
property advertising web page. The web page has multiple pages. What I'm
getting is only the first page. What I wanted to do is to use curl to scrape
all the data from that page. I just learned php so I don't know how I can do
this.
-- 
View this message in context: 
http://www.nabble.com/cURL-loop--tp23773748p23773748.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php