PHP Classes

File Writer: Write to files safely

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 631 All time: 4,671 This week: 1,446Up
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
Age: 23
All time rank: 2709121 in United Kingdom United Kingdom
Week rank: 1579 Up62 in United Kingdom 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  
 0%Total:631All time:4,671
 This week:0This week:1,446Up
 User Comments (1)