Answer the question
In order to leave comments, you need to log in
File not uploading to server via dropzone script?
Hello.
I upload files to the server through the dropzone script. In other words. Just transferred the file to the browser and it should load itself.
This is the form code.
<form action="../../assets/global/plugins/dropzone/upload.php" class="dropzone" id="my-dropzone" enctype="multipart/form-data" method="POST">
</form>
<?php
$uploadfile = $_SERVER['DOCUMENT_ROOT']."/theme/assets/data/menadger/".$_FILES['somename']['name'];
move_uploaded_file($_FILES['somename']['tmp_name'], $uploadfile);
print_r($_FILES);
echo $_SERVER['DOCUMENT_ROOT']."/theme/assets/data/menadger/".$_FILES['somename']['tmp_name'];
var_dump($_FILES);
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question