Login   Register  
PHP Classes

Class: filesnap

Icontem
elePHPant

  Classes of Rick Hodger  >  filesnap  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: filesnap Support forum
Base name: filesnap
Description: Stream wrapper to write and read snapshot files
Version: 1.0
Required PHP version: 4.3.0
License: Freeware
 
  Author   Group folder image Groups   Detailed description  
  Applications   Files Files  

Author

Picture of Rick Hodger
Name: Rick Hodger <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Home page: http://www.potato-people.com/

Innovation Award

PHP Programming Innovation award nominee
January 2007
Number 10
Many applications need to store and update information in files. In some cases it is also necessary to update the current versions, but also keep copies of past versions.

This package provides a sophisticated solution that uses PHP streams support to store and retrieve any version just by specifying a date in the past. The class can determine and access the correct version that existed in the specified date.

Manuel Lemos

Groups

Group folder image Stream wrappers Access resources like regular files View top rated classes

Detailed description

This class implements a stream wrapper that can write and read snapshots of files.

It can open a file for writing. If a previous version exist, it copies that version to a snapshot file.

The class may also open a file for reading using an optional date parameter to tell the class to open the snapshot version of the file that existed on the given date.

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 filesnap.class.php Class snapshot stream wrapper include
Plain text file example1.php Example Example 1
Plain text file example2.php Example Example 2
Download all files: filesnap.tar.gz filesnap.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.