手机
当前位置:查字典教程网 >编程开发 >php教程 >swfupload 多文件上传实现代码
swfupload 多文件上传实现代码
摘要:varswfu;window.onload=function(){varsettings={flash_url:"js/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 多文件上传实现代码】相关文章:

利用文件属性结合Session实现在线人数统计

使用PHP维护文件系统

PHP滚动日志的代码实现

php使用cookie实现记住登录状态

PHP4中实现动态代理

用PHP实现文件上传

php使用cookie实现记住用户名和密码实现代码

写一段简单的PHP建立文件夹代码

php删除文本文件中重复行的方法

PHP文件读取功能的应用实例

精品推荐
分类导航