현재 위치: > 함수 카테고리 모음> 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
유사한 함수
  • 구성 파일을 구문 분석하십시오 parse_ini_file

    parse_ini_file

    구성파일을구문분석하십시오
  • 얻은 파일 그룹 filegroup

    filegroup

    얻은파일그룹
  • 파일에 대한 변경 동기화 (메타 데이터 포함) fsync

    fsync

    파일에대한변경동기화(메타데이터포함)
  • 파일 또는 URL을 엽니 다 fopen

    fopen

    파일또는URL을엽니다
  • 파일 읽기 (이진 파일에서 안전하게 사용) fread

    fread

    파일읽기(이진파일에서안전하게사용)
  • 파일 수정 시간을 얻습니다 filemtime

    filemtime

    파일수정시간을얻습니다
  • 파일 시스템 또는 디스크 파티션에서 사용 가능한 공간을 반환합니다. disk_free_space

    disk_free_space

    파일시스템또는디스크파티션에서사용가능한
  • 파일의 형식 입력 fscanf

    fscanf

    파일의형식입력