CodeIgniter Forums
allowed types in upload file - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: allowed types in upload file (/thread-63183.html)



allowed types in upload file - ijang - 10-04-2015

I have allowed types of dwg in my allowed_types, but why it doesn't work, while I have describe this extension in mimes.php. Anyone can solve this problem ?.

Or, is there another way to set disallowed types of file rather than to type very much of allowed types of file if we want to upload more types of data ??


RE: allowed types in upload file - CroNiX - 10-05-2015

Post your definition for DWG that you created in mimes.php, including the associated mime type definitions you used.