CodeIgniter Forums
Error in uploading csv file in mozilla - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Error in uploading csv file in mozilla (/thread-23234.html)



Error in uploading csv file in mozilla - El Forum - 10-04-2009

[eluser]rampelli[/eluser]
while uploading a csv file using CI 1.7.1 it is working good in

internet explorer and google chrome but i am getting error in Mozilla 3.5.3 browser

Quote:The filetype you are attempting to upload is not allowed.

can any one help me .. to get out of this problem

below is my code

Code:
$config['upload_path'] = './uploadpath/csv/';
        $config['allowed_types'] = 'csv';
        $config['max_size']    = '5000';
        $this->CI->load->library('upload', $config);
    $this->CI->upload->do_upload('file')



Error in uploading csv file in mozilla - El Forum - 10-04-2009

[eluser]imn.codeartist[/eluser]
very strange, mine one working in mozilla firefox 3.5.3


Error in uploading csv file in mozilla - El Forum - 10-05-2009

[eluser]Flemming[/eluser]
this post might help you? : [email=http://ellislab.com/forums/viewthread/92552/]http://ellislab.com/forums/viewthread/92552/[/email]