<?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>Thu, 22 May 2008 13:16:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Allen's Blog: Simple Zend_Form File Upload Example Revisited]]></title>
      <guid>http://www.phpdeveloper.org/news/10210</guid>
      <link>http://www.phpdeveloper.org/news/10210</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has <a href="http://akrabat.com/2008/05/16/simple-zend_form-file-upload-example-revisited/">revisited</a> a Zend_Form example he had created before, updating it with a fix for a common error people were seeing when the form tries to validate.
</p>
<blockquote>
I've been thinking about the <a href="http://akrabat.com/2008/04/07/simple-zend_form-file-upload-example/">Simple Zend_Form File Upload Example</a> that I discussed last month. To recap, if you haven't read the comments, if the form fails to validate for some reason then you get a nasty error.
</blockquote>
<p>
He corrects the issue by creating an ArrayObject (thanks to the SPL) that can be used both as an array and can look like a string to htmlspecialchars and changing up the validation a little bit to work with the new object.
</p>]]></description>
      <pubDate>Mon, 19 May 2008 09:33:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Uploading YouTube Videos with Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/10187</guid>
      <link>http://www.phpdeveloper.org/news/10187</link>
      <description><![CDATA[<p>
In a <a href="http://devzone.zend.com/article/3520-Uploading-YouTube-Videos-with-Zend-Framework">recently posted tutorial</a> on the Zend Developer Zone website, <i>Cal Evans</i> has pointed out a video showing PHP pushing videos out to YouTube.
</p>
<blockquote>
Attention all you Zend Framework junkies, Jochen Hartmann has uploaded a new video to YouTube that demonstrates the basics of how to use Zend Framework with the YouTube Data API. This step-by-step demonstration walks you though everything you need to know to upload files to Youtube via Zend Framework.
</blockquote>
<p>
<a href="http://www.youtube.com/watch?v=iIp7OnHXBlo">The video</a> (from the official Google developers) shows the creation of a simple application that uses the Google Data component of the Zend Framework to upload the selected video from their local machine. 
</p>
<p>
You can find out more about the Google API for YouTube <a href="http://code.google.com/apis/youtube/">on this page</a> on the Google Code website.
</p>]]></description>
      <pubDate>Thu, 15 May 2008 07:59:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Developing a Modular Class For a PHP File Uploader]]></title>
      <guid>http://www.phpdeveloper.org/news/9977</guid>
      <link>http://www.phpdeveloper.org/news/9977</link>
      <description><![CDATA[<p>
DevShed has <a href="http://www.devshed.com/c/a/PHP/Developing-a-Modular-Class-For-a-PHP-File-Uploader/">posted the final part</a> of their series looking at the handling of file uploads in PHP5. This last installment shows how to take what yuou've learned so far and make things a bit more modular.
</p>
<blockquote>
At this stage, you've hopefully recalled how to build an expandable file uploading application with PHP 5 that uses only one custom function to transfer a target file from a client machine to a predefined web server. However, in the beginning, I said that I was going to teach you how to develop a brand new file uploading application using an object-oriented approach.
</blockquote>
<p>
The finish off the FileUploader class they were working on previously and show some testing examples of it in action.
</p>]]></description>
      <pubDate>Wed, 16 Apr 2008 13:28:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Defining a Custom Function for File Uploaders with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9937</guid>
      <link>http://www.phpdeveloper.org/news/9937</link>
      <description><![CDATA[<p>
On DevShed today, there's <a href="http://www.devshed.com/c/a/PHP/Defining-a-Custom-Function-for-File-Uploaders-with-PHP-5/">a new article</a> in their series looking at creating custom functions to handle file uploads in your application:
</p>
<blockquote>
I'm going to show you how to wrap the file uploading application built in the previous article of the series into a single custom PHP function. This will turn it into a more maintainable and reusable piece of code.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Defining-a-Custom-Function-for-File-Uploaders-with-PHP-5/1/">review the source</a> built in previous parts of the series and show how to update it with a uploadFile() function that takes all of the logic from before (exceptions and all) and wraps it up into a nice little package that can be reused anywhere.
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 09:48:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Creating an Error Handling Module for a PHP 5 File Uploader]]></title>
      <guid>http://www.phpdeveloper.org/news/9895</guid>
      <link>http://www.phpdeveloper.org/news/9895</link>
      <description><![CDATA[<p>
On DevShed today, they <a href="http://www.devshed.com/c/a/PHP/Creating-an-Error-Handling-Module-for-a-PHP-5-File-Uploader/">continue their look</a> at uploading files in PHP with the addition of some error handling features for their current script.
</p>
<blockquote>
In this third tutorial of the series, I'm going to show you how to incorporate a brand new error checking module into the file uploading PHP script created in the last article.
</blockquote>
<p>
They show the basic method - uploading with <a href="http://www.devshed.com/c/a/PHP/Creating-an-Error-Handling-Module-for-a-PHP-5-File-Uploader/1/">no error checking</a> - before showing how much help adding in an error checking component to watch for things like files that are too large, invalid file choices and problems writing the file on the server side.
</p>]]></description>
      <pubDate>Wed, 02 Apr 2008 16:38:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Retrieving Information on Selected Files with a PHP 5 File Uploader]]></title>
      <guid>http://www.phpdeveloper.org/news/9866</guid>
      <link>http://www.phpdeveloper.org/news/9866</link>
      <description><![CDATA[<p>
DevShed has continued their series (here's <a href="http://www.phpdeveloper.org/news/9830">part one</a>) looking at the use of file uploading in your PHP scripts. They build on that foundation and add in some more useful features <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/">this time</a>:
</p>
<blockquote>
The initial script in the first tutorial of this series lacked some important features, such as the implementation of an effective error handling module and the ability to check the MIME type and size of the file being uploaded. In this second installment of the series, I'm going to improve the logic of the script from the first tutorial to provide it with the capacity to retrieve useful information concerning the entire file uploading process.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/1/">look back</a> at the previous tutorial to remind you of some of the concepts and then move on to show you how to <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/2/">get information</a> about the file (like the MIME type, name and size of the uploaded file). The <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/3/">last page</a> is just the full source code for the cut and pasters out there.
</p>]]></description>
      <pubDate>Thu, 27 Mar 2008 09:31:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building File Uploaders with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9830</guid>
      <link>http://www.phpdeveloper.org/news/9830</link>
      <description><![CDATA[<p>
On DevShed today there's a <a href="http://www.devshed.com/c/a/PHP/Building-File-Uploaders-with-PHP-5/">new tutorial</a> showing how to build file upload functionality into your scripts.
</p>
<blockquote>
If you're a PHP developer who has built a certain number of web applications, then it's quite probable that you've already worked with HTTP file uploads. [...] First I'm going to teach you how to handle file uploads using a procedural approach, and then, with the topic well underway, by way of the object-oriented paradigm.
</blockquote>
<p>
The introduce the beginners out there to <a href="http://www.devshed.com/c/a/PHP/Building-File-Uploaders-with-PHP-5/1/">the $_FILES array</a> (a superglobal) that contains the details about the file(s) that have been submitted. Next comes the construction of a <a href="http://www.devshed.com/c/a/PHP/Building-File-Uploaders-with-PHP-5/2/">simple form</a> and how to handle the submission <a href="http://www.devshed.com/c/a/PHP/Building-File-Uploaders-with-PHP-5/3/">on the PHP side</a>.
</p>]]></description>
      <pubDate>Thu, 20 Mar 2008 11:18:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: Upload Files to MySQL using PHP Tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/9102</guid>
      <link>http://www.phpdeveloper.org/news/9102</link>
      <description><![CDATA[<p>
From Developer Tutorials, there's a <a href="http://www.developertutorials.com/tutorials/php/upload-files-to-mysql-using-php-tutorial-7-11-22/page1.html">new tutorial</a> posted about creating a file upload script combining PHP and MySQL.
</p>
<blockquote>
I much prefer to upload files to mysql instead of saving them directly to the file system. I can run database backups/mirrors that are much easier to manage then if files were placed on the file system. Here are the simple scripts I use to upload files and a script to stream the file back to the browser.
</blockquote>
<p>
The tutorial is mostly just the code for the simple application - the MySQL table structure, the PHP code to handle the file (including the insert into the MySQL database) and the code to download the same files.
</p>]]></description>
      <pubDate>Fri, 23 Nov 2007 08:26:00 -0600</pubDate>
    </item>
  </channel>
</rss>
