<?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>Fri, 24 May 2013 17:31:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Use the PHP Filter Extension to Validate User Data]]></title>
      <guid>http://www.phpdeveloper.org/news/15430</guid>
      <link>http://www.phpdeveloper.org/news/15430</link>
      <description><![CDATA[<p>
On PHPBuilder.com there's a <a href="http://www.phpbuilder.com/columns/PHP-Filter-Extension/Jason_Gilmore11112010.php3">recent tutorial posted</a> abut using the <a href="http://us2.php.net/manual/en/intro.filter.php">filter extension</a> (now a part of the PHP core since 5.2) to filter and validate incoming user data. 
</p>
<blockquote>
With so much potential for distraction, it's no wonder that developers continue to fall victim to the very same security gaffes that have afflicted the community for well over a decade. Notably, failure to properly validate user input remains the single most serious security issue, with several of the <a href="http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project">Open Web Application Security Project</a>'s top ten security risks originating directly from this oversight.
</blockquote>
<p>
He shows how much of an issue improperly escaped data can cause and how to validate a few different kinds of data like alphanumeric string and integers. He also mentions using <a href="http://php.net/manual/en/mysqli.prepare.php">prepared statements</a> or the <a href="http://framework.zend.com/manual/en/zend.filter.html">Zend_Filter</a> component of the Zend Framework.
</p>]]></description>
      <pubDate>Mon, 15 Nov 2010 09:35:30 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Databases: Finishing a Listing Service]]></title>
      <guid>http://www.phpdeveloper.org/news/8186</guid>
      <link>http://www.phpdeveloper.org/news/8186</link>
      <description><![CDATA[<p>
DevShed wraps up their look at databases in PHP (a excerpted from "Programming PHP, Second Edition") with <a href="http://www.devshed.com/c/a/PHP/Databases-Finishing-a-Listing-Service/">this new tutorial</a> showing how to insert and work with PDO prepared statements.
</p>
<blockquote>
Concluding our discussion of databases and PHP, we'll finish building the [administration portion of the website] example that we started last week. 
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Databases-Finishing-a-Listing-Service/">start with the code</a> for the administration page for adding a new record to the table - in this case, a business. They give the code to handle the submit and how to display a list of the current businesses. They wrap it up with a look at working with PHP Data Objects (PDO) and using them to create prepared statements.
</p>]]></description>
      <pubDate>Thu, 05 Jul 2007 11:23:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CodePoets.co.uk: How to use PHP and PEAR MDB2 (Tutorial)]]></title>
      <guid>http://www.phpdeveloper.org/news/8002</guid>
      <link>http://www.phpdeveloper.org/news/8002</link>
      <description><![CDATA[<p>
On CodePoets.co.uk, there's <a href="http://codepoets.co.uk/pear_mdb2_php_database_howto_quickstart">a new tutorial posted</a> by <i>David Goodwin</i> showing how to use PHP with the PEAR MDB2 component to access your database backend.
</p>
<blockquote>
While writing some <a href="http://www.palepurple.co.uk/training">PHP Training</a> materials for <a href="http://www.palepurple.co.uk/">Pale Purple</a>, I thought I'd add an updated guide on PHP and database access. I've already done one on <a href="http://codepoets.co.uk/doc/php_pear_quickstart_database_web_applications">PEAR::DB</a>, but PEAR::MDB2 is it's successor and has a slightly different API.... and as PEAR::DB is now deprecated, it's probably about time I rewrote it anyway.
</blockquote>
<p>
<i>David</i> <a href="http://codepoets.co.uk/pear_mdb2_php_database_howto_quickstart">looks at</a> what the MDB2 package is, how to install it, connecting to your database and including some error handling as well. He (thankfully) also touches on one of the most handy features of the package - the prepared statements and the security they can offer.
</p>]]></description>
      <pubDate>Thu, 07 Jun 2007 13:56:00 -0500</pubDate>
    </item>
  </channel>
</rss>
