PHP Classes

filesnap: Stream wrapper to write and read snapshot files

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 676 All time: 4,746 This week: 377Up
Version License PHP version Categories
filesnap 1.0Freeware4.3.0Stream wrappers
Description Author

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.

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
Picture of Rick Hodger
Name: Rick Hodger <contact>
Classes: 3 packages by
Country: United Kingdom
Age: 42
All time rank: 64833 in United Kingdom
Week rank: 619 Up18 in United Kingdom Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file filesnap.class.php Class snapshot stream wrapper include
Accessible without login Plain text file example1.php Example Example 1
Accessible without login Plain text file example2.php Example Example 2

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,746
This week:377Up
For more information send a message to info at phpclasses dot org.