Welcome Guest, Not a member yet? Register   Sign In
Multiple File upload Problem

Hello Friends,

I want to upload multiple file from one upload file control. I do it as below:

<input type="file" name="ucfd_file[]" id="ucfd_file[]" class="textbox" tabindex="18" /> <input class="textbox" type="button" name="button" value="Add" tabindex="19" >
<input type="hidden" name="link_total1" id="link_total1" value="0">

in addFileElement function I pass this name in hidden field which is array of added file name and at that time the file upload control name is clear(blank). so, i m able to added another file from there.

Now i need to pass file name in argument of $this->upload->do_upload('ucfd_file[]'). But at time of upload file it is blank. If i pass array of hidden field then it also can't working.

Please suggest me what i can do to solve this problem? Any help is really appreciate.
Thanks in advance...

Theme © iAndrew 2016 - Forum software by © MyBB