<html> <title> file_is_file.php</title> <body text="#000080" bgcolor="#F7F0D7"> is_file function <br> <?php //file_is_file.php $file = "test_put.txt"; if(is_file($file)) { echo "it is a file <br>";} ?> </body> </html>