![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
New Coder ![]() Join Date: Jul 2008
Posts: 68
Thanks: 2
Thanked 1 Time in 1 Post
![]() |
Upload Multiple Files
Right, I can upload multiple files by having multiple input type="file" parts of a form, but what I want to do is have one of these where you can select multiple files and then have a PHP script that cycles through the selected files and uploads them.
Any ideas?? Cheers The Moose |
|
|
|
|
|
PM User | #2 |
|
Regular Coder ![]() Join Date: Apr 2005
Posts: 100
Thanks: 0
Thanked 31 Times in 31 Posts
![]() |
http://www.phpeasystep.com/workshopview.php?id=2
Check the above link. You may also be interested in the following: http://www.fyneworks.com/jquery/multiple-file-upload/ |
|
|
|
|
|
PM User | #4 |
|
Senior Coder ![]() Join Date: Oct 2006
Location: Denver, Colorado USA
Posts: 2,682
Thanks: 2
Thanked 245 Times in 237 Posts
![]() ![]() ![]() ![]() |
Also - http://swfupload.org/ Allows you to select multiple files (multi-select left-click or right-click/drag box) and then upload them.
__________________
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you. |
|
|
|
|
|
PM User | #5 |
|
New Coder ![]() Join Date: Jul 2008
Posts: 68
Thanks: 2
Thanked 1 Time in 1 Post
![]() |
Thanks for all your suggestions so far guys.
The issue is that my users are going to be uploading 4-10 files from a folder which has a few thousand (if not, more!!) files in it, and would like to just open the one file browser and select all of them. Any other suggestions?? Cheers The Moose |
|
|
|
|
|
PM User | #6 |
|
Senior Coder ![]() Join Date: Oct 2006
Location: Denver, Colorado USA
Posts: 2,682
Thanks: 2
Thanked 245 Times in 237 Posts
![]() ![]() ![]() ![]() |
So, did you even look at the swfuplaod link I posted. It has a demo page with several of the various ways you can use it, including selecting multiple files at once. A HTML form by itself cannot do what you stated. The HTML form file browse dialog box is limited to selecting one file at a time.
__________________
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|