CodeIgniter Forums
allowed types in upload file - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: allowed types in upload file (/showthread.php?tid=63183)



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.