structured-folder-uploader-dropzonejs icon indicating copy to clipboard operation
structured-folder-uploader-dropzonejs copied to clipboard

Upload single files

Open schuesslerf opened this issue 8 years ago • 1 comments

Hello,

I have a little problem: It seems like with your code, I'm only able to upload folders (or folders with folders in it, etc.), but when trying to upload single files it's not working. Is there any method to fix this?

schuesslerf avatar Apr 13 '16 06:04 schuesslerf

add this: if( $_POST['path'] == 'undefined' ){ $_POST['path'] = $_FILES['file']['name']; }

so your upload.php looks like this

sickvisu-com avatar Mar 18 '20 03:03 sickvisu-com