Function __global->_get_specify_url
Definitions
sources/uploads.php
- Filters specified URLs to make sure we're really allowed to access them.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$member_id | MEMBER | required parameter | N/A | N/A | Member ID to check permissions with |
$specify_name | ID_TEXT | required parameter | N/A | N/A | The name of the POST parameter storing the URL (if '', then no POST parameter). Parameter value may be blank. |
$upload_folder | ID_TEXT | required parameter | N/A | N/A | The folder name where we will put this upload |
$enforce_type | integer | 15 | N/A | N/A | The type of upload it is (bitmask, from CMS_UPLOAD_* constants) |
$accept_errors | boolean | False | N/A | N/A | Whether to accept upload errors |
Return
- A pair: the URL and the filename
- Type: array
- Set: N/A
- Range: N/A