mime_content_type

PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
mime_content_type - Detect MIME Content-type for a file
Manual
Code Examples

Example #1 mime_content_type Example

Result: image/gif text/plain
PHP Version:


Function mime_content_type:

File Information Functions

Most used PHP functions