<?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>Sat, 18 May 2013 15:13:11 -0500</pubDate>
    <ttl>30</ttl>
    <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[Ed Finkler's Blog: PHPSecInfo v0.2.1 now available]]></title>
      <guid>http://www.phpdeveloper.org/news/7579</guid>
      <link>http://www.phpdeveloper.org/news/7579</link>
      <description><![CDATA[<p>
<i>Ed Finkler</i> has <a href="http://funkatron.com/wp/archives/php/phpsecinfo-v021-now-available/">an announcement</a> about the latest release of the PHP security audit tool, PHPSecInfo, for version 0.2.1 today.
</p>
<blockquote>
<a href="http://phpsecinfo.com/">PhpSecInfo</a> v0.2.1 is now available. It's primarily a bugfix release, but a fairly significant one.
</blockquote>
<p>
<a href="http://phpsec.org/projects/phpsecinfo/CHANGELOG">Updates</a> include:
<ul>
<li>uid and gid tests now correctly test the user and group that PHP is executing as
<li>Changed upload_max_filesize and post_max_size return 'OK' if current value is equal to recommended value
<li>fixed nonstandard naming on some constants
<li>fixed XHTML validation issue
</ul>
</p>]]></description>
      <pubDate>Mon, 09 Apr 2007 07:36:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Security Blog: The Suhosin Patch, File Uploads, and Stealth Mode]]></title>
      <guid>http://www.phpdeveloper.org/news/6825</guid>
      <link>http://www.phpdeveloper.org/news/6825</link>
      <description><![CDATA[<p>
On the PHP Security Blog, there's two new posts concerning their <a href="http://www.suhosin.org/">Suhosin patch</a> for PHP - one talking about a remote code execution vulnerability found in the <a href="http://blog.bitflux.ch/archive/2006/09/28/upload-progress-meter-extension-for-php-5-2.html">uploadprogressmeter extension</a> (which as already been corrected) and the other dealing with the "stealth mode" of the patch to find compatibility problems.
</p>
<p>
As mentioned, the issue with the <a href="http://pecl.php.net/package/uploadprogress">uploadprogress extension</a> has been fixed and as been introduced into the PECL repository. The <a href="http://blog.php-security.org/archives/57-Suhosin-0.9.16-with-Stealth-Mode.html">other post</a> just mentions what the patch is doing to try to keep compatibility problems from happening due to back extensions and/or modules being loaded in an application.
</p>
<p>
More details about the Suhosin patch can be found <a href="http://www.suhosin.org/">here</a>.
</p>]]></description>
      <pubDate>Tue, 05 Dec 2006 10:02:00 -0600</pubDate>
    </item>
  </channel>
</rss>
