PHP Classes

Link Extractor: Extract links from a string, file or an HTML page

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 4,152 All time: 734 This week: 196Up
Version License Categories
linkextractor 1.0.0The PHP LicenseHTML, Searching


This class is meant to extracts links from an HTML string, a file or a Web page of a given URL.

As a result it creates an array with the URLs of all the links found.

It is compatible with PHP 4.0.5 or better, including PHP 5.

Picture of Andrea Giammarchi
Name: Andrea Giammarchi <contact>
Classes: 17 packages by
Country: Italy Italy
Age: 45
All time rank: 192 in Italy Italy
Week rank: 569 Down24 in Italy Italy Down
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file LinkExtractor.class.php Class class file
Accessible without login Plain text file linkExtractor.function.php Example With this function is more simple use LinkExtractor class ( maybe for newbyes in oop )

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:734
This week:196Up