PHP Classes

MySQL File System: Store and retrieve files in a MySQL database BLOBs

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
Not enough user ratingsTotal: 1,390 All time: 2,799 This week: 488Up
Version License Categories
mysqlfilesystem 1.0GNU General Publi...Databases, Files and Folders


This class can be used to create a virtual filesystem using BLOB fields of a MySQL database table to store the file contents.

This is particularly useful when disk space is scarce on a server that cannot go down in a production environment. With this class you can simply drop in a second slave MySQL server to get a larger "file system" space.

Picture of Paul Scott
Name: Paul Scott <contact>
Classes: 14 packages by
Country: South Africa South Africa
Age: 47
All time rank: 471 in South Africa South Africa
Week rank: 301 Down1 in South Africa South Africa Equal
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Script
Plain text file mysql_filesystem_class_inc.php Class main class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,799
This week:488Up