Filedb is a File Manipulation script
Overall rating: (N/A)
|
The script FileDB is a File Manipulation script (web based file management).
With that class you can easily store, display and send files from a db. It has a built-in hit cuonter and stores information of last edition, upload, etc. This class uses my db abstraction layer, AbstrcatDB
(http://www.phpclasses.org/browse.html/package/846.html) , which allows a unified and not hard access to databases, which you can see in that class.
CONSTRUCTOR:
function FileDB(&$db, $host, $database, $user, $password)
FUNCTIONS:
function add($file_name, $file_descr = )
function remove($id)
function get($id, $addHit = true)
function getWhere($from, $where = , $addHit = true)
function getFile($id, $addHit = true)
function getFileData($id)
function getIds()
function sendFile($id)
function _getFileContent($file_name)
PUBLIC VARS:
var $file_count
|
 Write a comment about the script FileDB
|