get_file_info($file[, $returned_values = array('name', 'server_path', 'size', 'date')])
Parameters: |
|
---|---|
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 $returned_values
options are: name
, size
, date
, readable
, writeable
, executable
and fileperms
.
Please login to continue.