<html>
<title> file_exists.php</title>
<body text="#000080" bgcolor="#F7F0D7">
file_exists function <br>
<?php
//file_exists.php
$file = "test_put.txt";

if(file_exists($file))
{
echo ("$file : exists");

}
else
{
echo ("$file does not exists");
}

?>

</body>
</html>