PHP Classes

Safe IO: Access files using locks to prevent corruption

Recommend this page to a friend!
  Info   View files View files (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 376 All time: 6,747 This week: 114Up
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 Nicola Covolo
  Performance   Level  
Name: Nicola Covolo <contact>
Classes: 6 packages by
Country: Italy Italy
Age: ???
All time rank: 126949 in Italy Italy
Week rank: 91 Up2 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:376
This week:0
All time:6,747
This week:114Up