is_uploaded_file

It checks whether the file was uploaded via HTTP POST

Example

<?php

echo is_uploaded_file(‘test.txt’)?”Yes”:”No”;

?>

Output

No

Share