![]() |
Uploading Files with No Mime Type - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Uploading Files with No Mime Type (/showthread.php?tid=36435) |
Uploading Files with No Mime Type - El Forum - 12-01-2010 [eluser]derekmichaeljohnson[/eluser] I'm using ZOHO Writer which allows users to upload Word Docs to their server to edit using their UI. Whenever a user saves their document, ZOHO sends it back to my server to process and upload. The problem is that when ZOHO is sending it back, there's no mime type and thus CodeIgniter is saying "the filetype you're uploading is not allowed." Here is the upload data of what ZOHO is sending: Code: name: 1291215938663_sample_resume2.doc As you can see, the "type" is blank. Any ideas on how to solve this? Uploading Files with No Mime Type - El Forum - 12-02-2010 [eluser]Dennis Rasmussen[/eluser] Edit your application/config/mimes.php file to include the mimetype of the file you want to work with. Apparently it's not listed. |