PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dbase_pack> <dbase_numrecords
Last updated: Fri, 18 Jul 2008

view this page in

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.



add a note add a note User Contributed Notes
dbase_open
Anonymous
12-Jan-2008 12:05
COPY TO tablename.dbf TYPE FOXPLUS
The table is exported like DBase IV version and works fine with php.
jmertic at ncscredit dot com
17-Oct-2001 01:57
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.

dbase_pack> <dbase_numrecords
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites