Webmastersite.net
Register Log In

Fatal error: mime_content_type

Title Fatal error: mime_content_type
Message Text Fatal error: Call to undefined function mime_content_type() in /home/xxx/public_html/xxx/classes/attachment.php on line 172 Had a recent server move/upgrade by my host. From what I googled & from php.net below, appears this function is no longer supported on my new server. php.net - "This function has been deprecated as the PECL extension Fileinfo provides the same functionality (and more) in a much cleaner way." Is there a solution other than removing/comment out that part of the code. Also, not sure why - line170 if (functionwillwork('mime_content_type')) is not working as this should of been the solution? Thanks in advance. - Rich
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership RF
Views 482 views. Averaging 0 views per day.
Similar Topics
Submission Date Oct 19, 2011 - 9:43 AM