The filesize() function returns the size of the specified file.
This function returns the file size in bytes on success or FALSE on failure.
|filename||Required. Specifies the file to check|
Note: The result of this function are cached. Use clearstatcache() to clear the cache.
The output of the code above will be:
Your message has been sent to W3Schools.