<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: GeoIP</title>
	<atom:link href="http://soderlind.no/archives/2004/08/03/geoip/feed/" rel="self" type="application/rss+xml" />
	<link>http://soderlind.no/archives/2004/08/03/geoip/</link>
	<description>I code for fun</description>
	<lastBuildDate>Wed, 01 Feb 2012 06:18:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: PS</title>
		<link>http://soderlind.no/archives/2004/08/03/geoip/#comment-5087</link>
		<dc:creator>PS</dc:creator>
		<pubDate>Mon, 24 Jul 2006 23:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/archives/2004/08/03/geoip/#comment-5087</guid>
		<description>emptyspace, not sure what you&#039;re trying to say. 

Mine is not a copy of ip-to-nation, mine is a php port from my &lt;a href=&quot;http://www.codeproject.com/asp/geoip.asp&quot; rel=&quot;nofollow&quot;&gt;VBscript GeoIP Class&lt;/a&gt; that I wrote in 2002. 

Also, mine is using the MaxMind database i.e. you don&#039;t have to add/update geoip data to your mysql database</description>
		<content:encoded><![CDATA[<p>emptyspace, not sure what you&#8217;re trying to say. </p>
<p>Mine is not a copy of ip-to-nation, mine is a php port from my <a href="http://www.codeproject.com/asp/geoip.asp" rel="nofollow">VBscript GeoIP Class</a> that I wrote in 2002. </p>
<p>Also, mine is using the MaxMind database i.e. you don&#8217;t have to add/update geoip data to your mysql database</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emptyspace</title>
		<link>http://soderlind.no/archives/2004/08/03/geoip/#comment-5051</link>
		<dc:creator>emptyspace</dc:creator>
		<pubDate>Sun, 23 Jul 2006 17:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/archives/2004/08/03/geoip/#comment-5051</guid>
		<description>I&#039;ve seen this such plugin here 
http://frenchfragfactory.net/ozh/archives/2004/08/27/ip-to-nation-plugin/
 ;)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen this such plugin here<br />
<a href="http://frenchfragfactory.net/ozh/archives/2004/08/27/ip-to-nation-plugin/" rel="nofollow">http://frenchfragfactory.net/ozh/archives/2004/08/27/ip-to-nation-plugin/</a><br />
 <img src='http://soderlind.no/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xurizaemon</title>
		<link>http://soderlind.no/archives/2004/08/03/geoip/#comment-2810</link>
		<dc:creator>xurizaemon</dc:creator>
		<pubDate>Wed, 19 Apr 2006 13:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/archives/2004/08/03/geoip/#comment-2810</guid>
		<description>Also, for a WP2.0.2 I had to change line 51 to read

include(&quot;GeoIP/geoip.inc&quot;);

instead of the original &#039;wp-content/plugins/GeoIP/geoip.inc&#039; path.

Cheers for the plugin!</description>
		<content:encoded><![CDATA[<p>Also, for a WP2.0.2 I had to change line 51 to read</p>
<p>include(&#8220;GeoIP/geoip.inc&#8221;);</p>
<p>instead of the original &#8216;wp-content/plugins/GeoIP/geoip.inc&#8217; path.</p>
<p>Cheers for the plugin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://soderlind.no/archives/2004/08/03/geoip/#comment-804</link>
		<dc:creator></dc:creator>
		<pubDate>Wed, 10 Aug 2005 22:17:04 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/archives/2004/08/03/geoip/#comment-804</guid>
		<description>Note that there are some errors in your code, as noted in the wordpress support forum (http://wordpress.org/support/topic/10274#post-233538).  You cannot pass variables as default argument values, as stated in http://www.php.net/manual/en/functions.arguments.php.
In line 53:
function get_geoip_country_code($ip = $_SERVER[&quot;REMOTE_ADDR&quot;]) { should be changed to something like:
function get_geoip_country_code($ip = NULL) {
if (is_null($ip)) {
$ip = $_SERVER[&quot;REMOTE_ADDR&quot;];
}

Also note that there is a missing closing parenthesis in all your realpath calls. 
Hope that helps.
Roberto Zoia
roberto dot zoia  [at] gmail dot com</description>
		<content:encoded><![CDATA[<p>Note that there are some errors in your code, as noted in the wordpress support forum (<a href="http://wordpress.org/support/topic/10274#post-233538" rel="nofollow">http://wordpress.org/support/topic/10274#post-233538</a>).  You cannot pass variables as default argument values, as stated in <a href="http://www.php.net/manual/en/functions.arguments.php" rel="nofollow">http://www.php.net/manual/en/functions.arguments.php</a>.<br />
In line 53:<br />
function get_geoip_country_code($ip = $_SERVER["REMOTE_ADDR"]) { should be changed to something like:<br />
function get_geoip_country_code($ip = NULL) {<br />
if (is_null($ip)) {<br />
$ip = $_SERVER["REMOTE_ADDR"];<br />
}</p>
<p>Also note that there is a missing closing parenthesis in all your realpath calls.<br />
Hope that helps.<br />
Roberto Zoia<br />
roberto dot zoia  [at] gmail dot com</p>
]]></content:encoded>
	</item>
</channel>
</rss>

