Easy Tutorial
❮ Func Math Getrandmax Func Curl_Multi_Exec ❯

PHP is_uploaded_file() Function



Definition and Usage

The is_uploaded_file() function checks whether the specified file was uploaded via HTTP POST.

If the file was uploaded via HTTP POST, the function returns TRUE.

Syntax

Parameter Description
file Required. Specifies the file to check.

Tips and Notes

Note: The result of this function is cached. Use clearstatcache() to clear the cache.


Example

The above code will output:

❮ Func Math Getrandmax Func Curl_Multi_Exec ❯