News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DeveloperTutorials.com:
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

PHPit.net: Book Review: Mastering phpMyAdmin for Effective MySQL Management

SitePoint.com: "Build Your Own Database Driven Web Site Using PHP & MySQL" Excerpts

Zend Developer Zone: Getting Started with Drizzle and PHP

Stefan Mischook's Blog: Cannot load mysql extension error - Video Tutorial How To

DevShed: Generating Web Pages in Multiple Languages with a PHP IP-to-Country Mapping Application


Community Events

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


interview security release voicesoftheelephpant framework series community threedevsandamaybe unittest version introduction opinion symfony laravel5 extension laravel podcast api library language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework