This Ajax upload demo page is based on the code from my PHP upload class and the jQuery form plugin. Upload an image file from your computer and the script will upload and resize your chosen image file. As the result the Ajax script will show you the thumbnail and some upload related messages. I'll remove all uploaded files several times a day. For this demonstration, the file name validation is a bit stronger than in regular web applications!

Ajax upload form

Max. filesize: 256 KB
Allowed file extensions: jpg, gif, png

DigitalOceanSSD Cloud Server from $5/month by DigitalOcean, simple cloud hosting, built for developers. Receive $10 in credits »
ServerPilotServerPilot is the best way to run WordPress and PHP sites on your DigitalOcean servers. Free version available »

This demo page is slightly different from the tutorial code. If you like you can try the non-Ajax php upload demo, too.