<?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:10:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stefan Koopmanshcap's Blog: Installing the Geoip PECL package for Zend Server on OSX]]></title>
      <guid>http://www.phpdeveloper.org/news/17385</guid>
      <link>http://www.phpdeveloper.org/news/17385</link>
      <description><![CDATA[<p>
In <a href="http://www.leftontheweb.com/message/Installing_the_Geoip_PECL_package_for_Zend_Server_on_OSX">this recent post</a> to his blog <i>Stefan Koopmanschap</i> shares some of the troubles (and a solution) when he was dealing with getting the Geoip PECL extension installed on his Zend Server setup in OSX.
</p>
<blockquote>
Today I needed to get a client application up and running on my local system. This application uses the Geoip PECL package, so I needed to get this up and running. This turned out to be slightly more difficult than just a PECL install, as you're missing some libraries by default, so here is my log of things to do to get it up and running.
</blockquote>
<p>
He gives the complete list of steps his followed including <a href="http://re2c.org/">downloading the source</a> and his way around this "System could not load this extension" issue. The trick was to recompile the source with the correct architecture. By default his extension was built with i386 instead of 64-bit but updating some of the CFLAGS settings (and a few other environment variables) got things compiling correctly. 
</p>]]></description>
      <pubDate>Thu, 12 Jan 2012 11:09:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Asvin Balloo's Blog: Geolocate your visitors with PHP (part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/10717</guid>
      <link>http://www.phpdeveloper.org/news/10717</link>
      <description><![CDATA[<p>
<i>Asvin Balloo</i> has posted the <a href="http://htmlblog.net/geolocate-your-visitors-with-php-part-2/">second part</a> of his geolocate with PHP tutorial series - using the mapping information gathered from the <a href="http://www.phpdeveloper.org/news/10643">previous article</a> to plot them on a map.
</p>
<blockquote>
<a href="http://htmlblog.net/geolocate-your-visitors-with-php-part-1/">In the first part</a> of this series I showed how you could get the country of a visitor via his IP address. Now with this precious information, I'll show you how to map the visitor visually on the world map using <a href="http://code.google.com/apis/maps/documentation/">Google Maps</a>.
</blockquote>
<p>
The full code is provided - the PHP to pull the latitude/longitude information from the GeoIP library and the Javascript to get the Google Map to plot the point. You can check out the <a href="http://htmlblog.net/demo/myip/">live demo</a> for an example or just <a href="http://htmlblog.net/demo/myip/myip.zip">grab the source</a> and try it out for yourself.
</p>]]></description>
      <pubDate>Wed, 30 Jul 2008 12:08:10 -0500</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>
    <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>
    <item>
      <title><![CDATA[WebDigity.com: PHP geotargeting techniques]]></title>
      <guid>http://www.phpdeveloper.org/news/8607</guid>
      <link>http://www.phpdeveloper.org/news/8607</link>
      <description><![CDATA[<p>
On the WebDigity.com website, there's a <a href="http://www.webdigity.com/index.php?action=tutorial;code=58">quick how-to</a> on using geo-targeting on your website with a combination of a geolocation database and a PHP module to parse it.
</p>
<blockquote>
There are many cases that we need to display different content to our users depending on the location that they are visiting our site. In this tutorial we will give some examples regarding geo targeting with php.
</blockquote>
<p>
They got their geolocation database <a href="http://www.maxmind.com/app/geolitecountry">from Maxmind</a> and loaded up <a href="http://www.maxmind.com/app/php">this module</a> to make it as simple as a call to geoip_open and geoip_country_code_by_addr to get the location of the remote user.
</p>]]></description>
      <pubDate>Fri, 07 Sep 2007 08:56:00 -0500</pubDate>
    </item>
  </channel>
</rss>
