PX_OPEN_FP(3) PX_OPEN_FP(3)
px_open_fp - Open paradox database
SYNOPSIS
bool px_open_fp (resource $pxdoc, resource $file)
DESCRIPTION
Open an existing paradox database file. The actual file has to be opened before with fopen(3). This function can also be used to open pri-
mary index files and tread them like a paradox database. This is supported for those who would like to investigate a primary index. It can-
not be used to accelerate access to a database file.
PARAMETERS
o $pxdoc
- Resource identifier of the paradox database as returned by px_new(3).
o $file
-$file is the return value from fopen(3) with the actual database file as parameter. Make sure the database is writable if you
plan to update or insert records.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
fopen(3), The example at px_new(3).
PHP Documentation Group PX_OPEN_FP(3)