Uploader.php function _file_mime_type fails in CI 2.1 |
[eluser]skunkbad[/eluser]
You can use valum's uploader, which I am using in Community Auth, but you've still got to validate the file, and if you're not going to use the CodeIgniter Upload library to do it, I hope you will at least do something similar. Also, because valum's uploader is a javascript uploader, if you plan to accommodate users who have javascript disabled, then valum's uploader isn't exactly a perfect solution or workaround. I think your best option is to revert back to an Upload library from a previous version of CodeIgniter, although the newer one that uses finfo would be considered considerably safer. |
Welcome Guest, Not a member yet? Register Sign In |