<?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, 22 Nov 2008 04:26:02 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Cory Borrow's Blog: Creating thumbs from textfiles with PHP and GD]]></title>
      <guid>http://www.phpdeveloper.org/news/9437</guid>
      <link>http://www.phpdeveloper.org/news/9437</link>
      <description><![CDATA[<p>
<i>Cory Borrow</i> has <a href="http://www.coryborrow.com/2008/01/11/creating-thumbs-from-textfiles-with-php-and-gd/">posted a tutorial</a> he's created to show how to harness the power of PHP and GD to create thumbnail images out of the contents of a text file.
</p>
<blockquote>
Today, I'll give a little info on how to achieve the process of creating a thumbnail using PHP, GD and the text from a text file. It is really pretty simple, so lets get started.
</blockquote>
<p>
The trick behind the translation is in reading in the contents of the (plain) text file and pushing it into a string value of a newly created GD-generated image. He includes the code to make using it in your own app simple (a cut and paste version) - his method FileToThumb.
</p>]]></description>
      <pubDate>Wed, 16 Jan 2008 12:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Wez Furlong's Blog: HTTP POST from PHP, without cURL]]></title>
      <guid>http://www.phpdeveloper.org/news/6712</guid>
      <link>http://www.phpdeveloper.org/news/6712</link>
      <description><![CDATA[<p>
In an effort to get streams more out in the, er, mainstream, <i>Wez Furlong</i> has <a href="http://netevil.org/node.php?nid=937">posted an example</a> of some code for a common operation many use cURL for - posting to a remote script - but with streams.
</p>
<blockquote>
Every time I search for the code snippet that allows you to do an HTTP POST request, I don't find it in the manual and resort to reading the source. So, here's an example of how to send a POST request with straight up PHP, no cURL.
</blockquote>
<p>
The example uses stream_context_create, fopen, stream_get_contents and an Exception to send off the message from an inputted array to the remote server. Smaller things, like the Content-length header on the request, are automatically handled by the wrapper functionality. You can check out <a href="http://www.php.net/manual/en/wrappers.http.php">this page</a> for more information on the wrapper functionality.
</p>]]></description>
      <pubDate>Wed, 15 Nov 2006 10:09:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Davey Shafik and Ben Ramsey on the Zend Certification Exam Study Guide]]></title>
      <guid>http://www.phpdeveloper.org/news/6455</guid>
      <link>http://www.phpdeveloper.org/news/6455</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, there's <a href="http://devzone.zend.com/node/view/id/1029">an interview</a> with the co-authors of the recently released book from php|architect, the <a href="http://www.zend.com/store/book/zend_php_5_certification_study_guide">Zend Certification Study Guide</a>.
</p>
<blockquote>
The new <a href="http://www.zend.com/store/book/zend_php_5_certification_study_guide">Zend Certification Study Guide</a> is out and the initial reviews look good. Since this was a topic of interest to me (mainly because I've yet to take the test) I decided to dig a little deeper. I fired up my recorder and called <a href="http://www.pixelated-dreams.com/">Davey Shafik</a> and <a href="http://benramsey.com/">Ben Ramsey</a>, the authors of the new guide, to talk to them. Here to give you a little of the back story is our conversation.
</blockquote>
<p>
They <a href="http://devzone.zend.com/node/view/id/1029">talk about</a>:
<ul>
<li>the release of the book
<li>some of the contents of the chapters (including the <a href="http://www.zend.com/media/files/pdf/store/sample_chapter">sample chapter</a> on security)
<li><i>Davey</i>'s experience with the exam/<i>Ben</i>'s use of his PHP4 certification in his work
<li>and the practice tests that php|architect is offering to get developers prepared.
</p>]]></description>
      <pubDate>Mon, 09 Oct 2006 14:56:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: The Joy of Regular Expressions [1]]]></title>
      <guid>http://www.phpdeveloper.org/news/6356</guid>
      <link>http://www.phpdeveloper.org/news/6356</link>
      <description><![CDATA[<p>
Sometimes, it's just not enough to sit and try to teach theory about something in programming - it's better to just jump right in and take things as they come. That's what <i>Harry Fuecks</i> thinks, at least in his <a href="http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/">latest post</a> on the SitePoint PHP Blog - a look at the "Joy of Regular Expressions".
</p>
<p>
He does go over a bit of the theory and why they are so invaluable, but it's a short section before he gets to the heart of the article - working with regular expressions for:
<ul>
<li>positive matching
<li>matching all instances in a given string
<li>finding an exact match
<li>matching the start of a string
<li>validation of the contents of a string
<li>checking the length of a string
</ul>
There's <a href="http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/">simple examples</a> included for each of the items to help you get an idea of how they'd work.
</p>]]></description>
      <pubDate>Tue, 26 Sep 2006 08:02:45 -0500</pubDate>
    </item>
  </channel>
</rss>
