<?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>Thu, 23 May 2013 15:38:35 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Jason Palmer's Blog: Zip Code To Location]]></title>
      <guid>http://www.phpdeveloper.org/news/6986</guid>
      <link>http://www.phpdeveloper.org/news/6986</link>
      <description><![CDATA[<p>
On his blog today, <i>Jason Palmer</i> has a <a href="http://www.jason-palmer.com/tutorials/zip-code-to-location">handy bit of code</a> to help you validate zip codes on your website (using the Codebump.com web service).
</p>
<blockquote>
Using the CodeBump GeoPlaces Web Service I constructed a function which takes three parameters (zip, city, state) and does a case-insensitive comparison to make sure that the given zip code matches the city and state. Upon verification the function will return true. Otherwise, it returns false.
</blockquote>
<p>
The <a href="http://www.jason-palmer.com/tutorials/zip-code-to-location">simple code</a> is about 35 lines long and grabs and parses out the information with a combination of an fopen and converting the results into an XML element.
</p>]]></description>
      <pubDate>Thu, 28 Dec 2006 11:22:00 -0600</pubDate>
    </item>
  </channel>
</rss>
