File Information
PHP provides functions to retrieve information about files.
Common functions include:
filesize()filemtime()filetype()
Example
Section titled “Example”echo filesize("example.txt");Last modification time
Section titled “Last modification time”echo filemtime("example.txt");