I am trying to redirect if working.php is present in folder other wise echo no file.
this script only echo's no file.
thanks.
<?php
$filename = 'working.php';
if(file_exists('$filename'))
{
header( 'Location: welcome.php' ) ;
}
else
{
echo "NO FILE";
}
?>