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: Sat, 24 Mar 2007

view this page in

filetype

(PHP 4, PHP 5)

filetype — Vrací typ souboru

Popis

string filetype ( string $filename )

Vrací typ souboru. Možné hodnoty jsou fifo, char, dir, block, link, file a unknown.

Při chybě vrací FALSE.

Výsledek této funkce je cachován. Více informací - viz clearstatcache().



add a note add a note User Contributed Notes
filetype
ruach at chpc dot utah dot edu
10-Mar-2004 08: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: Sat, 24 Mar 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites