dropzone works except passing file during fallback mode (ie9). drops work perfect in normal mode, hidden inputs pass through post perfectly, , hidden post values work during fallback mode.
the problem $_files empty when ie9 forces fallback mode. not have javascript on page besides dropzone.js file, understood process automatic, , according have read, should be... right?
here code on html side -- cleaned php elements clarity:
<form action="process/process_file_upload.php" method="post" class="dropzone"> <div class="fallback"> <input name="file" type="file" multiple /> <input type="submit" value="submit" style="margin-left:8px;"> <input type="hidden" name="calling_dept" value="home.php"> </div> <input type="hidden" name="dept_id" value=5> </form>
well, i'm little embarrassed. after days trying figure out missed in dropzone.js file... , scanning every dz error ever written, came down incredibly silly.
i set form according instructions, if form handled dz.js. however, while hunting code errors, forgot basic html!!
here's original (dz working) form:
<form action="process/process_file_upload.php" method="post" class="dropzone">
forgot little nugget: enctype="multipart/form-data" doh. important point here format of form must complete if expecting fallback -- when dz.js takes over, not need be, documentation (correctly) never shows complete html, , easy miss.
anyway showing world idiocy in case else ever has knucklehead moment of kind.