getFileSize()
getFileSize(string $message, string $default = '1MB') : integer|string
Get file size from User.
Parameters
string | $message | Message for User what he must type |
string | $default | Default file size for empty input. Default is '1MB' |
Returns
integer|string —Inserted file size in bytes