<?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 22:35:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Andrei Zmievski's Blog: PHP 6 and Request Decoding]]></title>
      <guid>http://www.phpdeveloper.org/news/7324</guid>
      <link>http://www.phpdeveloper.org/news/7324</link>
      <description><![CDATA[<p>
<i>Andrei Zmievski</i> has <a href="http://www.gravitonic.com/blog/archives/000360.html">posted something new</a> to his blog today about a feature of PHP6 that's finally been hammered down - HTTP input (request) decoding.
</p>
<blockquote>
There have been no fewer than 4 different proposals floated before, but this one combines flexibility, performance, intuitiveness, and minimal architectural changes, and has only a couple of small drawbacks. Let's take a closer look.
</blockquote>
<p>
He <a href="http://www.gravitonic.com/blog/archives/000360.html">details the functionality</a> - what it is, what's been decided on, and the advantages of the method. The basic approach is a "lazy" one where PHP will only store the request when it comes in, no filtering or anything, until you want to do something with it (i.e. get it via $_GET, $_POST, etc). When the request for data is made, PHP looks at the encoding settings and formats the data accordingly.
</p>
<p>
Advantages he mentions for this method include removing the guess-work on PHP's part for which encoding the request is and that it removes some of the overhead by not processing the data until it's actually needed.
</p>]]></description>
      <pubDate>Thu, 22 Feb 2007 07:49:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[MegaLeecher.net: Decoding CAPTCHA using PHP | Hypertext Preprocessor]]></title>
      <guid>http://www.phpdeveloper.org/news/5535</guid>
      <link>http://www.phpdeveloper.org/news/5535</link>
      <description><![CDATA[<p>
Just when you thought you were safe with the little CAPTCHA graphic on your site, something <a href="http://captcha.megaleecher.net/">like this</a> comes along - a method for decoding CAPTCHA images using only PHP.
</p>
<quote>
<i>
This example shows a simple method of decoding "CAPTCHA" (Completely Automated Public Turing test to tell Computers and Humans Apart) correctly into usable variables for processing. There is no 100% guarantee that it would successfully decode the CAPTCHA (Maybe about 90% or more) but it is a start.
</i>
</quote>
<p>
Their <a href="http://captcha.megaleecher.net/">example</a> pulls an image with overlapping characters to be parsed by their PHP script (needing the GD2 extension). They start off by taking the image into a graphic editor and breaking up the characters to create a "pixel library" of the letters (A-Z) and numbers (0-9) that service uses. This is then used by the PHP script to locate what letters/numbers might be present in the image.
</p>
<p>
They <a href="http://captcha.megaleecher.net/">include in upload form</a> to allow users to give it a try as well as a sample pixel library for the full series of letters/numbers and their points.
</p>]]></description>
      <pubDate>Wed, 07 Jun 2006 06:38:31 -0500</pubDate>
    </item>
  </channel>
</rss>
