代码如下:
upload
《script》 $(document).ready(function() { var settings = { url: “upload.php”, method: “post”, allowedtypes:”jpg,png,gif,doc,pdf,zip”, filename: “myfile”, multiple: true, onsuccess:function(files,data,xhr) { $(“#status”).html(“upload is success”); }, onerror: function(files,status,errmsg) { $(“#status”).html(“upload is failed”); } } $(“#mulitplefileuploader”).uploadfile(settings); }); 《script》
upload.php
代码如下:
http://www.bkjia.com/phpjc/621674.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/621674.htmltecharticle 代码如下: p upload/p p /p script $(document).ready(function() { var settings = { url: “upload.php”, method: “post”, all…