Summary:
Call to undefined function mime_content_type()
Detailed Description:
I recently tried to select a file through the select interface which was mp3 and
flv and received an error message.:
Fatal error: Call to undefined function mime_content_type() in
/path.../modules/plFileHandler/function.GetFileInfo.php on line 53
Line 53:
$info["mime"] = mime_content_type($filepath);
According to the PHP manual:
"The function requires the (deprecated) Mime Magic extension to be activated."
I couldn't find one host among my clients who support this.
So I changed it to:
$info["mime"] = pathinfo($filepath);
Works... but then again, I am no PHP expert.