PHP function is_uploaded_file()
Availability in versions: PHP 4.0.3
Tells whether the file was uploaded via HTTP POST
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$filename |
string |
not | The filename being checked. |
Return values
bool
Returns true on success, otherwise false on failure.