PHP Classes

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,795 This week: 1All time: 854 This week: 560Up
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: 43
All time rank: 497 in United States United States
Week rank: 52 Down6 in United States United States Up
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  
 0%1
Total:3,795
This week:1
All time:854
This week:560Up
 User Ratings  
 
 All time
Utility:82%StarStarStarStarStar
Consistency:71%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:76%StarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:811