Definition :
The is_uploaded_file() function checks whether the specified file is uploaded via HTTP POST.
is_uploaded_file(file)
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