swfupload 多文件上传实现代码

发布时间:2022-04-30 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了swfupload 多文件上传实现代码脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

var swfu;
window.onload = function() {
var settings = {
flash_url : "js/swfupload_f9.swf",//flash地址
upload_url: "upload.PHP",//上传文件处理地址
post_params: {"PHPSESSID" : "“},
file_size_limit : “1000″,//大小限制 认单位为kb
file_types : “.jpg;.gif;.png;.swf”,//文件类型
file_types_description : “Web Image Files”,//文件类型描述
file_upload_limit : 100,//上传文件限制
file_queue_limit : 0,
custom_settings : {
progressTarget : “fsUploadProgress”,
cancelButtonId : “btnCancel”
},
debug: false,file_queued_handler : fileQueued,
file_queue_error_handler : fileQueueError,
file_dialog_complete_handler : fileDialogComplete,
upload_start_handler : uploadStart,
upload_progress_handler : uploadProgress,
upload_error_handler : uploadError,
upload_success_handler : uploadSuccess,
upload_complete_handler : uploadComplete,
queue_complete_handler : queueComplete
}; swfu = new SWFUpload(settings);
};

脚本宝典总结

以上是脚本宝典为你收集整理的swfupload 多文件上传实现代码全部内容,希望文章能够帮你解决swfupload 多文件上传实现代码所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: