<?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, 18 May 2013 06:32:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[php|architect: Geolocation: Easier Than It Looks]]></title>
      <guid>http://www.phpdeveloper.org/news/17098</guid>
      <link>http://www.phpdeveloper.org/news/17098</link>
      <description><![CDATA[<p>
On the php|architect site <i>Jeremy Kendall</i> has a new article looking at <a href="http://www.phparch.com/2011/11/geolocation-its-easier-than-it-looks/">geolocation in PHP</a> and how, despite some comments in the past about its difficulty, some more recent tools make it relatively simple.
</p>
<blockquote>
Have you ever wanted to add location-aware content to your web applications? Would you believe me if I told you it was dead easy, and you could be up and running in about 10 minutes? The first thing you want to do is use someone else's work. Geolocation is a solved problem; there's no need to roll your own. I went searching for free Geolocation APIs and found two I wanted to try: MaxMind's <a href="http://www.maxmind.com/app/geolitecity">GeoLite API</a> and <a href="http://developer.quova.com/">Quova</a>.
</blockquote>
<p>
He briefly introduces each data source - GeoLite as a downloadable database and Quova as an API. Sample code is included for using the data from both of these services to find a location based on an IP address. He does include one caveat though - be careful about accuracy, they usually only promise things to be within 25 miles of the spot you're actually looking for.
</p>]]></description>
      <pubDate>Tue, 08 Nov 2011 08:03:21 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Asvin Balloo's Blog: Geolocate your visitors with PHP (part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/10643</guid>
      <link>http://www.phpdeveloper.org/news/10643</link>
      <description><![CDATA[<p>
On his blog today <i>Asvin Balloo</i> has posted <a href="http://htmlblog.net/geolocate-your-visitors-with-php-part-1/">the first part</a> of his look at his method for geolocating the visitors to your website using the PEAR GeoIP package and the MaxMind GeoLite Country information.
</p>
<p>
In this first part, he just makes sure that you have what you need installed before really getting started. Brief installation instructions are provided and example code is included to make sure things are up and working correctly (a lookup for whatever IP you're coming from).
</p>
<p>
It uses the <a href="http://pear.php.net/manual/en/package.networking.net-geoip.lookupcountryname.php">lookupCountryName</a> method to translate the information based on the MaxMind data.
</p>]]></description>
      <pubDate>Mon, 21 Jul 2008 08:49:29 -0500</pubDate>
    </item>
  </channel>
</rss>
