PHP Classes
Icontem

Class: PHP Mime Type Class


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Robert Widdick  >  PHP Mime Type Class  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Mime Type Class Support forum
Base name: phpmimetypeclass
Description: Determine the MIME type of a file
Related top rated classes:
Version: 1.0
Required PHP version: 5.0
Licenses: Free For Educational Use
Free for non-commercial use
Freely Distributable
GNU General Public License (GPL)
The PHP License
Shareware
All time users: 431 users
All time rank: 3835
Week users: 3 users
Week rank: 2392
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Screenshots

Simple Screenshot
File Role Description
Accessible without login Image file ss.jpg Screen Simple Screenshot

Author

Picture of Robert Widdick
Name: Robert Widdick <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: http://www.codehelpers.com/
Age: 22
All time rank: 1156
Week rank: 715

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

Detailed description

This class can be used to determine the MIME type of a file.

If the finfo extension is available it uses it to determine the MIME type of a given file.

If the finfo extension is not available, the class extracts the file name extension and looks up in an array that associates file name extensions to MIME types.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

Link Description
PHP 5 PHP 5 Required
Apache 2+ Apache 2+ Required
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file class.mime.php Class This is a PHP 5 class for attempting to detect the MIME type of a file. Uses FINFO (if available), a pre-defined MIME list, mime_content_type() or defaults to "application/octet-stream" for unknown types.
Plain text file class.types.php Conf. This includes the robust array of mime types
Plain text file example.php Example An example of how to list all files in a directory and display its name, size and MIME type
Plain text file LICENSE.txt Lic. The GNU GPL License
Download all files: phpmimetypeclass.tar.gz phpmimetypeclass.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products