PHP Manual
Function Reference
File System Related Extensions
Fileinfo
Introduction
Installing/Configuring
Predefined Constants
Fileinfo Functions
finfo
Predefined Constants
finfo_buffer
Fileinfo
PHP Manual
Fileinfo Functions
Table of Contents
finfo_buffer
— Return information about a string buffer
finfo_close
— Close finfo instance
finfo_file
— Return information about a file
finfo_open
— Create a new finfo instance
finfo_set_flags
— Set libmagic configuration options
mime_content_type
— Detect MIME Content-type for a file