PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 33%Total: 3,751 This week: 1All time: 875 This week: 560Up
Version License Categories
download_file 1.0.0Free For Educatio...HTTP, 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: 43
All time rank: 3081 in Sri Lanka Sri Lanka
Week rank: 416 Down1 in Sri Lanka Sri Lanka Equal

  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,751
This week:1
All time:875
This week:560Up
User Ratings User Comments (1)
 All time
Utility:56%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:33%StarStar
Rank:4173
 
Good Work.
15 years ago (Umer Choudhry)
60%StarStarStarStar