Function __global->get_upload_error_message
Definitions
sources/uploads.php
- Get error message for an upload.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$file_upload | array | required parameter | N/A | N/A | The $_FILES array entry |
$should_get_something | boolean | True | N/A | N/A | Whether to give a (deferred?) error if no file was given at all |
$max_size | ?integer | Null | N/A | N/A | Maximum file size in bytes (null: default from get_max_file_size function) |
Return
- Error message (null: none)
- Type: ?Tempcode
- Set: N/A
- Range: N/A