Login   Register  
PHP Classes
elePHPant
Icontem

File: README.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stanislav Chervenkov  >  File Cache  >  README.txt  >  Download  
File: README.txt
Role: Documentation
Content type: text/plain
Description: README file
Class: File Cache
Store and retrieve generic data in cache files
Author: By
Last change:
Date: 2009-02-26 02:28
Size: 463 bytes
 

Contents

Class file image Download
Using the class:
1. upload the file "cache.class.php" somewhere at your server.
2. create new directory at the server and make it writable.
3. in the file where you'll use the class, include the class
      require_once('classes/cache.class.php');
4. make an instance of the class
      $cache = new cache();
5. setup the cache dir:
      $cache->cache_dir = './others/cache'; // the default is ./cache
6. follow the steps from the example (example.php).