CodeIgniter Forums

Full Version: Error in uploading csv file in mozilla
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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')

El Forum

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

El Forum

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