![]() |
File uploads inquiry - 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: File uploads inquiry (/showthread.php?tid=2724) |
File uploads inquiry - El Forum - 08-21-2007 [eluser]stevefink[/eluser] Hi all, Hope everyone had a pleasant weekend. I'm currently running an upload application based on SWFUpload, ( http://swfupload.mammon.se/ ) and I was curious how I can implement the native CI file upload handlers into my code. Currently I'm using something like this in my controller: Code: function upload() Is it alright if I stick with this? The code is so customized, that I'm having difficulty incorporating it the CI way. I have a demo of this application up at http://devel.phpgeek.org/console/addvehicle/photos .. if you want to try to upload multiple files, they'll get deleted on the server right after. Just so you can get an idea of what I'm doing. :-) Thanks, - sf File uploads inquiry - El Forum - 08-21-2007 [eluser]ssjcory[/eluser] I'm not sure what CI is but I do have a suggestion. Put your comments above each line of code. It makes them more readable then being off to the side. Especially if your project is thousands of lines. -Cory File uploads inquiry - El Forum - 08-21-2007 [eluser]Michael Wales[/eluser] CI is Code Igniter - the topic of this forum. File uploads inquiry - El Forum - 08-21-2007 [eluser]ssjcory[/eluser] Ah lol i thought it was just a fancy name hehe :-) Thx. |