<?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>Sun, 19 May 2013 04:09:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Knut Urdalen's Blog: Washing emails]]></title>
      <guid>http://www.phpdeveloper.org/news/11465</guid>
      <link>http://www.phpdeveloper.org/news/11465</link>
      <description><![CDATA[<p>
<i>Knut Urdalen</i> has <a href="http://www.urdalen.com/blog/?p=246">posted a new blog item</a> about something he calls "washing emails":
</p>
<blockquote>
In this tutorial I'll show you how to create a simple PHP script to cleanup a list of email addresses. As a web developer you have probably been asked to wash a list of emails from a manager or marketer some times. Here's the ultimate solution.
</blockquote>
<p>
His script does a few things - removes duplicates, validates that the email address exists, uses pipes for communication and is as flexible as possible to work on most PHP distributions. You can download the simple script <a href="http://www.urdalen.com/files/wash.phps">here</a>.
</p>]]></description>
      <pubDate>Thu, 27 Nov 2008 14:42:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones: Converting REF CURSOR to PIPE for Performance in PHP OCI8 and PDO_OCI]]></title>
      <guid>http://www.phpdeveloper.org/news/11338</guid>
      <link>http://www.phpdeveloper.org/news/11338</link>
      <description><![CDATA[<p>
In <a href="http://blogs.oracle.com/opal/2008/11/converting_ref_cursor_to_pipe.html">this new post</a> to his blog <i>Chris Jones</i> looks at an option to increase the performance of your PHP/Oracle application even more - converting a REF CURSOR into a piped data set via the PDO_OCI extension.
</p>
<blockquote>
REF CURSORs are common in Oracle's stored procedural language PL/SQL. They let you pass around a pointer to a set of query results. However in PHP, PDO_OCI doesn't yet allow fetching from them. [...] One workaround, when you can't rewrite the PL/SQL code to do a normal query, is to write a wrapper function that pipes the output.
</blockquote>
<p>
He includes an example, creating an example myproc() that contains the query to select the last names of all employees in the table. This procedure is put inside of a package so it can be called directly in the SQL statement and the ref cursor can be automatically piped to output.
</p>
]]></description>
      <pubDate>Tue, 04 Nov 2008 08:48:36 -0600</pubDate>
    </item>
  </channel>
</rss>
