News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ProDevTips.com:
Multiple File Uploads with XHR and PHP
October 26, 2010 @ 10:08:53

New on ProDevTips.com there's a quick tutorial that includes a snippet of code showing you how to upload larger images with the help of HTML5 and this Ajax uploder.

So the jQuery / Flash multiple file uploader has not really been working when it comes to heavy duty stuff "Flash player has crashed" is a common scenario after some six < 2MB pictures, problem is, it needs to be able to handle up to 50 of them. Therefore I decided to check out the HTML5 alternatives and eventually found a really good one. I did have to make some modifications to make the solution fit with my own scenario and I detail them below.

He talks about some minor modifications he made to the code (like adding in watermarks) and includes the code for the new "uploadImages()" function that will handle the upload, build a thumbnail and output a result to send back to the uploader for a pass or a fail on the status.

0 comments voice your opinion now!
multiple file upload tutorial html5 ajax


blog comments powered by Disqus

Similar Posts

ThinkPHP Blog: Methods to Reduce the Load of Your Webserver by Caching Content

Hasin Hayder's Blog: RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library

Joey Rivera's Blog: Using Zend_Paginator with Twitter API and Zend_Cache

Gonzalo Ayuso's Blog: Inject dependencies via PhpDoc

DevShed: Building PDF Documents with PHP 5


Community Events





Don't see your event here?
Let us know!


composer release version symfony interview introduction package framework security series podcast laravel tool language library update opinion mvc voicesoftheelephpant community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework