php 파일 존재 체크
file_exists() 와 is_file() 그리고 file() 함수 사용 file_exists('/폴더/file.txt'); 처럼 안될 경우 file_exists('./폴더/file.txt'); 처럼 해볼 것 https://webisfree.com/2015-02-03/[php]-서버에-특정-파일이-있는지-확인-file-exists()-is-file()-file() [PHP] 서버에 특정 파일이 있는지 확인, file_exists(), is_file(), file() 특정 파일이 php 서버 저장소에 실제로 존재하는지 확인하기 위해 사용할 수 있는 PHP 함수에 대하여 알아보겠습니다. webisfree.com 다른 서버의 파일 확인 경우 file_get_contents() 활용 전체파일을 문자열로 읽어..