<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 15 Oct 2008 22:23:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: Why do browsers still not have file upload progress meters?]]></title>
      <guid>http://www.phpdeveloper.org/news/10490</guid>
      <link>http://www.phpdeveloper.org/news/10490</link>
      <description><![CDATA[<p>
On <a href="http://michaelkimsal.com/blog/why-do-browsers-still-not-have-file-upload-progress-meters/">his blog today</a> <i>Michael Kimsal</i> asks a question that hasn't come up much in recent months - with all of the advancements browsers are adding in, why aren't there better hooks for measuring file downloads?
</p>
<blockquote>
This current tirade stems from implementing a file upload progress meter in PHP5.  Yes, PHP5.2 has some hook, and there's a PECL extension. [...] I realize this is partially a PHP issue I'm ranting about, but it's ultimately a hacky workaround to a basic piece of functionality that browsers should support. 
</blockquote>
<p>
He <a href="http://michaelkimsal.com/blog/why-do-browsers-still-not-have-file-upload-progress-meters/">mentions</a> an example where he basically directly asked a member of the IE team about it. It wasn't greeted seriously and still hasn't managed to be included in most of the popular browsers of today.
</p>]]></description>
      <pubDate>Thu, 26 Jun 2008 08:41:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: What's new in PHP V5.2, Part 5: Tracking file upload progress]]></title>
      <guid>http://www.phpdeveloper.org/news/7871</guid>
      <link>http://www.phpdeveloper.org/news/7871</link>
      <description><![CDATA[<p>
In a continuation of their series looking at what's new in PHP5, the IBM developerWorks site has posted <a href="http://www-128.ibm.com/developerworks/opensource/library/os-php-v525/">part five</a>, a look at the handy addition of the file upload progress functionality.
</p>
<blockquote>
<p>
Given that uploading huge files can be tedious for impatient users, it is important to provide them positive feedback to keep them from giving up and going away.
</p>
<p>
Fortunately, PHP V5.2's new hooks into the file upload process allow us to show users in real time what is happening with their uploads. In this article, we will create a progress bar using PHP V5.2 for our users (see <a href="http://www-128.ibm.com/developerworks/opensource/library/os-php-v525/#download">Download</a> for source code).
</p>
</blockquote>
<p>
They <a href="http://www-128.ibm.com/developerworks/opensource/library/os-php-v525/">talk about</a> what "hooks" are to explain how things work together before getting into the setup of the sample app. They chose to go with WAMP for their examples, but it can be easily adapted to any other flavor of *AMP setup of your choosing.
</p>
<p>
They set up a default upload box inside of a normal form the user can upload a file with. The real magic happens on the backend when the "Upload" button is hit. Via a handy call to the apc_fetch function, we can determine how far along the file is in the upload. This is relayed back to the script when their "Start me up!" link is clicked and a progress bar is advanced as the file is uploaded.
</p>]]></description>
      <pubDate>Fri, 18 May 2007 09:38:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[P&aacute;draic Brady's Blog: Progress update on Zend_Service_Yadis]]></title>
      <guid>http://www.phpdeveloper.org/news/7529</guid>
      <link>http://www.phpdeveloper.org/news/7529</link>
      <description><![CDATA[<p>
In <a href="http://blog.astrumfutura.com/archives/274-Progress-update-on-Zend_Service_Yadis.html">a new post to his blog</a>, <i>P&aacute;draic Brady</i> gives an update on the status of his proposal for the Zend_Service_Yadis package:
</p>
<blockquote>
Back in late February, I submitted a proposal to the Zend Framework wiki to see if Zend_Service_Yadis could be added as part of an overall objective to natively support OpenID (and related technologies) within the framework. Yadis is a suitable standalone service since it's not OpenID specific and is therefore useful for a number of other purposes. That proposal has seen a few revisions since the initial draft so I'm hoping that by the time Zend Framework 1.0 is released it's in good enough shape to allow for a comprehensive review and critique.
</blockquote>
<p>
As far at the current status, he <a href="http://blog.astrumfutura.com/archives/274-Progress-update-on-Zend_Service_Yadis.html">mentions</a> the revisions it's gone through so far and how it's progressing towards "completion" (an Alpha state). He also points out that the component will not support using Internationalised Resource Indicators (IRIs), however "support for XRIs will be supported, but may not initially be concrete".
</p>]]></description>
      <pubDate>Thu, 29 Mar 2007 11:49:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: File upload progress meter for PHP 4, at last!]]></title>
      <guid>http://www.phpdeveloper.org/news/6956</guid>
      <link>http://www.phpdeveloper.org/news/6956</link>
      <description><![CDATA[<p>
With the release of PHP 5.2 and a new feature, the file upload hooks useful for making an upload progress meter, PHP 4 users have been feeling a little left out. Well, come into the light PHP4ers - PHPClasses has just what you need - <a href="http://www.phpclasses.org/browse/file/17423.html">two</a> <a href="http://www.phpclasses.org/browse/file/17424.html">patches</a> to give you the same functionality.
</p>
<blockquote>
Since I wanted to use this upload progress meter extension under PHP 4, I had to find an alternative solution. I decided to port the patch that adds hooks to monitor upload progress to make it run under PHP 4.
</blockquote>
<p>
These two patches work for different versions:
<ul>
<li><a href="http://www.phpclasses.org/browse/file/17423.html">PHP 4.3.11</a>
<li><a href="http://www.phpclasses.org/browse/file/17424.html">PHP 4.4.4</a>
</ul>
He <a href="http://www.phpclasses.org/blog/post/61-File-upload-progress-meter-for-PHP-4-at-last.html">also links</a> to a few other resources of use to file uploaders out there:
<ul>
<li><a href="http://www.meta-language.net/forms-examples.html?example=test_upload_progress&code=1">an example</a> of a plugin using COMET to generate the progress bar
<li>the <a href="http://pecl.php.net/package/uploadprogress">upload progress meter</a> for the PHP 5 series
<li>and a <a href="http://blog.bitflux.ch/archive/2006/12/05/upload-progress-meter-for-windows.html">Windows version</a> of the same.
</ul>
</p>]]></description>
      <pubDate>Thu, 21 Dec 2006 10:46:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog:  How to create a php upload progress meter]]></title>
      <guid>http://www.phpdeveloper.org/news/6869</guid>
      <link>http://www.phpdeveloper.org/news/6869</link>
      <description><![CDATA[<p>
In a <a href="http://www.whenpenguinsattack.com/2006/12/12/how-to-create-a-php-upload-progress-meter/">new post</a> to the JSLabs blog today, there's a mini-tutorial showing how to, with the help of the new hooks in PHP 5.2, create a file upload progress meter.
</p>
<blockquote>
This progess meter is based on the yahoo user interface library and alternative php cache (APC).  You will need both of these for it to display properly.  PHP 5.2.0 or higher is also required. (I have written a previous article on alternative PHP cache <a href="http://www.whenpenguinsattack.com/2006/12/11/how-to-install-alternative-php-cache/">here</a>).
</blockquote>
<p>
He gives a brief overview of how things work (including the php.ini setting to make it happen) and has a screenshot of the resulting output. You can check out the <a href="http://progphp.com/progress.php">demo here</a> or just <a href="http://progphp.com/progress.phps">grab the source</a> and jump right in.
</p>]]></description>
      <pubDate>Tue, 12 Dec 2006 07:21:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Stocker's Blog: Upload Progress Meter finally in PECL]]></title>
      <guid>http://www.phpdeveloper.org/news/6821</guid>
      <link>http://www.phpdeveloper.org/news/6821</link>
      <description><![CDATA[<p>
According to <a href="http://blog.bitflux.ch/archive/2006/12/05/upload-progress-meter-finally-in-pecl.html">this note</a> from <i>Christian Stocker</i> on the BitFlux blog, the upload progress meter (using the new file upload hooks introduced in recent PHP versions) has finally been included, officially, into PECL.
</p>
<blockquote>
After some tweaking, code improvements and <a href="http://blog.php-security.org/archives/58-Suhosin-caught-another-remote-code-execution-vulnerability.html">remote code execution vulnerability fixes</a>, I finally put the <a href="http://pecl.php.net/package/uploadprogress">uploadprogress extension</a> into PECL.
</blockquote>
<p>
Windows users might be out of luck for a while though, since <i>Christian</i>'s not pursuing binaries for the package. However, <a href="http://pecl.php.net/package/uploadprogress">the source</a> is there, and anyone is more than welcome to try...
</p>]]></description>
      <pubDate>Tue, 05 Dec 2006 07:09:44 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Stocker's Blog: Upload Progress Meter extension for PHP 5.2]]></title>
      <guid>http://www.phpdeveloper.org/news/6383</guid>
      <link>http://www.phpdeveloper.org/news/6383</link>
      <description><![CDATA[<p>
On the BitFlux blog today, <i>Christian Stocker</i> <a href="http://blog.bitflux.ch/archive/2006/09/28/upload-progress-meter-extension-for-php-5-2.html">talks about the patch</a> for PHP that allows for a simple progress meter when files are uploading.
</p>
<blockquote>
<p>
Showing a real progress bar when uploading large files is an often requested (and quite informative) feature, which is not easily doable with the way the upload handling works in PHP. There is a <a href="http://pdoru.from.ro/upload-progress-meter/">patch available</a> for PHP 4.4 and 5.0, which made it nevertheless possible, but some php core files itself needed to be patched for that.
</p>
</blockquote>
<p>
He notes, however, that a new sort of patch for the same thing has just been committed to the PHP_5_2 branch, making the previous patch a thing of the past. It's completely new and you can check out the <a href="http://dl.bitflux.org/uploadprogress-snapshot.tgz">code here</a> or the svnweb <a href="https://ssl.bitflux.ch/horde/chora/misc/uploadprogress/">here</a>.
</p>]]></description>
      <pubDate>Thu, 28 Sep 2006 07:22:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Displaying Dynamic Progress Bars]]></title>
      <guid>http://www.phpdeveloper.org/news/6320</guid>
      <link>http://www.phpdeveloper.org/news/6320</link>
      <description><![CDATA[<p>
PHPBuilder.com has <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060912.php3">another excerpt</a> from the book <i>PHP 5 in Practice</i> showing quickly this time how to create a dyanmic progress bar for your application.
</p>
<blockquote>
In some situations you might need to display a progress bar-for example, when you are performing many tasks on the back end and they take a while to complete. In these cases it is a good idea to give some indication to the user that you are in fact still performing tasks and that their browser hasn't simply locked up.
</blockquote>
<p>
They <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060912.php3">demonstrate a few different ways</a> to accomplih this task including a simple "Please wait" kind of message and a more PHP-based example that changes the width of a DIV based on the amount of time it's taken to perform the task.
</p>]]></description>
      <pubDate>Wed, 20 Sep 2006 16:04:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: PHP AJAX File Upload Progress Meter Updates]]></title>
      <guid>http://www.phpdeveloper.org/news/4992</guid>
      <link>http://www.phpdeveloper.org/news/4992</link>
      <description><![CDATA[<i>Joshua Eichorn</i> has posted about <a href="http://blog.joshuaeichorn.com/archives/2006/03/14/php-ajax-file-upload-progress-meter-updates/">some updates</a> that he's made to his "file upload progress meter" example in the wake of major popularity via <a href="http://del.icio.us/popular/">del.icio.us</a> and <a href="http://digg.com/programming/PHP_AJAX:_Upload_Progress_Meter_(for_file_uploads_in_forms)">digg</a>.
<p>
<quote>
<i>
Over the weekend my file upload progress meter code got lots of traffic. It seems it made it made it on the del.icio.us popular list as well as getting over a thousands diggs. To celebrate this i've updated the code.
<p>
The main new feature is giving you feedback without having to patch PHP. Now the patched version gives you more information such as upload speed and estimated time to completion. But we still provide some nice user feedback even without it now.
<p>
I also created some wiki pages to start the documentation process.
</i>
</quote>
<p>
He <a href="http://blog.joshuaeichorn.com/archives/2006/03/14/php-ajax-file-upload-progress-meter-updates/">includes</a. links to the cirrent patches/extensions and provides a simple HowTo on getting things started - what to install, how to install it, and some sample code to show the package's usage.]]></description>
      <pubDate>Wed, 15 Mar 2006 06:55:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Thomas Larsson's Blog:  Asynchronous file upload with AJAX progress bar in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4981</guid>
      <link>http://www.phpdeveloper.org/news/4981</link>
      <description><![CDATA[<i>Thomas Larsson</i> has posted <a href="http://tomas.epineer.se/archives/3">this cool little tutorial</a> today that gaves a method (without patching PHP) to allow for multiple asynchronous file uploads.
<p>
<quote>
<i>
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.
</i>
</quote>
<p>
He <a href="http://tomas.epineer.se/archives/3">mentions</a> another way around it (a <a href="http://pdoru.from.ro/">patch from Pdoru</a>), 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).]]></description>
      <pubDate>Mon, 13 Mar 2006 07:46:40 -0600</pubDate>
    </item>
  </channel>
</rss>
