PHP Classes
elePHPant
Icontem

PHP Sync Files: Share variables across applications using files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-25 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 260 All time: 6,929 This week: 1,317Up
Version License PHP version Categories  
sync 1.4MIT/X Consortium ...5.3PHP 5, Files and Folders, Language
Description Author  

This class can share variables across applications using files.

It provides setter and getter functions for variables that make it store and retrieve the variable values in files, so multiple applications can share information between each other.

The class locks the files when a variable change is being written to the file to prevent that other applications attempt to do it at the same time.

Picture of Ninsuo
Name: Ninsuo <contact>
Classes: 2 packages by
Country: France France
Age: 30
All time rank: 302483 in France France
Week rank: 1629 Up48 in France France Up

  Files folder image Files  
File Role Description
Plain text file Sync.php Class Core class
Accessible without login Plain text file Sync.demo.1.php Example Demo: Hello, world!
Accessible without login Plain text file Sync.demo.2.php Example Demo: Progression of a long-running task
Accessible without login Plain text file Sync.demo.3.php Example Demo: Mutex-style locks usage example
Accessible without login Plain text file Sync.test.php Test PHPUnit tests
Accessible without login Plain text file readme.txt Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 0%Total:260All time:6,929
 This week:0This week:1,317Up