I'm looking for a simple HTML5 drag/drop file uploader script. There are many out there, but would like to have people adding their email address, and after this they can upload files and submit their upload.


  • HTML5
  • drag/drop files
  • have people adding their email address before they're able to upload
  • A login after the upload is not really needed
  • must come with example code (for how to implement it into my site), so I can compare their process and implement mine

Strongly wished for

  • online demo should be available for easier evaluation
  • process (from the user's point-of-view) should be as easy as insert email address › submit › get your upload window › upload

Now there are lots of examples, I can add some PHP/MySQL additional code to have them register first by adding their email address and lettig them through but I wonder in that case what the order would be and what to store.

So far I'm unable to find one matching the given criteria. Can you tell me some?


1 Answer 1


I modified this script here, Mini AJAX File Upload Form to fit your requirements of clients/guest inputting their email before they get to the upload form. You can download it here, mini-upload-form.zip. The script will validate and sanitize the email address. I made comments in the index.php file (it's simple). If you have any questions, ask away:)

Here is a demo of the original script (Again, mine will show a simple email input box): DEMO

Email Input Form

Ajax Upload Form

  • For me, if permissions are not set correctly, it doesn't create files in the uploads directory but still displays success icon. Jul 27, 2015 at 20:15
  • Make sure you have set the right file types in the upload.php file and set the correct permissions for the upload folder accordingly
    – Tom
    Jul 27, 2015 at 20:28
  • In case of wrong file types it should also indicate an error, not success. Jul 27, 2015 at 20:28
  • Agreed, this was not me but the people who made the original script, I'll see if I can modify it to do that
    – Tom
    Jul 27, 2015 at 20:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.