DBA_POPEN(3) 1 DBA_POPEN(3)
dba_popen - Open database persistently
SYNOPSIS
resource dba_popen (string $path, string $mode, [string $handler], [mixed $...])
DESCRIPTION
dba_popen(3) establishes a persistent database instance for $path with $mode using $handler.
PARAMETERS
o $path
- Commonly a regular path in your filesystem.
o $mode
- It is r for read access, w for read/write access to an already existing database, c for read/write access and database creation
if it doesn't currently exist, and n for create, truncate and read/write access.
o $handler
- The name of the handler which shall be used for accessing $path. It is passed all optional parameters given to dba_popen(3) and
can act on behalf of them.
RETURN VALUES
Returns a positive handle on success or FALSE on failure.
SEE ALSO
dba_open(3), dba_close(3).
PHP Documentation Group DBA_POPEN(3)