PHP | Filesystem Functions Complete Reference
The Filesystem function is used to access and manipulate filesystem. It is the part of PHP code so no need to install these functions.
For accessing the files on the system, the file path will be used. On Unix system, forward slash (/) is used as a directory separator and on Windows platform, both forward slash (/) and backward slash (\) will be used.
The list of complete Filesystem functions are given below:
- PHP | basename() Function
- PHP | chgrp() Function
- PHP | chmod() Function
- PHP | chown() Function
- PHP | copy() Function
- PHP | dirname() Function
- PHP | disk_free_space() Function
- PHP | disk_total_space() Function
- PHP | fclose() Function
- PHP | feof() Function
- PHP | fflush() Function
- PHP | fgetc() Function
- PHP | fgets() Function
- PHP | fgetss() Function
- PHP | file_exists() Function
- PHP | file_get_contents() Function
- PHP | file_put_contents() Function
- PHP | fileatime() Function
- PHP | filectime() Function
- PHP | filemtime() Function
- PHP | fileperms() Function
- PHP | filesize() Function
- PHP | filetype() Function
- PHP | SplFileObject flock() Function
- PHP | fnmatch() Function
- PHP | fopen() (Function open file or URL)
- PHP | fpassthru() Function
- PHP | fputcsv() Function
- PHP | fputs() Function
- PHP | fread() Function
- PHP | fseek() Function
- PHP | fstat() Function
- PHP | ftell() Function
- PHP | ftruncate() Function
- PHP | fwrite() Function
- PHP | is_dir() Function
- PHP | is_executable()
- PHP | is_file() Function
- PHP | is_link() Function
- PHP | is_readable() Function
- PHP | is_uploaded_file() Function
- PHP | is_writable() Function
- PHP | link() Function
- PHP | lstat() function
- PHP | mkdir() Function
- PHP | pathinfo() Function
- PHP | pclose() Function
- PHP | popen() Function
- PHP | readfile() Function
- PHP | realpath() Function
- PHP | rename() Function
- PHP | rewind() Function
- PHP | rmdir() Function
- PHP | stat() function
- PHP | symlink() function
- PHP | tmpfile() Function
- PHP | touch() function
- PHP | unlink() function