PHP Classes

Storage: Store and retrieve variable values from files

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 349 All time: 6,989 This week: 437Up
Version License PHP version Categories
storage 1.2BSD License4.0PHP 5, Files and Folders, Data types


This class can be used to store and retrieve variable values from files.

It can take variable values and store them in files with given names.

The class can also do the opposite, i.e. retrieve variable values from files.

The variables can be scalar, or objects or arrays, provided the class or a sub-class defines functions to serialize and unserialize the variable values.

Picture of Domenico Pontari
Name: Domenico Pontari <contact>
Classes: 3 packages by
Country: Italy Italy
Age: ???
All time rank: 203980 in Italy Italy
Week rank: 398 Up23 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagedata_example (1 file)
Plain text file storage_json.php Class json extension for storage class
Accessible without login Plain text file example.php Example how to use storage class
Plain text file storage.php Class base class

  Files folder image Files  /  data_example  
File Role Description
  Accessible without login Plain text file storedVar Data an example of data stored in JSON format

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,989
This week:437Up
User Comments (1)