COPY TO tablename.dbf TYPE FOXPLUS
The table is exported like DBase IV version and works fine with php.
dbase_open
(PHP 4, PHP 5)
dbase_open — Apre un database dBase
Descrizione
int dbase_open
( string
$filename
, int $flags
)
Restituisce un dbase_identifier per il database aperto, o FALSE se il database non
può essere aperto
I parametri flags corrispondono a quelli della system call open()
(Tipicamente, "0" significa sola-lettura, "1" significa sola scrittura e "2" lettura-scrittura).
Nota: Quando safe-mode è abilitato, PHP controlla che i file o le directory sulle quali si sta andando a lavorare, abbiano lo stesso UID dello script che è in esecuzione.
Anonymous ¶
5 years ago
jmertic at ncscredit dot com ¶
11 years ago
If you are wanting to open Foxpro tables using this, make sure they are in the 2.x format or php will not respond. In VFP use the following:
COPY TO tablename.dbf TYPE FOX2X
This is an easy way to bring database info to the web if you have a small foxpro setup.
