XXIX. Directory Functions

�ݨD

�إ߳o�ө��ݭn���~�{�w�C

�w��

�o�Ǩ�ƬOPHP�֤ߪ�@��A�ݭn�w�˴N�i�ϥΡC

���ɴ�պA

php.ini�S�w�q��պA��O�C

�w��w�q�`��

�H�U�`�ƥѦ��w�q�A�u�b�o�ө��Q�sĶ�PHP�ι��ɴ�Q�ʺA��J�ɦ�ġC

DIRECTORY_SEPARATOR (string)

PATH_SEPARATOR (string)

注: The PATH_SEPARATOR was introduced with PHP 4.3.0-RC2.

�Ѧ�

For related functions such as dirname(), is_dir(), mkdir(), and rmdir(), see the Filesystem section.

內容目錄
chdir -- Change directory
chroot -- Change the root directory
dir -- Directory class
closedir -- Close directory handle
getcwd -- Gets the current working directory
opendir -- Open directory handle
readdir -- Read entry from directory handle
rewinddir -- Rewind directory handle
scandir -- List files and directories inside the specified path