PHP is_uploaded_file() Function

PHP is_uploaded_file Function


Definition :

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

Syntax :

  is_uploaded_file(file)

Parameter:
Parameter Description
file Required. Specifies the path to the file to check

Given below example Check whether the specified filename is uploaded via HTTP POST:

Output : demo.txt is not uploaded via HTTP POST