<?php
	if(isset($_FILES['file'])) {
		echo "zzz";
		if(move_uploaded_file($_FILES["file"]["tmp_name"], "../../images/drag-drop/".$_POST["filename"])) {
			echo 'Upload Success';
		} else {
			echo '#Fail';
		}
	} else {
		header("Location: http://www.inwebson.com/html5/html5-drag-and-drop-file-upload-with-canvas");
	}
?>