PHP Directory Functions
From w3cyberlearnings
# | Function | Description |
---|---|---|
1 | chdir | Change directory |
2 | chroot | Change the root directory |
3 | closedir | Close directory handle |
4 | dir | Return an instance of the Directory class |
5 | getcwd | Gets the current working directory |
6 | opendir | Open directory handle |
7 | readdir | Read entry from directory handle |
8 | rewinddir | Rewind directory handle |
9 | scandir | List files and directories inside the specified path |