Hello and Good Morning, so here's my question.
Basically, I need an alternative to mime_content_type and fileinfo.
Reason behind Fileinfo is becuase for some reason I can't get it to work whatsoever, and it's installed on my webserver (Host installed it). It says: Fatal error: Call to undefined function finfo_open(). I asked a fellow PHP programmer and she said that it sounds like they didn't install it. They reinstalled it and it's still the same.
As for the mime_content_type, which works well, except it only returns the mimes .jpg, and .gif, meaning that .png, .zip, .rar etc. get put out as text/plain which is bad. Becuase I am trying to limit the mime types to certain ones.
So basically if theres a fix for either of these or an alternative to those it would be helpful to have.