dbplus_open

(PHP 4 >= 4.0.7RC1)

dbplus_open -- Open relation file

Description

resource dbplus_open (string name)

Warning

This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.

The relation file name will be opened. name can be either a file name or a relative or absolute path name. This will be mapped in any case to an absolute relation file path on a specific host machine and server.

On success a relation file resource (cursor) is returned which must be used in any subsequent commanads referencing the relation. Failure leads to a zero return value, the actual error code may be asked for by calling dbplus_errno().