Jump to content

Recommended Posts

Posted

Hello. According to the PHP docs for this fileinfo function(finfo_open()) at php.net, the fileinfo extensions should be automatically included in PHP 5.3.0 and newer.

 

Stevie is currently running 5.3.8 and is returning undefined function errors on every finfo_* function. I was just wondering if you have manually disabled it or is something wrong with it?

Posted

I was trying to get the mime type of files for an open source file manager I've been making. mime_content_type() is the only other way I've found that will work with files that are already on the server, but it has been deprecated for the fileinfo() functions.

 

If it has to be disabled, that's fine. I can just work on it in xampp.

Posted

Thank you for the suggestion. However, to use a cURL request on every file; especially for just the mime type, uses up a lot more resources than I would like to. I will just continue to test this project on xampp. Sorry for wasting your time.

Guest
This topic is now closed to further replies.
×
×
  • Create New...