Cant upload a video file to folder - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Cant upload a video file to folder (/showthread.php?tid=59864) |
Cant upload a video file to folder - El Forum - 12-01-2013 [eluser]rad11[/eluser] Hello i have a problem with uploading file to folder. I added mimes Code: 'mp4' => 'video/mp4', My controller Code: public function upload_videos(){ When i submited i have error Code: You did not select a file to upload. Cant upload a video file to folder - El Forum - 12-02-2013 [eluser]Massaki[/eluser] Does your upload folder have writing permition? Cant upload a video file to folder - El Forum - 12-02-2013 [eluser]CroNiX[/eluser] Did you tell the upload class what field name it was so it knows where to look? Code: if ( ! $this->upload->do_upload('uploadFile')){ Cant upload a video file to folder - El Forum - 12-02-2013 [eluser]rad11[/eluser] I named, a field call userfile that look my form Code: <?php Cant upload a video file to folder - El Forum - 12-02-2013 [eluser]rad11[/eluser] Ok I changed post_max_size = 30 and it is work. |