chdir

(PHP 3, PHP 4 )

chdir -- Change directory

Description

bool chdir ( string directory)

Changes PHP's current directory to directory. 成功回傳TRUE失敗回傳FALSE。.

See also getcwd().