php - How to get added files in $_FILES with blueimp jQuery File Upload? -


i'm using blueimp jquery file upload basic plus ui. want remove default "start upload" button , submit whole form own submit button.

but on submit empty result var_dump($_files).

how populate $_files variable?

update:

i can $_files values setting option: replacefileinput: false. contains values last added file. anyway added files instead?

current options:

$('#fileupload').fileupload({     autoupload: false,     disableimageresize: /android(?!.*chrome)|opera/.test(window.navigator.useragent),     maxfilesize: 5000000,     acceptfiletypes: /(\.|\/)(gif|jpe?g|png)$/i,     // uncomment following send cross-domain cookies:     //xhrfields: {withcredentials: true},     replacefileinput: false,     singlefileuploads: false }); 


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -