PHP Classes

File: README.txt

Recommend this page to a friend!
  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: 13 years ago
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).
For more information send a message to info at phpclasses dot org.