PHP – basename() Function
The PHP basename() function returns the filename from a path.
The PHP copy() function copies a file. If the file already exists, it will be overwritten.
The PHP disk_free_space() function returns the free space, in bytes, of the specified filesystem or disk.
The PHP disk_total_space() function returns the total size, in bytes, of the specified filesystem or disk.
The PHP fclose() function closes an open file pointer that was opened by fopen() or fsockopen().
The PHP feof() function checks if the “end-of-file” (EOF) has been reached for an open file.
The PHP fgetcsv() function parses a line from an open file, checking for CSV fields.
The PHP file() reads a file into an array which contains a line from the file, with the newline character still attached.
The PHP file_exists() function checks whether a file or directory exists.
The PHP fileatime() function returns the last access time of the specified file.