Upload FLV to my server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Upload FLV to my server (/showthread.php?tid=55520) |
Upload FLV to my server - El Forum - 10-30-2012 [eluser]Unknown[/eluser] Hi, i;m new on codeigniter, i've upload my project into a website, now i confused when i try it on xampp upload FLV works fine but when i upload on server it read as a text-plain, here's my code : Code: if (!empty($_FILES['userfile']['name'])) { i also add code to my mimes : Code: 'flv' => array('video/flv', 'video/x-flv', 'flv-application/octet-stream', 'application/octet-stream'), and htaccess Code: AddType video/x-flv .flv but still i can't upload the video format FLV, somebody can help me the error message "The filetype you are attempting to upload is not allowed." , but it works fine with JPEG, MP3 but when video files it read as a plain-text |