<?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 19:55:47 -0500</pubDate>
    <ttl>30</ttl>
    <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>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Detecting Timezone By IP]]></title>
      <guid>http://www.phpdeveloper.org/news/10132</guid>
      <link>http://www.phpdeveloper.org/news/10132</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has posted <a href="http://derickrethans.nl/detecting_timezone_by_ip.php">a method</a> he's come up with to try to figure out the user's timezone based on the IP address they're using:
</p>
<blockquote>
Through <a href="http://planet-php.org/">Planet PHP</a> I found an article on <a href="http://torrentialwebdev.com/blog/archives/152-Pre-populating-forms-with-the-timezone.html">Pre-populating forms with the timezone</a>. I'd normally add a comment instead, but the comment would almost be larger then the original post, so I am instead writing up an entry myself. The post describes several ways to obtain the user's timezone and use that to pre-fill a form. None of them are working properly though. 
</blockquote>
<p>
In <i>Derick</i>'s <a href="http://derickrethans.nl/detecting_timezone_by_ip.php">method</a> combines a bit of Javascript with some PHP to correctly find the timezone.
</p>]]></description>
      <pubDate>Wed, 07 May 2008 11:15:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: Effective Geotargeting with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9503</guid>
      <link>http://www.phpdeveloper.org/news/9503</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has <a href="http://www.developertutorials.com/tutorials/php/effective-geotargeting-with-php-8-01-23/page1.html">a new article</a> that talks about their method for creating simple geotargeting for your visitors.
</p>
<blockquote>
In this tutorial, we'll take a look at the technique of geotargeting, or serving content to users based on their physical location. The technology is invaluable; with simple techniques, you can target advertising to specific users, collect more accurate usage statistics, serve content in different languages for different regions and provide local information like weather reports to your visitors.
</blockquote>
<p>
They use the <a href="http://www.maxmind.com/">GeoIP</a> services offered by Maxmind to perform the IP to location translation and the PEAR package already created to make the integration as painless as possible.
</p>]]></description>
      <pubDate>Mon, 28 Jan 2008 09:47:00 -0600</pubDate>
    </item>
  </channel>
</rss>
