This topic is locked

Uploading multiple documents

5/11/2011 5:02:21 PM
PHPRunner General questions
G
grennilson author

Just trying out your software... is there a way for me to be able to upload multiple documents (files) using your document upload feature. I have included it and the upload works well but I can only upload one document per record. Instead of having multiple upload fields I would like to select multiple documents per one upload field. Is this at all possible?
Thanks...

Sergey Kornilov admin 5/11/2011

Not, its not possible.
Usually you store uploaded file name in database field. Storing more than one file name within the same field is possible however its cumbersome and against database theory. The best approach is to have multiple upload fields or store all documents in a separate table linked as Details to the main one.

G
grennilson author 5/12/2011



Not, its not possible.
Usually you store uploaded file name in database field. Storing more than one file name within the same field is possible however its cumbersome and against database theory. The best approach is to have multiple upload fields or store all documents in a separate table linked as Details to the main one.


Thanks Sergey,
Didn't think this was possible but thought you might have a solution. Thanks anyway.
Gary

G
Grissom 5/12/2011

Hi Gary,
what you could do is to implement something like phpwebftp in your script. The upload could lead to some unique folder whose name could be stored in the db so you could direct the user or any other script to always the proper folder. Downloading could be then either thru regular URLs or again thru that webbased FTP client.
There might be other possibilities thru jQuery, etc. as well with some fancy drag&drop support - depending on your needs, desires, time and efforts. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=58285&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />
A good source is [=1"]CodeCanyon]("http://codecanyon.net/searches?term=upload&categories[php-scripts).
Chris

G
grennilson author 5/12/2011



Hi Gary,
what you could do is to implement something like phpwebftp in your script. The upload could lead to some unique folder whose name could be stored in the db so you could direct the user or any other script to always the proper folder. Downloading could be then either thru regular URLs or again thru that webbased FTP client.
There might be other possibilities thru jQuery, etc. as well with some fancy drag&drop support - depending on your needs, desires, time and efforts. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=58305&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />
A good source is [=1"]CodeCanyon]("http://codecanyon.net/searches?term=upload&categories[php-scripts).
Chris


Chris... thanks for the suggestions. I'll definitely check this out... I do have a need to upload multiple files to a unique folder (storing the name in the db). I'll check out codecanyon also...
Thanks again, Gary

T
tedwilder 5/14/2011

_