Swfupload multi-file Upload implementation code _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
Swfupload multi-file Upload implementation code. Varswfu; window. onloadfunction () {varsettings {flash_url: jsswfupload_f9.swf, flash address upload_url: upload. php, upload file processing address post_params: {PHPSESSI 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 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, // File upload restriction
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 );
};

Http://www.bkjia.com/PHPjc/319451.htmlwww.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 the file processing address post_params: {" PHPSESSI...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.