PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

flock> <filesize
Last updated: Sun, 25 Nov 2007

view this page in

filetype

(PHP 4, PHP 5)

filetype — 파일의 형식을 가져옵니다

Description

string filetype ( string $filename )

반환되는 파일의 형식은 fifo, char, dir, block, link, file, 그리고 unknown 입니다.

에러가 발생하면 FALSE를 반환합니다.

이 함수의 실행결과는 캐시가 됩니다. 좀 더 자세한 내용을 알고 싶을때는 clearstatcache()를 참조하세요.



add a note add a note User Contributed Notes
filetype
ruach at chpc dot utah dot edu
10-Mar-2004 05:11
There are 7 values that can be returned. Here is a list of them and what each one means

block: block special device

char: character special device

dir: directory

fifo: FIFO (named pipe)

file: regular file

link: symbolic link

unknown: unknown file type

flock> <filesize
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites