Validation of maximum file upload size
Parameters | |||
---|---|---|---|
array
|
$value |
The $_FILES array |
# |
int
|
$maxSize = null |
The maximum file size in MB |
# |
Returns | |
---|---|
boolean
|
TRUE if the uploaded file does not exceed the given file size, FALSE otherwise |