News Feed
Sections




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

Johannes Schluter's Blog:
Upload Progress in PHP trunk
December 06, 2010 @ 10:30:58

Johannes Schluter has a new post to his blog looking at the progress that the upload progress meter extension has been making and how a version of it, put together by Arnaud Le Blanc has been introduced to the trunk line of PHP's code.

For implementing this we have one architectural problem: PHP implements, for very good reasons, a shared nothing architecture. So one request from connection has no insight into another request/connection - but this is needed for the upload progress. [...] The obvious solution, of course, would be to use PHP's session handling system for this. [...] Now there were some technical issues why this wasn't done at first ... but then Arnaud Le Blanc sat down and created a proper implementation of an upload progress storage handler which has been commit to PHP trunk. Long story short: In the next version of PHP (5.4?) you will, most likely, have an Upload Progress mechanism built-in.

If you want all of the details on it, you can check out the RFC on it. Johannes shows a sample of the settings and code that, once the next release of PHP comes out, you can use to enable the extension and be able to poll the session for the progress details.

0 comments voice your opinion now!
file upload extension trunk sessions progress


blog comments powered by Disqus

Similar Posts

Christian Stocker's Blog: Added xslt profiling to PHP 5.3 and 6 CVS

PHPMaster.com: File Uploads with PHP

Lorna Mitchell: Managing PHP 5.4 Extensions on Ubuntu

Alison Lunde's Blog: Quick and Dirty PHP Caching

MelonFire Community: Caching Web Sites With PEAR Cache


Community Events





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


community wordpress code list release interview framework install unittest language refactor testing laravel opinion developer api threedevsandamaybe podcast series introduction

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