update : 2015.11.03
php.shukuma.com검색:
|
finfo_filefinfo::file(PHP >= 5.3.0, PECL fileinfo >= 0.1.0) finfo_file -- finfo::file — Return information about a file 설명절차식 형식
string finfo_file
( resource
$finfo
, string $file_name = NULL
[, int $options = FILEINFO_NONE
[, resource $context = NULL
]] )객체 기반 형식
public string finfo::file
( string
$file_name = NULL
[, int $options = FILEINFO_NONE
[, resource $context = NULL
]] )This function is used to get information about a file. 인수
반환값
Returns a textual description of the contents of the
예제
Example #1 A finfo_file() example
<?php 위 예제의 출력 예시: text/html image/gif application/vnd.ms-excel |