PHP Classes

Perfect Database File 2: File based database manager with SQL query support

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 46%Total: 2,169 All time: 1,806 This week: 488Up
Version License Categories
pdbf 1.0GNU General Publi...Databases, Files and Folders


This class is meant to manage a database that stores its tables in files.

It uses only PHP file access functions, so it does not require special extensions. It may be useful if you do not want or you do not have access to database servers like MySQL or PostgreSQL.

The class provides SQL support to perform database queries: SELECT, INSERT, DELETE, UPDATE, CREATE, DROP commands.

Picture of Eduardo Henrique Molina da Cruz
Name: Eduardo Henrique Molina ... <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 37
All time rank: 97667 in Brazil Brazil
Week rank: 233 Up15 in Brazil Brazil Up


INSTALL 1- Chmods: dbf-2.0/ 755 | |-- *.php 644 |-- data/ 777 |-- tmp/ 777 |-- var/ 755 | |-- dbs/ 777 |-- tbs/ 777 2- Edit the file dbf-2.0/dbf-include.php to set the path. Important: Don't forget to create a database before create the tables -------------------------------- POSSIBLE PROBLEMS Locked table: If any error occur and when you try to access some table it gives the message that the table is locked, try to use the function: $dbf->_unlock_tb($the_table); -------------------------------- CONTACT Programmed by Eduardo Henrique Molina da Cruz My e-mail is

  Files folder image Files  
File Role Description
Plain text file class.pdbfile-aux.php Class Auxiliary classes
Plain text file class.pdbfile-core.php Class The Data Manipulating Class
Plain text file class.pdbfile-sql.php Class The SQL-Parser Class
Accessible without login Plain text file dbf-include.php Aux. Class Include
Accessible without login Plain text file dbf_test.php Example Examples of using the class.
Accessible without login Plain text file dump_test.php Example Example file
Accessible without login Plain text file gpl.txt Lic. The GPL License
Accessible without login Plain text file readme Doc. Readme

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,806
This week:488Up
 User Ratings  
 All time