<?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 19:57:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Locale-Sensitive Dates in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11347</guid>
      <link>http://www.phpdeveloper.org/news/11347</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> shares a <a href="http://www.lornajane.net/posts/2008/Locale-Sensitive-Dates-in-PHP">quick code snippet</a> she's worked up to make handling local-sensitive dates in PHP a bit easier (via the <a href="http://www.php.net/strftime">strftime</a> function).
</p>
<blockquote>
I needed dates like "Donderdag 23 Oktober", and I was sure PHP should know how to do this without me creating arrays for days of the week and months of the year. With some help from my friend (thanks Derick) I discovered that there is a date function in PHP that takes into account the locale of the script, called strftime.
</blockquote>
<p>
Her code snippet shows how to set the correct local time (in her case, nl_NL with a UTF-8 encoding) and how to return a formatted string based on formatting characters (much like printf/sprintf).
</p>]]></description>
      <pubDate>Wed, 05 Nov 2008 08:48:44 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP Security Tips #8 & #9]]></title>
      <guid>http://www.phpdeveloper.org/news/7426</guid>
      <link>http://www.phpdeveloper.org/news/7426</link>
      <description><![CDATA[<p>
The Zend Developer Zone has the latest two of their security tips posted today - numer #8 and #9 - in their "PHP Security Tips" series.
<ul>
<li>In <a href="http://devzone.zend.com/node/view/id/1793">tip #8</a>, they restate and reinforce a topic that's worth repeating - validating user input. They use the filter_var function as a simple, light way to start filtering your user's input.
<li><a href="http://devzone.zend.com/node/view/id/1807">Tip #9</a> suggests that you keep anything sensitive, anything at all that needs to be kept away from prying eyes, outside of your document root of the site. 
</ul>
You can check out more on these tips and lots of others in their <a href="http://devzone.zend.com/public/view/tag/Security_Tips">full list</a> of tips.
</p>]]></description>
      <pubDate>Tue, 13 Mar 2007 12:53:00 -0500</pubDate>
    </item>
  </channel>
</rss>
