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

copy

파일을 복사하십시오
이름:copy
분류:파일 시스템
사용 언어:php
한 줄 설명:파일을 복사하십시오.

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token keyword">에코</span><span class="token function"></span></span><mark> <span class="token function">copy</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"source.txt"</span> <span class="token punctuation">,</span> <span class="token string double-quoted-string">"target.txt"</span> <span class="token punctuation">)</span></mark><span class="token punctuation"></span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span>

산출:

 1
유사한 함수
  • 주어진 파일 이름이 일반 파일인지 결정 is_file

    is_file

    주어진파일이름이일반파일인지결정
  • 파일에 쓰기 (이진 파일에 안전하게 사용) fwrite

    fwrite

    파일에쓰기(이진파일에안전하게사용)
  • 파일의 마지막 액세스 시간을 가져옵니다 fileatime

    fileatime

    파일의마지막액세스시간을가져옵니다
  • 파일 포인터에서 줄을 읽고 CSV 필드를 구문 분석합니다. fgetcsv

    fgetcsv

    파일포인터에서줄을읽고CSV필드를구문분
  • is_writable 별칭 is_writeable

    is_writeable

    is_writable별칭
  • 열린 파일 포인터를 닫습니다 fclose

    fclose

    열린파일포인터를닫습니다
  • 파일 상태 캐시를 지우십시오 clearstatcache

    clearstatcache

    파일상태캐시를지우십시오
  • 고유 한 파일 이름이있는 파일을 만듭니다 tempnam

    tempnam

    고유한파일이름이있는파일을만듭니다
인기 기사