Login   Register  
PHP Classes

Download file serving: Serving files for download with a PHP script

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 (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-03-16 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 3,733 All time: 819 This week: 1,384Down
Version License Categories  
download_file 1.0Free For Educational UseHTTP, Files and Folders
Description Author  

This class is meant to serve files for download via an PHP script.

The class can analyse a given file stored on the server and make the current PHP script issue the necessary headers like content-length: and content-type: so the client browser can handle it as a normal download as if the was served as static file access.

Picture of M.G.Ranga Pathmasiri
Name: M.G.Ranga Pathmasiri <contact>
Classes: 3 packages by
Country: Sri Lanka Sri Lanka
Age: 34
All time rank: 2871 in Sri Lanka Sri Lanka
Week rank: 1721 Down4 in Sri Lanka Sri Lanka Down

  Files folder image Files  
File Role Description
Plain text file downloadfile.php Class Download file

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,733All time:819
 This week:0This week:1,384Down
 User Comments (1)  
Good Work.
6 years ago (Umer Choudhry)