PHP Classes
Icontem

Class: File Info Cache


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of kumar mcmillan  >  File Info Cache  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: File Info Cache Support forum
Base name: file-info-cache
Description: Cache information about files to a database
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 992 users
All time rank: 2500
Week users: 2 users
Week rank: 2530
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of kumar mcmillan
Name: kumar mcmillan <e-mail contact>
Published packages: 7 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: http://farmdev.com/
Age: 30
All time rank: 130
Week rank: 702

Groups

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes
Group folder image Audio Voice and music data generation and manipulation View top rated classes

Detailed description

This class 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!

The class 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.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file cache-sc-server.php Example example script to cache mp3 files
Plain text file file-info-cache.class.php Class class source
Plain text file LICENSE Lic. class license
Download all files: file-info-cache.tar.gz file-info-cache.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products