PHP Classes

myFat: Store binaries in a MySQL based virtual hard drive

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
StarStarStar 57%Total: 1,761 All time: 2,233 This week: 488Up
Version License Categories
myfat 1.0.0BSD LicenseDatabases, Files and Folders
Description 

Author

This class implements a virtual file system based on two MySQL tables. You can store any kind of data (music, images, anything) in these MySQL tables.

The class implements functions for listing files, saving files uploaded from forms, deleting files and outputing files for downloads.

Innovation Award
PHP Programming Innovation award nominee
April 2004
Number 4


Prize: One copy of the Maguma Workbench
Many types of Web applications have the need to store arbitrary data uploaded by the users as files.

Despite storing such data in server disks is often the fastest way to store uploaded files, sometimes it is preferrable to store them in SQL database tables because it simplifies distribution to multiple Web servers, or because safe mode limitations it is not possible to write to disk files.

This class provides a generic solution that can address well these problems by simplifying the storage of arbitrary files in a MySQL database.

Manuel Lemos
Picture of Mirko Mönninghoff
Name: Mirko Mönninghoff <contact>
Classes: 2 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file index.php Example Simple upload and download form (store binaries into the virtual harddisk and download them over your webbrowser)
Accessible without login Plain text file myfat.php Class The Class (Usage Information included)

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 Unique User Downloads Download Rankings  
 0%
Total:1,761
This week:0
All time:2,233
This week:488Up
 User Ratings  
 
 All time
Utility:86%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:63%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1700