Forum und email

dbplus_open

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_open — Open relation file

說明

resource dbplus_open ( string $name )

Opens the given relation file.

參數

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.

Return值

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

註釋

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。