PHP Classes

DBF Class: Extract information from a DBF database file

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (16)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 10,034 This week: 3All time: 136 This week: 44Up
Version License PHP version Categories
dbf_class 1.0.0GNU Lesser Genera...4.0.0Databases, Files and Folders
Description 

Author

This class is meant to extract information from a database file in the DBF format. It can be used for migrating the DBF file to any format you want.

The class is capable of processing the DBF files using only basic PHP functions. So it does not need any PHP extensions to handle the DBF database files.

It reads the names of the DBF fields and the respective values in the DBF rows and stores them in array variables of the class.

An example of usable is included inside the class within the code comments and now has separated example file.

The class and the example updated by Nick Vrtis (thx Nick !!)
for the changes he made, i quoted From the e-mail i recieved :
"I updated it so that it would handle dbt (the note/memo add on file for dbase). I also also separated the initial file load from the decode, so that you can request individual records, either as a simple indexed array, or an association array.
I also expanded the sample code, so that you can enter a directory, and
also a file name into text boxes. This is not a particularly good idea
for a production site, but is useful for testing."

Picture of Faro K Rasyid
  Performance   Level  
Name: Faro K Rasyid <contact>
Classes: 1 package by
Country: Indonesia Indonesia
Age: 49
All time rank: 2454 in Indonesia Indonesia
Week rank: 52 Up2 in Indonesia Indonesia Up

  Files folder image Files  
File Role Description
Plain text file dbf_class.php Class the DBF reader class
Accessible without login Plain text file read_dbf.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:10,034
This week:3
All time:136
This week:44Up
User Ratings User Comments (7)
 All time
Utility:91%StarStarStarStarStar
Consistency:86%StarStarStarStarStar
Documentation:-
Examples:88%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:867
 
great class, easy to use.
4 years ago (Ionut Berlea)
70%StarStarStarStar
Works good for me.
8 years ago (Oscar)
70%StarStarStarStar
Really usefull nowaday (2010).
13 years ago (Mysok Po)
67%StarStarStarStar
super
13 years ago (romcza)
70%StarStarStarStar
very useful
13 years ago (s_liawidjaya)
70%StarStarStarStar
Love THANKS, I need this class, and without the hassle of com...
15 years ago (ezequiel goldberg)
67%StarStarStarStar
good class to start working with .
16 years ago (Adrien)
67%StarStarStarStar