Upload Quicktime file |
Hi
I am trying to upload a quicktime file (.m4v) but it is failing saying i am trying to upload an invalid file type. Here is the relevant section from mimes.php PHP Code: 'qt' => 'video/quicktime', and here is the relevant section from my controller PHP Code: $config['upload_path'] = 'uploads/'; Can any one spot anything wrong? Thanks
You can try to add the mime type to the ./application/config/mimes.php file.
PHP Code: 'm4v' => 'video/x-m4v', Also try using mp4 or you can use the AddType in an .htaccess file. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I do see something wrong - you're prepending elements to an array that already includes the same keys.
|
Welcome Guest, Not a member yet? Register Sign In |