Multiple file uploading using pluploadBootstrap
I am using pluploadBootstrap widget for multiple file uploading.But after
uploading I am getting only the name of the file,and am new to this
widget.Please suggest me a solution.I need to upload the uploaded file to
a folder.Below is what I had tried.
The jquery function is
if( $.fn.pluploadBootstrap ) {
$( "#div" ).pluploadBootstrap({
// General settings
runtimes : 'html5,html4',
url : 'controller/fileUpload',
max_file_size : '25600kb',
chunk_size : '6400kb',
unique_names : true,
// Resize images on clientside if we can
resize : { width : 320, height : 240, quality : 90 },
// Specify what files to browse for
filters : [
{title : "files", extensions : "jpg, jpeg, gif, png,pdf"}
],
// Flash settings
flash_swf_url : 'plugins/plupload/plupload.flash.swf',
// Silverlight settings
silverlight_xap_url : 'plugins/plupload/plupload.silverlight.xap'
});
}
code in controller/fileUpload:
Array
(
[name] => p181eueia91je41itdg8pu6a13ad4.pdf
)
No comments:
Post a Comment