plupload - send another request parameter with uploaded file
问题 plupload creates nice ids in file object. How this id can be sent to the upload script? The upload script has 3 variables in $_POST - file name, chunk number and total number of chunks. How to add another parameter to plupload's POST request (in my case, the file.id)? 回答1: The first step would be to add a handler to the BeforeUpload event. Then, if you are using multipart, you can change the uploader settings to dynamically set different multipart params: plupload_instance.bind('BeforeUpload'