Sommaire

Accès aux dossiers

chroot
chdir
dir
closedir
getcwd
opendir
readdir
rewinddir

6.24.2 chdir

PHP 3, PHP 4 >= 4.0.0

Description

int chdir(string directory )

chdir change le dossier courant de PHP en directory. chdir retourne FALSE si l'opération échoue, et TRUE sinon.