chdir

(PHP 3, PHP 4 )

chdir -- change directory

Description

bool chdir ( string directory)

Changes PHP's current directory to directory. Returns FALSE if unable to change directory, TRUE otherwise.

See also getcwd().