blueimp/jQuery-File-Upload — Issue #719: how to add information at database with adicional information?
Author: fabiovaz
Created: 2011-10-19 22:41:22+00:00
State: open

i tried it

private function handle_file_upload($uploaded_file, $name, $size, $type, $error, $user, $folder) {
[...]
$dateUpload = date("d/m/y H:i:s");
$query = "INSERT INTO files(user,folder,file,date) VALUES('$user','$folder','$file','$dateUpload')";
$res = parent::insert($query);

[...]
$upload['error'][$index],
$_POST['idUser'],
$_POST['idFolder']
);

- Somebody can help me?