What happens?
The PHP script does not save the files but logs every request. Check the Firebug console for event debugging logs.
- Select an image smaller than 2 Mb.
- If the file is too big, the uploader gives you a warning.
- After selecting a file, the browse button gets disabled.
- The image is uploaded, the button changes its text to the progress info.
- The server-side PHP script logs the upload (see .log).
- This demo appends the browsers cookie data automatically (option
appendCookieData), therefore the POST values contain the SID.
- A JSON response is returned, including a MD5 hash, generated from the file content.
- The hash is used to get a monsterid from gravatar, so every file has an unique gravatar (nothing actually useful, just to show off the server-side processing, since we don't save the file)
Update messages are presented by Roar Notifications.