YouTip LogoYouTip

Func Filesystem Is Uploaded File

# PHP is_uploaded_file() Function * * Complete PHP Filesystem Reference Manual](#) * * * ## Definition and Usage The is_uploaded_file() function checks whether a specified file was uploaded via HTTP POST. If the file was uploaded via HTTP POST, the function returns TRUE. ## Syntax is_uploaded_file(file) | 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 code above will output: test.txt is not uploaded via HTTP POST * * Complete PHP Filesystem Reference Manual](#)
← Func Filesystem Is WritableFunc Filesystem Is Readable β†’