PHP Classes

Classes of Bartek Pohl

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Bartek Pohl (1)  >  Mission progress status  >  Reputation  
Picture of Bartek Pohl
Name: Bartek Pohl <contact>
Classes: 1
Country: Germany Germany
Age: ???
All time rank: 3482194 in Germany Germany
Week rank: 190 Up7 in Germany Germany Up
All time users: 420
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Mime Type Getter  
Determine the MIME type of a given file
This class can be used to determine the MIME type of a file.

It can try to determine the MIME type associated to given file:

- Using the PHP file info extension
- Using the PHP MIME magic extension
- Checking the file name extension

The class can call fallback to the last method if any of the necessary PHP extensions are not available.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z