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 Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 3,795 All time: 855 This week: 488Up
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: 44
All time rank: 497 in United States United States
Week rank: 43 Up5 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

  Files folder image Files (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:3,795
This week:0
All time:855
This week:488Up
 User Ratings  
 
 All time
Utility:82%StarStarStarStarStar
Consistency:71%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:76%StarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:811