1
curl download and break up
CGuild1.com > Tips & Tricks > curl download and break up

PHP Simple HTML DOM Parser

This is a link to a php class that uses cUrl and has been written to make it easy to extract content and/or data from any url.

PHP Simple HTML DOM Parser

Example Usage

include_once("path/to/simple_html_dom.php");
// Dump contents (without tags) from HTML
echo file_get_html("http://www.google.com/")->plaintext;
The full manual and usage guide can be seen over here. There is an example for just about every use.
©2024 CGuild1.com