JavaScript Editor Javascript debugger     Website design 


Get/Set database virtual current directory (PHP 4 >= 4.0.7, PECL dbplus:0.9)
string dbplus_chdir ( [string newdir] )

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



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

Return Values

Returns the absolute path of the current directory.



This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.