Login   Register  
PHP Classes

PHP Valid MIME Type: Get the MIME file of file with finfo or file name

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-12-13 (11 months ago) RSS 2.0 feedNot enough user ratingsTotal: 168 All time: 7,442 This week: 1,534Up
Version License PHP version Categories  
mime 1.01The PHP License5.0PHP 5, Files and Folders
Description Author  

This class can get the MIME file of file with finfo or file name.

It can determine the MIME type of a given file using the finfo extension.

If finfo extension is not available, the class can check the file name extension against a list of known file types to make a good guess.

Picture of George Ariton
Name: George Ariton <contact>
Classes: 1 package by
Country: Romania Romania
Age: 25
All time rank: 368278 in Romania Romania
Week rank: 1868 Up42 in Romania Romania Up

  Files folder image Files  
File Role Description
Plain text file Mime.class.php Class Mime class source
Accessible without login Plain text file example.php Example Mime class example script
Accessible without login Image file image.jpg Photo Mime class image used for example

 Version Control Unique User Downloads Download Rankings  
 0%Total:168All time:7,442
 This week:0This week:1,534Up
 User Comments (1)  
This is a good class ;-)
11 months ago (Josť Filipe Lopes Santos)