PHP – chdir() Function
The PHP chdir() function changes the current directory.
The PHP chroot() function changes the root directory of the current process to directory, and changes the current working directory to “/”.
The PHP dir() function returns an instance of the Directory class and is used to read a directory.
The PHP getcwd() function returns the current working directory.
The PHP readdir() function returns the name of the next entry in a directory.
The PHP rewinddir() function resets the directory handle created by opendir().
The PHP scandir() function returns an array of files and directories of the specified directory.
Thanks for your support!
All are affiliate links. Thank you for your support!