opendir

(PHP 3, PHP 4 >= 4.0.0)

opendir -- open directory handle

Description

int opendir (string path)

Returns a directory handle to be used in subsequent closedir(), readdir(), and rewinddir() calls.