UK[??p?l??d] US[??p?lo?d]

n. Upward (action) load; upload (or upload) data

vt. Upload, upload

Third person singular: uploads Present participle: uploading Past tense: uploaded Past participle: uploaded

php is_uploaded_file() function syntax

Function: Determine whether the specified file is uploaded through HTTP POST.

Syntax: is_uploaded_file(file)

Parameters:

Parameter Description
file Required. Specifies the documents to be checked.?

Explanation: Returns TRUE if the file given by file is uploaded through HTTP POST.

php is_uploaded_file() function example

<?php
$file = "index.txt";
if(is_uploaded_file($file))
{
    echo "該文件是上傳的";
}else{
    echo "該文件不是上傳的";
}
?>

Run instance?

Click the "Run instance" button to view the online instance

Output:

該文件不是上傳的