PHP Classes
elePHPant
Icontem

File Writer: Write to files safely

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-02-06 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 643 This week: 1All time: 4,750 This week: 1,047Up
Version License PHP version Categories
file_writer 1.0Free for non-comm...5.0PHP 5, Files and Folders
Description Author

This class can be used to write to files safely.

It can open files for writing or appending adding exclusive locks to prevent simultaneous write accesses.

The class can also create backup copies of the files before opening for changing them.

Picture of Ethan Sterling
Name: Ethan Sterling <contact>
Classes: 1 package by
Country: United Kingdom United Kingdom

  Files folder image Files  
File Role Description
Files folder imagerestore (1 file)
Accessible without login Plain text file example.php Example Example usage
Plain text file main.php Class The main class file

  Files folder image Files  /  restore  
File Role Description
  Accessible without login Plain text file placeholder.txt Data Placeholder for the backup directory

 Version Control Unique User Downloads Download Rankings  
 0%
Total:643
This week:1
All time:4,750
This week:1,047Up
User Comments (1)