Answer the question
In order to leave comments, you need to log in
What am I doing wrong when I install dropzone programmatically?
<div id="dropZed" class="dropzone"></div>
js скрипт в самом конце файла
<script>
var dzone = new Dropzone("#dropZed", {
paramName: "img_url",
url: "/admin/MyGallery/create",
method: "files"
});
Dropzone.autoDiscover = false;
</script>
php обработчик
if(isset($_POST['submit'])){
print_r($_FILES['img_url']);
}
Answer the question
In order to leave comments, you need to log in
What am I doing wrong
Here I have a problem, it doesn’t save files to the server, and I simply can’t figure it out with this plugin, who can help?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question