PHP Classes

dbff: Read and write flat file databases in CSV format

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 851 All time: 4,097 This week: 99Up
Version License Categories
dbff 1.0.0GNU General Publi...Databases, Files and Folders


This class can be used to read and write flat file databases in a tagged CSV format. It can serve as a standalone PHP database replacement for simple and small applications or dynamic web pages.
It can create and maintain files with a given data definition for column names and types.
The class can perform queries to search CSV file records with fields that match a given condition. The search condition can use several kinds of comparison operands similar to SQL and with functions like Select (with and/or/sort), insert, update, delete, commit and rollback.
Supported datatypes are String, Integer, Number and Date formats.
Data validation are performed on insert/update and additional checks like Not Null, min, max, list and PK/UK keys can be defined. It is also possible to define an autoincremental key and record encryption.

Picture of jerry mattsson
Name: jerry mattsson <contact>
Classes: 2 packages by
Country: Sweden Sweden
Age: ???
All time rank: 163913 in Sweden Sweden
Week rank: 289 Up4 in Sweden Sweden Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file contacts_sample.php Example Simple contact list and form
Accessible without login Plain text file dbff.doc Doc. dbff documentation file
Plain text file dbff.php Class dbff main package
Accessible without login Plain text file dbff_errm.php Conf. dbff error message file
Plain text file dbff_jsChk.php Class Javascript generator functions
Accessible without login Plain text file dbff_tests.php Test Tests and samples
Plain text file rc4crypt.php Class dbff add on encryption package
Accessible without login Plain text file sample.php Example Some samples

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,097
This week:99Up
 User Ratings  
 All time