Location: PHPKode > scripts > Mime type handler > mime-type-handler/mimetypehandler.example.php
<?php

include("mimetypehandler.class.php");

$mime = new MimetypeHandler();

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

?>
Return current item: Mime type handler