PHP/file_exists()

解説 fileが存在する場合trueを返す
sample1 yes
sample1code
if(file_exists("isset.php")){
  echo "yes";
} else {
  echo "no";
}