• Resolved cingrosso

    (@cingrosso)


    It seems like your PHP installation is missing “mime_content_type” or “finfo_file” functions which are crucial for detecting file types of uploaded attachments. Please update your PHP installation OR be very careful with allowed file types, so intruders won’t be able to upload dangerous code to your website!

    https://wordpress.org/plugins/comment-attachment/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author latorante

    (@latorante)

    Yup, that is true. I wrote that message, if you don’t have those extensions, the PHP cannont deterine the file type of attached file. It could use just the extension, like “.jpg” being an image, but it’s not safe.

    Mart

    Thread Starter cingrosso

    (@cingrosso)

    Thank you for that, so how do we add the missing “mime_content_type” or “finfo_file”?

    Plugin Author latorante

    (@latorante)

    You need to contact your hosting provider and ask them to enable those extesnions.

    Mart

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mime or finfo’ is closed to new replies.