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 (4 days ago) RSS 2.0 feedNot enough user ratingsTotal: 375 This week: 1All time: 6,749 This week: 350Up
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
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:375
This week:1
All time:6,749
This week:350Up