chdir

(PHP 3, PHP 4 >= 4.0b1)

chdir -- change directory

Description

bool chdir (string directory)

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