Dropzone always return 'empty($_FILES)' as true
<p>I need to add drag and drop to my web page. I'm trying to get dropped image and upload them to my database.
<strong>HTML</strong></p>

<pre><code>&lt;form action="parser.php" id="file-up" class="dropzone"&gt;
    &lt;input type="submit" value="Upload" id="file-up_btn"/&gt;
&lt;/form&gt;
</code></pre>

<p><strong>JS</strong></p>

<pre><code>Dropzone.autoDiscover = false;

$('#file-up_btn').click(function(e){
    var myDropzone = new Dropzone("#myId", {
    autoQueue: false,
    url: "/parser.php",                        
});
    console.log("Uploading");
});
</code></pre>

<p>Dropzone shows that the uploading finished successfully. But it does not show any files in the php file.</p>

<pre><code>&lt;?php

if(!empty($_FILES)){
    echo 'Inside';
    $temp = $_FILES['file']['tmp_name'];
    $dir_seperator = DIRECTORY_SEPARATOR;
    $folder = "uploads";

//$destination_path = dirname(__FILE_).$dir_seperator.$folder.$dir_seperator;
$destination_path = tempnam(sys_get_temp_dir(), 'Tux');
echo '&lt;h1&gt;Uploading section $destination_path&lt;/h1&gt;';
$target_path = $destination_path.$_FILES['file']['name'];
move_uploaded_file($temp,$target_path);
echo 'Updated';
}else{
    echo '&lt;h1&gt;No files&lt;/h1&gt;';
}

?&gt;
</code></pre>

<p>it always returns No files. I am new to DropZone. Please help me on this. Thanks in advance. :)</p>