non flash multi file upload for php

丶灬走出姿态 提交于 2019-12-13 00:34:38

问题


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


回答1:


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).




回答2:



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




回答3:


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.



来源:https://stackoverflow.com/questions/997253/non-flash-multi-file-upload-for-php

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!