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
StarStarStar 51%Total: 4,147 All time: 732 This week: 185Up
Version License Categories
linkextractor 1.0.0The PHP LicenseHTML, Searching
Description Author

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: 43
All time rank: 192 in Italy Italy
Week rank: 153 Down5 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  
 0%
Total:4,147
This week:0
All time:732
This week:185Up
 User Ratings  
 
 All time
Utility:73%StarStarStarStar
Consistency:76%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2272
  
For more information send a message to info at phpclasses dot org.