더 나은 프로그래머가 되자

파일 유무,파일 존재 확인 file_exists() 본문

언어/PHP

파일 유무,파일 존재 확인 file_exists()

greathuman 2015. 1. 8. 18:31

if(file_exists("../data/file/test.txt)){
  echo "파일이 존재 합니다.";
}else{
  echo "파일이 존재하지 않습니다.";
}

Comments