uoploading more than one file. - 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: uoploading more than one file. (/showthread.php?tid=10732) |
uoploading more than one file. - El Forum - 08-10-2008 [eluser]PHP Programmer[/eluser] I have uploaded one file but I have other options to upload other files also on the same page. I have to upload them (two files more)separately without making an array. If I give the name other than userfile then no more files get uoplaoded. How can I do get success? uoploading more than one file. - El Forum - 08-10-2008 [eluser]Colin Williams[/eluser] Run the upload process for each field: Code: $this->upload->do_upload('userfile'); Sounds like you added fields on the front end and did nothing on the back-end to accommodate. It isn't magic ya know! uoploading more than one file. - El Forum - 08-10-2008 [eluser]Sumon[/eluser] I have an example which might helpful for you. It re size image as well. Code: if(basename($_FILES['filePhoto1']['name'])!="") uoploading more than one file. - El Forum - 08-11-2008 [eluser]PHP Programmer[/eluser] thanks for your replies...it worked |