![]() |
Help with dropzone.zs
I have this problem using dropzone.js for uploading files with drag&drop.
Lets say i have this form: The javascript for the dropzone call is : And in php section: if (!empty($_FILES)) { $somevalue=$_POST['somevalue']; $counter=1; $image=$_FILES['file-image']['name']); $picture_in = ""/PicsUrl/"".$somevalues.$counter.$image; move_uploaded_file($_FILES['file-image']['tmp_name'], $picture_in); $counter++; } ?> I want to do this : With the $somevalue posted, all the files that i upload simultanously, to be renamed like that: $somevalue_1_imagefilename $somevalue_2_imagefilename $somevalue_3_imagefilename etc.... Any help ? |
All times are GMT -7. The time now is 04:37 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.