O'Reilly logo

Core PHP Programming: Using PHP to Build Dynamic Web Sites by Leon Atkinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

dBase

The following functions work on dBase files, which typically end with a .dbf extension. If you are using the precompiled version for Windows, you will need to load the dBase extension by editing php.ini or using the dl function. The extension is likely called php_dbase.dll but was unavailable at the time of this writing. On other operating systems it's easy to compile dBase support into PHP.

The dBase functionality in PHP is somewhat limited. Index and memo fields are not supported. Neither is any kind of locking. The dBase functionality in PHP is meant to be a means of importing data from what has become somewhat of a lowest common denominator in data exchange.

Jim Winstead added dBase support to PHP.

boolean dbase_add_record(integer database, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required