<?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, 19 Jun 2013 11:06:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Tracking Upload Progress with PHP and JavaScript]]></title>
      <guid>http://www.phpdeveloper.org/news/17503</guid>
      <link>http://www.phpdeveloper.org/news/17503</link>
      <description><![CDATA[<p>
In a new tutorial today from PHPMaster.com, they show you how to <a href="http://phpmaster.com/tracking-upload-progress-with-php-and-javascript/">combine Javascript and a PHP feature</a> to track the progress of an upload to your web application.
</p>
<blockquote>
A problem that has plagued web developers for years is how to add real-time information to their applications, such as a progress bar for file uploads. [...] JavaScript can access a file's name, type, and even the width and height of a local image, but it wasn't until <a href="http://stackoverflow.com/q/4112575/322819">HTML5 that it could access a file's size</a>. [...] In this article I'll show you how [the session.upload_progress] feature can be used to create a simple upload progress bar without any external libraries or browser dependencies.
</blockquote>
<p>
The tutorial provides all the steps you'll need to get it working - defining the form with the extra required field, styling it and plugging the Javascript in to call a small script to get the progress of the upload. It returns the difference between the content-length of the file and the current size (as a percentage of 100).
</p>]]></description>
      <pubDate>Mon, 06 Feb 2012 13:58:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeIgniter.com: Amazing Progress Report & Addition of IRC to CodeIgniter.com]]></title>
      <guid>http://www.phpdeveloper.org/news/16808</guid>
      <link>http://www.phpdeveloper.org/news/16808</link>
      <description><![CDATA[<p>
On CodeIgniter.com there's <a href="http://codeigniter.com/news/amazing_progress_report_addition_of_irc_to_codeigniter.com/#When:19:29:25Z">a new post</a> updating the community on more of the current happenings surrounding the project including the status of their move to github and another source for developers to find the CI help they need.
</p>
<blockquote>
<p>
In less than two weeks since the announcement was made at CICON that CodeIgniter was <a href="https://github.com/EllisLab/CodeIgniter">moving to GitHub</a>, we've seen some incredible results from the change.  Already CodeIgniter is the 10th <a href="https://github.com/languages/PHP/most_watched">most watched PHP project</a> at GitHub (currently 758), with 42 open pull requests, 53 merged pull requests, 170 forks, and 41 individual contributors.  Incredible!
</p>
<p>
[...] We also noticed what seemed to be a spike in activity on the #CodeIgniter Freenode IRC channel, so we've decided to make it more prominent to encourage its continued use.  You'll now notice an IRC tab in the main navigation, letting you access the <a href="http://codeigniter.com/irc/">#CodeIgniter IRC</a> channel right here at CodeIgniter.com.
</p>
</blockquote>
<p>
If you want more details on why they made the switch over to git, check out <a href="http://ellislab.com/blog/comments/ellislab_switches_to_git_moves_to_github">this blog entry</a> from the EllisLab site for an explanation from <i>Derek Jones</i>
</p>]]></description>
      <pubDate>Fri, 02 Sep 2011 08:48:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: PHP 5.4 features poll: the results]]></title>
      <guid>http://www.phpdeveloper.org/news/16666</guid>
      <link>http://www.phpdeveloper.org/news/16666</link>
      <description><![CDATA[<p>
On DZone.com today <i>Giorgio Sironi</i> has <a href="http://css.dzone.com/articles/php-54-features-poll-results">posted the results</a> of a poll taken a little while back concerning what people thought was the best feature of the upcoming PHP 5.4 release.
</p>
<blockquote>
After two weeks, we have closed the <a href="http://css.dzone.com/polls/what-new-feature-php-54">poll</a> among the PHP community of Web Builder Zone to establish which are the most wanted features, which will influence development of applications on PHP 5.4. Hopefully this poll would also shape our focus in tutorials in the future - I personally plan to dedicate more time to the winning features.
</blockquote>
<p>
Runners up included the removal of magic quotes and strict mode with the top three being (in this order) the upload progress patch, traits and the array improvements leading the pack. You can <a href="http://css.dzone.com/sites/all/files/php54results.png">see the results here</a>.
</p>]]></description>
      <pubDate>Wed, 03 Aug 2011 08:19:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: SQL Server JumpIn! Camp Wrap Up]]></title>
      <guid>http://www.phpdeveloper.org/news/16522</guid>
      <link>http://www.phpdeveloper.org/news/16522</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> (of Microsoft) has <a href="http://blogs.msdn.com/b/brian_swan/archive/2011/06/24/sql-server-jumpin-camp-wrap-up.aspx">posted his wrapup</a> of the recent Jump In! Camp they held around integration of SQL Server functionality into several popular PHP projects like the <a href="http://framework.zend.com">Zend Framework</a> and <a href="http://pear.php.net">PEAR</a>.
