Website Scripts

FileDB

Class to store files in a database.



O.S. : any

Price: Free (LGPL)

Filesize:

Author's Website : Lennart Groetzbach

With this class you can easily store, display and send files from a db. It has a built-in hit counter and stores information of last edition, upload, etc. This class uses my db abstraction layer, AbstractDB (http://www.phpclasses.org/browse.html/package/846.html) , which allows a unified and easy access to databases, which you can see in this 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)true) function getFileData($id) function getIds() function sendFile($id) function _getFileContent($file_name) PUBLIC VARS: var $file_count






Link Exchange Manager - Manage & check your reciprocal links pages to boost your search engine rankings





Script Categories

Javascript
PHP
Java
ASP
CGI & Perl


Web Authoring Software

Site Management
Webdesign Tools
HTML Editors
Site Builders
FTP
Flash Tools
More...

Link Exchange Manager

Link Exchange Manager is a software program that manages your website's links pages. It is a time-saving way to reduce HTML coding and manual scanning for reciprocal links and dead links on your link partners websites. Find out more

Super Affiliate Tracker

Locate your Super Affiliates by keyword or by finding your competitor's. Super Affiliate contact information includes company name, address and telephone number. Read More >>