Multiple Upload of Files Using Pure PHP Upload?
Question:
I am wondering if there is a way to use the Pure PHP Upload extension to upload multiple files? Ideally, I would like to have 4 or 5 File fields on a page to allow users to upload 1 - 5 different files to the server.
Sure, this is possible. Put multiple file fields in your form and Pure PHP Upload handles the rest for you. You only have to apply the extension once to the page, so it's independant of the number of file fields you will be using.
I am wondering if there is a way to use the Pure PHP Upload extension to upload multiple files? Ideally, I would like to have 4 or 5 File fields on a page to allow users to upload 1 - 5 different files to the server.
Is this at all possible?
Answer:Sure, this is possible. Put multiple file fields in your form and Pure PHP Upload handles the rest for you. You only have to apply the extension once to the page, so it's independant of the number of file fields you will be using.
Be aware that all files will be uploaded to the same directory. The current version of the extension does not allow uploading to multiple folders.
For DMX 2004 users:
If using multiple file fields, be sure the file fields carry unique names.
DMX 2004 gives all file fields by default the same name if you did not define the name.
Comments
OK, but what happens, if you want to upload 1 picture and a pdf file?
RE: OK, but what happens, if you want to upload 1 picture and a pdf file?
Please post support questions in the forum for Pure PHP Upload:
http://www.dmxzone.com/forum/default.asp?NewsId=4509
Martha Graham
DMXzone.com
You must me logged in to write a comment.