Welcome Guest, Not a member yet? Register   Sign In
.FLV file upload problem
#1

[eluser]Justin Patel[/eluser]
Hello friends,

I am trying to upload the flash file format, but it gives the error that this file format is not allowd.

please let me know, what can be the problem

Code:
$config['upload_path'] = './videos/';
                        $config['allowed_types'] = 'flv';
                        $config['max_size']    = '100000';
                        $config['max_width']  = '10000';
                        $config['max_height']  = '10000';
                        
                        $this->load->library('upload', $config);
                    
                        if ( ! $this->upload->do_upload())
                        {
                            $error = array('error' => $this->upload->display_errors());
                            print_r($error);
                        }    
                        else
                        {
                            $data = array('upload_data' => $this->upload->data());
                            print_r($data);
                        }


Messages In This Thread
.FLV file upload problem - by El Forum - 01-20-2008, 04:32 PM
.FLV file upload problem - by El Forum - 01-20-2008, 04:40 PM
.FLV file upload problem - by El Forum - 01-20-2008, 04:43 PM
.FLV file upload problem - by El Forum - 01-21-2008, 03:05 AM
.FLV file upload problem - by El Forum - 01-21-2008, 03:07 AM
.FLV file upload problem - by El Forum - 01-21-2008, 03:24 AM
.FLV file upload problem - by El Forum - 01-21-2008, 03:35 AM
.FLV file upload problem - by El Forum - 02-26-2008, 10:29 AM
.FLV file upload problem - by El Forum - 06-24-2008, 11:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB