<?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>Wed, 19 Jun 2013 06:49:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: An Introduction to Ctype Functions]]></title>
      <guid>http://www.phpdeveloper.org/news/19526</guid>
      <link>http://www.phpdeveloper.org/news/19526</link>
      <description><![CDATA[<p>
On PHPMaster.com today <i>David Shirey</i> has a written up a new tutorial <a href="http://phpmaster.com/an-introduction-to-ctype-functions/">introducing the ctype functions</a> in PHP. This set of functions provides a handy way to more correctly check values to ensure they're valid (and contain what they should).
</p>
<blockquote>
If you have a background in C, then you're probably already familiar with the character type functions because that is where they come from (don't forget that PHP is actually written in C). But if you're into Python, then it's only fair to point out that the PHP Ctype functions have absolutely nothing to do with the Python's ctypes library. It's just one of those tragic and totally unavoidable naming similarities.
</blockquote>
<p>
He briefly explains how the functions work and at least one "gotcha" to watch out for if you're using them for input validation. He then goes through the list of the eleven ctype functions and briefly describes what they do. Some example code is also included showing how you can use them to validate a value based on the true/false return from the function call.
</p>
Link: http://phpmaster.com/an-introduction-to-ctype-functions]]></description>
      <pubDate>Tue, 30 Apr 2013 11:38:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebReference.com: User Personalization with PHP: The Verification Code]]></title>
      <guid>http://www.phpdeveloper.org/news/12150</guid>
      <link>http://www.phpdeveloper.org/news/12150</link>
      <description><![CDATA[<p>
WebReference.com continues their look at user personalization with the <a href="http://www.webreference.com/programming/php/user_personalization2/index.html">second part</a> of the series - how to validate that the users signing up for your site are valid. (Here's <a href="http://www.phpdeveloper.org/news/12026">part one</a>, the introduction).
</p>
<blockquote>
In this article, we will be looking at user authentication. User authentication simply means verifying that a particular user has the right to access a part of our application. Because our application deals with user preferences, access control is even more pertinent especially since multiple users are going to try to access this application at any given time. 
</blockquote>
<p>
As a part of this user validation and customization, they need to create a form that non-human scripts have a harder time using (hopefully weeding them out and getting better user information). The article steps you through a few lines of code that you can use to create a simple image of a four-digit number whose value is placed in a session variable so it can be validated on submission of the form.
</p>]]></description>
      <pubDate>Tue, 17 Mar 2009 09:37:50 -0500</pubDate>
    </item>
  </channel>
</rss>
