CodeIgniter Forums
file upload with data - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: file upload with data (/thread-29605.html)



file upload with data - El Forum - 04-15-2010

[eluser]dixitvij[/eluser]
HI All.

i have a form having some input fields,among them one is file input.

inputs like: emailid, cell no, resume.

Now i have a controller to handle the data coming and saving it.

bt i not able to deal with file,how i can store it on my location.

Kindly hElp....Quick Reply are always appreciable...



file upload with data - El Forum - 04-15-2010

[eluser]w0bbes[/eluser]
Check userguide on file uploading http://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html


file upload with data - El Forum - 04-15-2010

[eluser]dixitvij[/eluser]
[quote author="w0bbes" date="1271341397"]Check userguide on file uploading http://ellislab.com/codeigniter/user-guide/libraries/file_uploading.html[/quote]



Sir, i checked full page, they have shown only demo with one input type "file",and form action like form_open_multipart().


i have form with 3 inputs email, cell no, resume.

earlier there were only 2 input email and cell no.for that i had controller which was taking input like
$this>input->post('email') etc..

now i have file also as my input.So trying to get, how i shud chnage my code..


PLz HElp...Thanks a lot for quick reply..