PHP Classes

Storage: Store and retrieve variable values from files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 350 All time: 6,996 This week: 488Up
Version License PHP version Categories
storage 1.2BSD License4.0PHP 5, Files and Folders, Data types
Description 

Author

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: 214 Up15 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (4)  
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 (4)  /  data_example  
File Role Description
  Accessible without login Plain text file storedVar Data an example of data stored in JSON format

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:350
This week:0
All time:6,996
This week:488Up
User Comments (1)