PHP Classes

Classes of Ryan Cole

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Ryan Cole (1)  >  Mission progress status  >  Reputation  
Picture of Ryan Cole
Name: Ryan Cole <contact>
Classes: 1
Country: United States United States
Age: ???
All time rank: 3479464 in United States United States
Week rank: 246 Up31 in United States United States Up
All time users: 421
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Emulated SQL Filesystem  
PHP Programming Innovation award nominee
April 2016
Number 5
Emulate a filesystem storing files in SQL database
This class can emulate a file system storing files in a SQL database.

It can connect to a given database using PDO and performs several types of operations with names very similar to DOS and Linux to make it work like a file system. Currently it can:

- Set the name of the currently emulated disk
- Change the current directory to a given path
- List files of given path
- Fetch information of a file
- Fetch information of all files with a given path
- Get subdirectories of a given directory
- Change the current directory to the parent directory
- Read or write to a given file
- Remove a file or a directory
- Copy a file to another
- Check if a file exists
- Set or get the owner of a given file
- Write a file with a given uploaded file contents
- Serve a given file for download
- Load or save serialized data to a file
- Resolve the path of file with given parameters
- Create, list and describe disk volumes
- Format, check the status, defragment, and backup a disk
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 90% 90% - 85% - - 62% 907
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z