The is_uploaded_file() function checks whether the specified file is uploaded via HTTP POST.
This function returns TRUE if the file is uploaded via HTTP POST.
|file||Required. Specifies the file to check|
Note: The result of this function are cached. Use clearstatcache() to clear the cache.
The output of the code above could be: