(PHP 3, PHP 4 >= 4.0.0)
int chdir (string directory)
int chdir
PHP のカレント・ディレクトリを directory に変更します。ディレクトリを変更できなかった場合は FALSE を 返し、そうでなければ TRUE を返します。