</p>
<blockquote>
During each day of the camp, PHP developers worked side-by-side with Microsoft developers to add SQL Server and SQL Azure support to their projects, but nearly everyone put in many extra hours late at night (and even early morning!) to add support for other Microsoft technologies (such as IIS, Web Platform Installer, and Windows Azure). 
</blockquote>
<p>
He includes some pictures taken of <a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-33-78-metablogapi/8176.JICWork_5F00_done_5F00_74B25572.jpg">the progress board</a> for the various projects and <a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-33-78-metablogapi/4353.JICWish_5F00_list_5F00_46E48CAD.jpg">the wishlist</a> that developers in attendance requested of the Microsoft team.
</p>
<blockquote>
I can't say thanks enough to all the participants for being 100% invested in the camp and for going the extra mile to investigate how their projects might be able to integrate Microsoft technologies beyond SQL Server and SQL Azure. I know that the entire SQL Server team echoes my thanks.
</blockquote>]]></description>
      <pubDate>Mon, 27 Jun 2011 12:28:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Johannes Schluter's Blog: Upload Progress in PHP trunk]]></title>
      <guid>http://www.phpdeveloper.org/news/15538</guid>
      <link>http://www.phpdeveloper.org/news/15538</link>
      <description><![CDATA[<p>
<i>Johannes Schluter</i> has <a href="http://schlueters.de/blog/archives/151-Upload-Progress-in-PHP-trunk.html">a new post</a> 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 <i>Arnaud Le Blanc</i> has been introduced to the trunk line of PHP's code.
</p>
<blockquote>
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 <a href="http://php.net/session">session handling system</a> 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.
</blockquote>
<p>
If you want all of the details on it, you can <a href="http://wiki.php.net/rfc/session_upload_progress">check out the RFC</a> on it. <i>Johannes</i> 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.
</p>]]></description>
      <pubDate>Mon, 06 Dec 2010 10:30:58 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Stocker's Blog: Upload Progress Meter - Common issues and some answers]]></title>
      <guid>http://www.phpdeveloper.org/news/12241</guid>
      <link>http://www.phpdeveloper.org/news/12241</link>
      <description><![CDATA[<p>
On the Liip blog today <i>Christian Stocker</i> has posted about a <a href="http://blog.liip.ch/archive/2009/03/31/upload-progress-meter-common-issues-and-some-answers.html">few common issues</a> developers seem to have with the upload progress meter extension and a few answers to help them out.
</p>
<blockquote>
After I released <a href="http://pecl.php.net/package/uploadprogress">uploadprogress</a> 1.0.0 some days ago and finally declared it as stable, it's time to write that blogpost about some of the limitations and caveats one has to know.
</blockquote>
<p>
The post <a href="http://labs.liip.ch/uploadprogresssimple/">links to a demo</a> and answers a few different questions on issues such as:
</p>
<ul>
<li>Running it on other modules than mod_php on Apache ( like fastcgi)
<li>Checking if files are too big
<li>The position and content of UPLOAD_IDENTIFIER within the form is important
<li>Why not use $_SESSION for the info?
<li>It segfaults, when I don't include UPLOAD_IDENTIFIER
</ul>
<p>
See <a href="http://pecl.php.net/package/uploadprogress">the PECL page</a> for the extension for more information.
</p>]]></description>
      <pubDate>Tue, 31 Mar 2009 09:31:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Stocker's Blog: Upload Progress Meter for Windows - The next take]]></title>
      <guid>http://www.phpdeveloper.org/news/12130</guid>
      <link>http://www.phpdeveloper.org/news/12130</link>
      <description><![CDATA[<p>
<i>Christian Stocker</i> has <A href="http://blog.liip.ch/archive/2009/03/13/upload-progress-meter-for-windows-the-next-take.html">posted about</a> "the next take" on the PHP upload progress meter extension - a new version that plays a bit nicer on Windows than before.
</p>
<blockquote>
The <a href="http://pecl.php.net/package/uploadprogress">uploadprogress</a> extension for PHP <a href="http://pecl.php.net/bugs/bug.php?id=9584">never really worked on Windows</a> and since I don't have a Windows development environment I could never do a proper analysis of the problem. Until this week, when Tomas Holusa sent me an email telling me about some VCWD_RENAME problems on Windows.
</blockquote>
<p>
<a href="http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.9.2.35.2.4&r2=1.74.2.9.2.35.2.5&pathrev=PHP_5_3">A patch</a> that was submitted a while back confirmed the issue and <a href="http://cvs.php.net/viewvc.cgi/pecl/uploadprogress/uploadprogress.c?r1=1.19&r2=1.20">a new patch</a> was written and submitted to take care of the problem. You can try out the new extension on Windows with either the <a href="http://downloads.php.net/pierre/php_uploadprogress-cvs-200903012-5.2-Win32.zip">normal Wind32 build</a> or <a href="http://downloads.php.net/pierre/php_uploadprogress-cvs-200903012-5.2-nts-Win32.zip">Win32 nts build</a>.
</p>]]></description>
      <pubDate>Fri, 13 Mar 2009 09:38:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Stocker's Blog: Upload Progress Meter extension 0.9.2 released]]></title>
      <guid>http://www.phpdeveloper.org/news/11791</guid>
      <link>http://www.phpdeveloper.org/news/11791</link>
      <description><![CDATA[<p>
<i>Christian Stocker</i> has <a href="http://blog.liip.ch/archive/2009/01/22/uploadprogress-0-9-2-released.html">released the latest version</a> of the uploadprogress extension to the PECL repository (0.9.2). The package allows the code to track the progress of an upload automatically.
</p>
<blockquote>
The main new function since 0.9.1 is uploadprogress_get_contents($id), which allows you to analyse the content of an uploading file during the upload and do appropriate measure (for example warn the user, that he doesn't upload a supported video format). You have to enable this feature in php.ini to make it work. This feature was provided by <a href="http://benramsey.com">Ben Ramsey</a>, so you have to poke him, if something's wrong with it.
</blockquote>
<p>
A simple example of it in action is also included (in the /examples subdirectory off of the PECL page) showing how to upload a file, get the progress and - most importantly - how to get useful error messages out of it.
</p>]]></description>
      <pubDate>Thu, 22 Jan 2009 09:36:38 -0600</pubDate>
    </item>
    <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>
  </channel>
</rss>
