I'm modifying this code in order to use in my php web. I added the code to my index.php , but I don't know where to add the Client-side file upload initialization: part of the code ?
Here is the codes which I used inorder to make uploader inserts into mysql db.
Client-side file upload initialization:
$('#fileupload').fileupload({
url: 'server/php/'
}).on('fileuploadsubmit', function (e, data) {
data.formData = data.context.find(':input').serializeArray();
});