PHP Classes

myFat: Store binaries in a MySQL based virtual hard drive

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 1,760 All time: 2,228 This week: 263Up
Version License Categories
myfat 1.0.0BSD LicenseDatabases, Files and Folders


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
Age: 55
All time rank: 141188 in Germany Germany
Week rank: 654 Up20 in Germany Germany Up
Innovation award
Innovation award
Nominee: 2x

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,228
This week:263Up
 User Ratings  
 All time