HTML5 file API + ajax file upload sample
JavaScript PHP
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 3 commits ahead of kyanny:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


HTML5 file API + ajax file upload sample

This is HTML5 file API + ajax file upload sample.

requires: PHP

How to run demo

1. git clone this repository
2. open and cd /path/to/git_clone_dir
3. start apache with mod_php
4. open http://localhost/public/index.html by Firefox
5. drag and drop me.jpg to box

When you dropped file, you can see dropped file in preview area, and file data will upload to server.

Thanks to: - this is original !! - very good HTML5 API sample codes. almost of this sample is copied from this page. - had me notice xhr.sendAsBinary. - showed me nice way to wrap jQuery.ajax using xhr.sendAsBinary.