Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-10-13 (9 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 3,731 All time: 813 This week: 1,504Down
Version License Categories  
graburl 1.0.0GNU General Public Lice...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: 34
All time rank: 466 in United States United States
Week rank: 388 Down43 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  
 0%1Total:3,731All time:813
 This week:0This week:1,504Down
 User Ratings  
 
 All time
Utility:84%StarStarStarStarStar
Consistency:73%StarStarStarStar
Documentation:76%StarStarStarStar
Examples:78%StarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:480