News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Scraping Links With PHP
January 14, 2008 @ 08:44:00

The Developer Tutorials site has posted a new article covering the creation of a small application that can help you scrape content from a remote page and pull it into your script.

In this tutorial you will learn how to build a PHP script that scrapes links from any web page.

You'll learn to use cURL, the DOM functions, XPath and a bit of MySQL to get the job done. It's nice to see that they also include a section looking at one of the more touchy aspects of web page scraping - "is it legal?"

0 comments voice your opinion now!
scraping webpage remote curl xpath dom mysql scraping webpage remote curl xpath dom mysql

blog comments powered by Disqus

Similar Posts

Zend Developer Zone: The Storage Medium

Community News: Zagreb PHP User Group December 2011 Meeting - 13th @ 6pm MySQL PHP search: four-part video tutorial series

Zend Developer Zone: Learning PHP & MySQL (a Book Review)

Chris Hartjes' Blog: How To HTTP-PUT A File Somewhere Using PHP

Community Events

Don't see your event here?
Let us know!

series interview laravel tool podcast community introduction library release security composer update voicesoftheelephpant package language framework opinion install version symfony

All content copyright, 2014 :: - Powered by the Solar PHP Framework