현재 위치: > 함수 카테고리 모음> file_exists

file_exists

파일이나 디렉토리가 있는지 확인하십시오
이름:file_exists
분류:파일 시스템
사용 언어:php
한 줄 설명:파일이나 디렉토리가 있는지 확인하십시오.

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token keyword">echo</span> <span class="token function">file_exists</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

산출:

 1
유사한 함수
  • 출력 파일 readfile

    readfile

    출력파일
  • 파일 포인터가 파일 끝에 도달하는지 테스트 feof

    feof

    파일포인터가파일끝에도달하는지테스트
  • 줄을 CSV로 형식화하고 파일 포인터에 쓰기 fputcsv

    fputcsv

    줄을CSV로형식화하고파일포인터에쓰기
  • 기호 링크의 소유자를 수정하십시오 lchown

    lchown

    기호링크의소유자를수정하십시오
  • disk_free_space의 별칭 diskfreespace

    diskfreespace

    disk_free_space의별칭
  • 구성 파일을 구문 분석하십시오 parse_ini_file

    parse_ini_file

    구성파일을구문분석하십시오
  • 파일의 inode 수정 시간을 가져옵니다 filectime

    filectime

    파일의inode수정시간을가져옵니다
  • 출력 파일 포인터의 나머지 데이터 fpassthru

    fpassthru

    출력파일포인터의나머지데이터