蔭使用plupload在我的網站的多個圖像uploadings我寫這樣的代碼如何獲得數據,而使用plupload上傳
$(".drag-here").pluploadQueue({
// General settings
runtimes : 'html5',
url : '/index.php?ext=events&action=uploadphoto_action',
max_file_size : '10mb',
chunk_size : '1mb',
unique_names : true,
dragdrop : true,
multiple_queues : false,
multi_selection : false,
max_file_count : 10,
filters : [
{title : "Image files", extensions : "jpg,gif,png,jpeg"}
],
// Specify what files to browse for
init : {
FilesAdded: function(up, files) {
up.start();
},
UploadComplete: function(up, files) {
$.each(files, function(i, file) {
alert(file);
});
}
}
});
,但在我的「uploadphoto_action」的方法,如果我打印$_REQUEST
它dosnt給我文件數據...我犯了錯誤
我希望你這樣實現:http://www.plupload.com/example_custom.php – Arvind