Grab URL: Grab an HTML page and send by e-mail or display it

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 63%Total: 3,788 All time: 851 This week: 309Up
Version License Categories
graburl 1.0.0GNU General Publi...HTML, Email
Description Author

This class is meant to fetch a page of a given URL and send it by e-mail as HTML message.

The class provides functions to set the message headers From:, To:, Cc:, Bcc: and Subject: .

Alternatively, the class may also display the fetched HTML page making it be outputted by the current script.

Notes: I know there is a smarter way to do it using cURL,... lets say i am in a server with limited stuff??

Picture of Vedanta Barooah
Name: Vedanta Barooah <contact>
Classes: 11 packages by
Country: United States United States
Age: 41
All time rank: 496 in United States United States
Week rank: 550 Down47 in United States United States Down
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file grabUrl.php Class Main Class File
Accessible without login Plain text file mail_example.php Example Example Usage
Accessible without login HTML file manual.html Doc. Usage Manual
Accessible without login Plain text file page_example.php Example Example: Grab a webpage and display it on your site

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:851
This week:309Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.