Login   Register  
PHP Classes
elePHPant
Icontem

Safe IO: Access files using locks to prevent corruption

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 (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-11-16 (1 month ago) RSS 2.0 feedNot enough user ratingsTotal: 351 This week: 1All time: 6,269 This week: 1,235Up
Version License PHP version Categories  
safeio 2BSD License5.0PHP 5, Files and Folders
Description Author  

This class can access files using locks to prevent corruption.

It can open files and read or write data in them.

The class can use shared and exclusive locks to prevent that parallel scripts corrupt the file contents.

Picture of jstar88
Name: jstar88 <contact>
Classes: 6 packages by
Country: Italy Italy
Age: ???
All time rank: 150060 in Italy Italy
Week rank: 140 Up8 in Italy Italy Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagev1 (2 files, 1 directory)
Files folder imagev2 (2 files, 1 directory)

  Files folder image Files  /  v1  
File Role Description
Files folder imagetests (5 files)
  Accessible without login Plain text file README.md Doc. Documentation
  Plain text file SafeIO.php Class Class source

  Files folder image Files  /  v1  /  tests  
File Role Description
  Accessible without login Plain text file data.txt Data Auxiliary data
  Accessible without login Plain text file test.php Example Example script
  Accessible without login Plain text file test2.php Example Example script
  Accessible without login Plain text file test_multithreading.php Test Unit test script
  Accessible without login Plain text file Thread.php Test Unit test script

  Files folder image Files  /  v2  
File Role Description
Files folder imagetests (9 files)
  Plain text file ConcurrentFile.php Class Class source
  Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  v2  /  tests  
File Role Description
  Accessible without login Plain text file data.txt Data Documentation
  Accessible without login Plain text file log.txt Data Auxiliary data
  Accessible without login Plain text file log2.txt Data Auxiliary data
  Accessible without login Plain text file test.php Example Example script
  Accessible without login Plain text file test2.php Example Example script
  Accessible without login Plain text file test3.php Example Unit test script
  Accessible without login Plain text file test4.php Example Unit test script
  Accessible without login Plain text file test_multithreading.php Test Unit test script
  Plain text file Thread.php Class Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%Total:351All time:6,269
 This week:1This week:1,235Up