How to upload flv file in codeigniter |
[eluser]Unknown[/eluser]
I am unable to upload flv file in codeigniter.Please provide the solution for uploading flv file.Its very urgent for me.
[eluser]Dam1an[/eluser]
What have you tried so far, and how does it fail? Error, blank screen?
[eluser]sl3dg3hamm3r[/eluser]
You might face problems uploading big data through php itself. By default, a php-script won't run longer than 30 seconds. You might need to work with a java-applet which would open a ftp-connection to your server or something similar. With php alone, you won't become happy dealing with big files.
[eluser]eoinmcg[/eluser]
The user guide is very good and comprehensive on this - and in general. A quick checklist for troubleshooting: Is your target directory writeable? Code: $config['upload_path'] = '/where/you/store/uploads/'; Is flv one the allowed filetypes? Code: $config['allowed_types'] = 'flv' Is the file too big? If you didn't set Code: $config['max_size'] If none of the above work give us some more details on what is happening....
[eluser]bluepicaso[/eluser]
m trying hte same but m getting ht error. Quote:The filetype you are attempting to upload is not allowed. my code is this Code: function upVideo() i have also included flv ion mimes but its doesnt work
[eluser]bluepicaso[/eluser]
go it!!!! In mimes, instead of Code: 'flv' => 'video/x-flv' use Code: 'flv' => 'video/flv' |
Welcome Guest, Not a member yet? Register Sign In |