Create a Drag & Drop File Uploader for Websites

Video Description

This course shows you how to build your own file uploader with the advanced feature of drag and drop uploading.

In this course you will learn how to set up your upload server, set the style of your upload page, display an upload progress bar, and write the JavaScript code to make it all come together.

Technical Description

Create a multiple file uploader using the HTML5 Drag & Drop API, with a multiple file selection if not supported. You'll create a reusable JavaScript AJAX uploader that works with any backend language that can upload files and output JSON, although we'll be using PHP here. Finally, we'll pull this all together by using the reusable uploader code to output which files have been uploaded and which ones failed.

Technologies and Languages Used

  • PHP
  • JavaScript
  • AJAX
  • CSS
  • HTML5

Real World Uses

This file uploader can be used in creating an online learning platform like Udemy or on any other type of website in which file uploads are important. Learning this skill we keep you head and shoulders above the rest of the web dev flock.


  • Web developers
  • Web Designers
  • Entrepreneurs

Table of Contents

  1. Course Introduction 00:06:29
  2. Preparing the Server 00:03:05
  3. Styling 00:27:39
  4. Drag and Drop Hook 00:10:42
  5. Form Upload Hook 00:04:11
  6. Backend Upload 00:14:56
  7. JavaScript Upload Part 1 00:13:35
  8. JavaScript Upload Part 2 00:11:24
  9. Progress Bar 00:06:52
  10. Showing Processed Files 00:14:15

Product Information

  • Title: Create a Drag & Drop File Uploader for Websites
  • Author(s): Stone River eLearning
  • Release date: August 2014
  • Publisher(s): Stone River eLearning
  • ISBN: 100000006A0180