News Feed
Sections




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

Thomas Larsson's Blog:
Asynchronous file upload with AJAX progress bar in PHP
March 13, 2006 @ 07:46:40

Thomas Larsson has posted this cool little tutorial today that gaves a method (without patching PHP) to allow for multiple asynchronous file uploads.

One of the few things that I find lacking in PHP is the ability to report the progress of a file upload. This means that file uploads, especially uploads of larger files, can be extremely frustrating for end users when they don't know if the upload is progressing or if it has stalled or if it has even started.

He mentions another way around it (a patch from Pdoru), but that requires the previously mentioned patching of the install. His method actually uses a seperate script (called via an iframe) to make the upload while still leaving the page able to be used. The Prototype library is used to update the progress bars based on the amount of the file that's been uploaded (as reported by a PHP script).

0 comments voice your opinion now!
file upload asynchronous ajax progress bar file upload asynchronous ajax progress bar


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Uploading YouTube Videos with Zend Framework

Thomas Larsson\'s Blog: Asynchronous file upload with AJAX progress bar in PHP

SomeCoders.com: Member Managment System Using PHP, AJAX and script.aculo.us (Part 3)

Zend Developer Zone: The Standard PHP Library (SPL)

Michael Kimsal's Blog: Why do browsers still not have file upload progress meters?


Community Events





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


zendserver deployment podcast symfony conference interview bugfix community tips release framework language threedevsandamaybe api series laravel code introduction list voicesoftheelephpant

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