filesize

filesize

(PHP 4, PHP 5, PHP 7)

filesizeGets file size

Description

int filesize ( string $filename )

Gets the size for the given file.

Parameters

filename

Path to the file.

Return Values

Returns the size of the file in bytes, or FALSE (and generates an error of level 登录查看完整内容