Name
opendir
Synopsis
int opendir(string path
)
Opens the directory path
and returns a
directory handle for the path that is suitable for use in subsequent
readdir( )
, rewinddir( )
, and
closedir( )
calls. If
path
is not a valid directory, if
permissions do not allow the PHP process to read the directory, or if
any other error occurs, false
is returned.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.