PHP Classes
elePHPant
Icontem

Simple Files: Read, add, modify and delete lines from text files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-08-06 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 783 All time: 4,063 This week: 1,118Up
Version License PHP version Categories  
simplefiles 2GNU General Publi...5PHP 5, Files and Folders, Text proces...
Description Author  

This class can be used to read, add, modify and delete lines from text files.

It can open an existing file or create a new one.

The class can retrieve the file lines into an array, optionally keeping only those that match a given content criteria.

It can also sort the returned lines or limit the number of lines that are returned just like with SQL database queries.

The class can also modify or delete the file lines according to a content condition.

Recommendations  

read and write ini file
Create a web page that manages a .ini file

Picture of Mallory  Dessaintes
Name: Mallory Dessaintes <contact>
Classes: 3 packages by
Country: Belgium Belgium
Age: 26
All time rank: 165210 in Belgium Belgium
Week rank: 1587 Up11 in Belgium Belgium Down

  Files folder image Files  
File Role Description
Plain text file SimpleFile.class.php Class The most recent version of SimpleFiles, lighter than the first one. (This version was not tested a lot, but the source is quiet near the old version)
Plain text file simplefiles2.class.php Class simplefiles class

 Version Control Unique User Downloads Download Rankings  
 0%Total:783All time:4,063
 This week:0This week:1,118Up