I have this code on a page:
<?
$im = "/pathtoimagesfolder/10769970034.JPG";
$imtype = mime_content_type('$im');
print $imtype;
?>
If I load the page, I only get an error:
Fatal error: Call to undefined function: mime_content_type() in mimetype.php on line 312
Why would I get an error calling this PHP function?