Login   Register  
PHP Classes
elePHPant
Icontem

DBF Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Faro K Rasyid
Name: Faro K Rasyid <e-mail contact>
Packages: 1 Browse all classes by Faro K Rasyid Browse all classes by
Country: Indonesia Indonesia - PHP jobs in Indonesia
Age: 38
All time rank: 2704 in Indonesia Indonesia
Week rank: 336 Down6 in Indonesia Indonesia Down


  Detailed description   Download .zip .tar.gz  
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."

  Classes of Faro K Rasyid  >  DBF Class  >  Download .zip .tar.gz  >  Support forum Support forum (13)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: DBF Class
Base name: dbf_class
Description: Extract information from a DBF database file
Version: -
PHP version: 4.0.0
License: GNU Lesser General Public License (LGPL)
All time users: 8198 users
All time rank: 170
Week users: 8 users
Week rank: 274 Down
 
  Groups   Freshmeat project   Rate classes User ratings  
  Trackback   Applications   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  Freshmeat project  
Project record: dbfclass
Popularity score: 29.24
Vitality score: 57.89

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (90.5%)
Good (84.5%)
-
Good (87.5%)
-
-
Sufficient (62.4%)
677
Month:
Not yet rated by the users

  Trackback links  
Link Description
DBF2MySQL Czasem istnieje koniecznosc przeniesienia bazy danych DBF do MySQL...

  Applications that use this class  
Link Description
HMGSCRIPT 0.36 HMGScript is a JavaScript library. The goal of the project is to allow developers the creation of web applications using the same logic as desktop applications via simple objects. For data manipulation, it allows the use of MySql databases and dbf (xBase) files (based on DBF reader Class by Faro K Rasyid).
PHP : How to import DBF table into MySQL database I am currently working on a web project where requires a feature to import the DBF's table(s) into MySQL database. After some experiments, i found a powerful PHP class named 'dbf_class'
Add link image If you know an application of this package, send a message to the author to add a link here.
  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

Download all files: dbf_class.tar.gz dbf_class.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.