CodeIgniter Forums
Problem with file extentions with the upload class - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Problem with file extentions with the upload class (/showthread.php?tid=45992)



Problem with file extentions with the upload class - El Forum - 10-13-2011

[eluser]Unknown[/eluser]
Hi there,

Code:
$config['upload_path'] = './upload/';
$config['allowed_types'] = ' ';
  
$this->load->library('upload',$config);
$this->upload->do_upload();

The problem is, that i need to be able to upload files with for example: .074 .075 .076 all the way to .999. Codeigniter obligates me to set "allowed_types".

thoughts?