PHP Classes

DBF Class: Extract information from a DBF database file

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 10,036 All time: 136 This week: 60Up
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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:10,036
This week:0
All time:136
This week:60Up
User Ratings User Comments (7)
 All time
Utility:91%StarStarStarStarStar
Consistency:86%StarStarStarStarStar
Documentation:-
Examples:88%StarStarStarStarStar
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:878
 
great class, easy to use.
5 years ago (Ionut Berlea)
70%StarStarStarStar
Works good for me.
9 years ago (Oscar)
70%StarStarStarStar
Really usefull nowaday (2010).
14 years ago (Mysok Po)
67%StarStarStarStar
super
14 years ago (romcza)
70%StarStarStarStar
very useful
14 years ago (s_liawidjaya)
70%StarStarStarStar
Love THANKS, I need this class, and without the hassle of com...
16 years ago (ezequiel goldberg)
67%StarStarStarStar
good class to start working with .
17 years ago (Adrien)
67%StarStarStarStar