File Info Cache 1.0
File Info Cache browses a directory and recursively caches file information to a database. Once the file information is in a database you can access it easily and efficiently. This script is only intended to run from the shell, from a crontab or similar process; I don't recommend changing permissions on your files for the webserver to access them!
File Info Cache was designed to cache information about mp3 files so a weighted playlist system could be constructed for Shoutcast (see example file ./cache-sc-server.php). To store further information about a file, you may wish to create a new table in the database. If so, please send me your additions and I will incorporate them into the package.
You need the ADODB database tool to run the class (http://php.weblogs.com/ADODB) and you need the AudioFile class (http://www.phpclasses.org/browse.html/package/482.html) to cache mp3 files. Currently the class has only been tested with MySQL but should support any database supported by ADODB. Please see the class comments for installation, testing/stats, and license.
More popular File & Folder
- XUpload/ViewDB 1.0 (2 years, 9 months 29 days ago)
- Advanced file upload and ajax upload 4.0 (2 years, 10 months 17 days ago)
- Simple XLSX 0.4 (2 years, 2 months 12 days ago)
- BinPacker 1.0 (7 years, 7 months 21 days ago)
- Ajax File Browser 3 beta (2 years, 8 months 17 days ago)
Listing Files

cache-sc-server.php- 1.4 KB
- 10/08/2005 17:28:26

file-info-cache.class.php- 14.3 KB
- 10/08/2005 17:28:26

LICENSE- 25.8 KB
- 10/08/2005 17:28:26
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
