Forum und email

dbplus_chdir

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

dbplus_chdir — Get/Set database virtual current directory

Description

string dbplus_chdir ([ string $newdir ] )

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

Parameters

newdir

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.

Notes

Warning

Varoitus! Tämä funktio on EKSPERIMENTAALINEN. Tämän funktion ominaisuudet, käyttäytyminen, parametrit ja nimi voivat muuttua varoituksetta seuraavissa PHP versioissa.