PHP – basename() Function
The PHP basename() function returns the filename from a path.
The PHP basename() function returns the filename from a path.
The PHP chgrp() function changes the usergroup of the specified file.
The PHP chmod() function changes permissions of the specified file.
The PHP chown() function changes the owner of the specified file.
The PHP clearstatcache() function clears the file status cache.
The PHP copy() function copies a file. If the file already exists, it will be overwritten.
The PHP dirname() function returns the path of the parent directory.
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 fflush() function writes all buffered output to an open file.
The PHP fgetc() function returns a single character from 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 file_get_contents() reads a file into a string.
The PHP file_put_contents() writes data to a file.
The PHP fileatime() function returns the last access time of the specified file.
Thanks for your support!
All are affiliate links. Thank you for your support!