September 2001
Intermediate to advanced
768 pages
32h 45m
English
int filesize(string filename) Retrieves file size.
Returns:
Size of file; FALSE on error
Description:
Returns the size of the specified file in bytes.
Note:
The results of this function are cached. See clearstatcache() for details.
Example:
$filesize = filesize("myfile");
echo ($filesize);
|
Read now
Unlock full access