chdir

(PHP 3, PHP 4 >= 4.0.0)

chdir -- change directory

Description

bool chdir ( string directory)

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