PHP Classes

Get tag value: Extract HTML contained in tags from a Web page

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-07-23 (8 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 1,480 All time: 2,532 This week: 1,110Up
Version License PHP version Categories  
get_tag_value 1.0GNU General Publi...4.0HTML, Web services
Description Author  

This class can be used to extract HTML from a Web page contained inside a given tag.

It retrieves a specified page and extracts the HTML contained inside given start and an end tags. The class may also look for multiple tags.

If found, the HTML data found between the start and end tags is returned in a class variable.

Picture of NaiFPHP
Name: NaiFPHP <contact>
Classes: 6 packages by
Country: Saudi Arabia Saudi Arabia
Age: 29
All time rank: 5542 in Saudi Arabia Saudi Arabia
Week rank: 1545 Down5 in Saudi Arabia Saudi Arabia Down
Innovation award
Innovation award
Nominee: 1x


- You can through this class extracting value of any marking (tag) from any page (site) ..
- Through writing, marking the beginning and end of the marking, and can write several tags .

There are several uses for the class, see the code file test.php.

In case of facing any problems, would be my pleasure to help : 

thanks for you.
  Files folder image Files  
File Role Description
Plain text file GTV.class.php Class main class file
Accessible without login Plain text file index.php Example pagehome for example
Accessible without login Plain text file readme.txt Data information file
Accessible without login HTML file test.php Data for test , ( target )

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,480All time:2,532
 This week:0This week:1,110Up
 User Ratings  
 All time