NYCPHP Meetup

NYPHP.org

[nycphp-talk] help with scraping a page

yury at heavenspa.com yury at heavenspa.com
Wed Apr 21 13:29:11 EDT 2004


http://www.google.com.au/search?q=neopets

Lets say i have a page with lots of links ( a few hunderd)  like the google search above. I'd like to scrap the page and grab the search term only and add it to my site in this fashion:

http://www.site.com/search/search.php?qry_str=neopets

and 

http://www.site.com/buy/buy.php?qry_str=neopets

can anyone give me a quick and dirty way of accomplishing this? I was thinking that each php page has its own scrap code at the top, so once you load the page it scraps the appropriate page and spits out my results..

I'd prefer to NOT use a db.. suggestions?

tia
yury

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Yury Rush  
Senior Web Designer
heavenspa.com
Yury at heavenspa.com
+1212.244.0010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040421/42e9a42c/attachment.html>


More information about the talk mailing list