1

looking into multi file - drag and drop - upload scripts. we were using swfupload until flash 10 destroyed it. the other options we are investigating are java and google gears. what would you recommend and do you know of libraries/examples/frameworks that support these options like the swfupload. thanks, Josh

Josh
  • 5,998
  • 1
  • 31
  • 54
  • possible duplicate of [Multi file upload with PHP/Javascript and no flash](http://stackoverflow.com/questions/276400/multi-file-upload-with-php-javascript-and-no-flash) – user157251 Jun 30 '10 at 20:34

3 Answers3

1

alt text
    
Reference: http://www.phpeasystep.com/phptu/2.html

Glorfindel
  • 19,729
  • 13
  • 67
  • 91
marcgg
  • 60,067
  • 49
  • 172
  • 221
  • aha, sorry about that. could you be more explicit on what features you want from this file uploader? – marcgg Jun 15 '09 at 19:09
  • we were happy with the swfupload script. the multiple files is the key with drag and drop as a bonus - anything that isn't selecting each file individually. Thanks. – Josh Jun 16 '09 at 09:09
0

I've used JUpload previously in some PHP projects of mine. Great for uploading multiple files on the fly, including chunk-splitting them to get past any upload_max_file restrictions. Also, its pretty customizable to make it work exactly how you want it to.

TJ L
  • 22,210
  • 7
  • 57
  • 76
0

I came across the same problem. The latest version of SWFUpload does work, and it does so by transparently overlaying the swf on top of your 'select files' button.

This will work. The reason Flash 10 broke the old one, is because (for security reasons) it forces the end-user to initiate the process through a click, instead of allowing scripts to invoke this.

Instead of using all the swfupload javascript, we did actually end up rewriting that entire library (and cutting down the javascript code to about a 10th of the original).

Evert
  • 75,014
  • 17
  • 95
  • 156
  • thanks - i did see this but wasn't sure how effective or stable this solution was - a bit of a hack maybe. can you post your updated code somewhere - i'd be interested to see it. – Josh Jun 15 '09 at 18:29
  • It is definitely a bit of a hack.. I can't at the moment post the code.. It wouldn't be much good anyway, because it's closely integrated in our app.. However the things I've done are the following: * I've added a new flashvar, which allows me to specify exactly which javascript callback to call (instead of the hardcoded swfupload js objects) * I've simply rewrite the javascript with all the methods, and implemented exactly what I needed. – Evert Jun 16 '09 at 00:50