Forum und email

dbplus_chdir

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

dbplus_chdir — Get/Set database virtual current directory

說明

string dbplus_chdir ([ string $newdir ] )

Changes the virtual current directory where relation files will be looked for by dbplus_open().

參數

newdir

The new directory for relation files. You can omit this parameter to query the current working directory.

Return值

Returns the absolute path of the current directory.

註釋

Warning

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