Pure PHP Upload problem with Multiple Upload fields
Question:
I use Pure PHP Upload with multiple upload fields, but only one file is uploaded to the server.
In order to use a multiple file upload field, each file field should have unique name. Please check the following code:
I use Pure PHP Upload with multiple upload fields, but only one file is uploaded to the server.
Answer:
In order to use a multiple file upload field, each file field should have unique name. Please check the following code:
<input name="file1" type="file" onchange="checkOneFileUpload(this,'',true,2000,'','','','','','')">
<input name="file2" type="file" onchange="checkOneFileUpload(this,'',true,2000,'','','','','','')">
<input name="file3" type="file" onchange="checkOneFileUpload(this,'',true,2000,'','','','','','')">
Comments
Be the first to write a comment
You must me logged in to write a comment.