PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 648 All time: 4,924 This week: 310Up
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
Age: 31
All time rank: 2930134 in United Kingdom
Week rank: 587 Up21 in United Kingdom Up

  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  
This week:0
All time:4,924
This week:310Up
User Comments (1)