PHP Classes

File: mimetypehandler.example.php

Recommend this page to a friend!
  Classes of Tom Reitsma  >  Mime type handler  >  mimetypehandler.example.php  >  Download  
File: mimetypehandler.example.php
Role: Example script
Content type: text/plain
Description: Example usage
Class: Mime type handler
Retrieve MIME type list from a configuration file
Author: By
Last change:
Date: 16 years ago
Size: 145 bytes


Class file image Download


$mime = new MimetypeHandler();

$mime->getMimetype("fdsa.txt"); // Will output: text/plain