Drag And Drop Image Upload

Drag And Drop Image Upload

Drag And Drop Image Upload : -

This post for drag and drop multiple image upload using  dropzone.js  this is vary easy to use any php project 

You are comlete this in few staps  download dropjone.js and dropzone.css and follow these stapes or download full script.

first step craete  : -  index.php  and put this code

 


<html lang="en">
<head>

  
  



</head>

<body>
  

Drag and Drop files Upload

</body> </html>

Second step craete  : -  upload.php  and put this code

 


<?php

if (!empty($_FILES)) {
 $filename = rand()."_".$_FILES['file']['name'];
 move_uploaded_file($_FILES['file']['tmp_name'],"upload/".$filename);
 echo"success";
}

?>


and finaly create upload  folder and enjoy  

smileysmileysmileysmiley

Download Here

Total Coments (1)

  1. Kkkkk
    • 01 Aug 2017

    Nicees