PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 1,497 All time: 2,605 This week: 350Up
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: 34
All time rank: 5812 in Saudi Arabia Saudi Arabia
Week rank: 756 Down4 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  
This week:0
All time:2,605
This week:350Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.