Posted By

benpjohnson on 07/13/06


Tagged

fix code igniter upload


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

NexusRex
halbtuerke
purefusion


Fix for code igniter csv uploads via windows


 / Published in: PHP
 

URL: http://www.codeigniter.com

Not a great solution will need to look further at why files are being sent in binary form

Add this to the mime types array in the Upload class

  1. 'csv' => array('text/plain','application/octet-stream'),
  2. 'tsv' => array('text/plain', 'application/octet-stream')

Report this snippet  

You need to login to post a comment.