swfupload multiple file upload implementation code_PHP tutorial

WBOY
Release: 2016-07-21 15:49:45
Original
784 people have browsed it

var swfu;
window.onload = function() {
var settings = {
flash_url : "js/swfupload_f9.swf", //flash address
upload_url: "upload.php", / /Upload file processing address
post_params: {"PHPSESSID" : ""},
file_size_limit : "1000", //The default unit of the size limit is kb
file_types : "*.jpg;*.gif; *.png;*.swf",//File type
file_types_description: "Web Image Files",//File type description
file_upload_limit: 100,//Upload file limit
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);
};

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319451.htmlTechArticlevar swfu; window.onload = function() { var settings = { flash_url : "js/swfupload_f9.swf" , //flash address upload_url: "upload.php", //upload file processing address post_params: {"PHPSESSI...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!