get_file_info($file[, $returned_values = array('name', 'server_path', 'size', 'date')])
Parameters:
$file (string) – File path
$returned_values (array) – What type of info to return Returns:
An array containing info on the specified file or FALSE on failure Return type:
array
Given a file and path, returns (optionally) the name, path, size and date modified information attributes for a file. Second parameter allows you to explicitly declare what information you want returned.
Valid