chdir PHP 3.0

bool chdir(string directory)

 

Changes the current directory.

chroot PHP 4.0.5

bool chroot(string directory)

 

Changes root directory.

dir PHP 3.0

object dir(string directory)

 

Directory class with properties for handle and class and methods to read, rewind, and close.

closedir PHP 3.0

void closedir([resource dir_handle])

 

Closes directory connection identified by dir_handle.

getcwd PHP 4.0

mixed getcwd(void)

 

Gets the current directory.

opendir PHP 3.0

mixed opendir(string path)

 

Opens a directory and returns a dir_handle.

readdir PHP 3.0

string readdir([resource dir_handle])

 

Reads directory entry from dir_handle.

rewinddir PHP 3.0

void rewinddir([resource dir_handle])

 

Rewinds dir_handle back to the start.