<?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 for Farhad Malekpour</title>
	<atom:link href="http://www.farhad.ca/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.farhad.ca</link>
	<description>Professional Work Weblog</description>
	<lastBuildDate>Thu, 04 Aug 2011 23:38:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Comment on RBL Based IP to Location by weston deboer</title>
		<link>http://www.farhad.ca/2011/06/15/rbl-based-ip-to-location/#comment-18169</link>
		<dc:creator>weston deboer</dc:creator>
		<pubDate>Thu, 04 Aug 2011 23:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.farhad.ca/?p=46#comment-18169</guid>
		<description>Awesome! This saved me so much time and energy.
 complete code for php

&lt;code&gt;
$ip = $_SERVER[&#039;REMOTE_ADDR&#039;];
$ptr = implode(&quot;.&quot;,array_reverse(explode(&quot;.&quot;,$ip))).&quot;.rbloc.dayanadns.com&quot;;

$ip_address = gethostbyname($ptr);
list($d1,$d2,$d3,$d4) = explode(&#039;.&#039;,$ip_address);
$country_code = chr($d3).chr($d4);

print &quot;Result address: &quot;.$ip_address.&quot;\n&quot;;
print &quot;Country code: &quot;.$country_code.&quot;\n&quot;;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Awesome! This saved me so much time and energy.<br />
 complete code for php</p>
<p><code><br />
$ip = $_SERVER['REMOTE_ADDR'];<br />
$ptr = implode(".",array_reverse(explode(".",$ip))).".rbloc.dayanadns.com";</p>
<p>$ip_address = gethostbyname($ptr);<br />
list($d1,$d2,$d3,$d4) = explode('.',$ip_address);<br />
$country_code = chr($d3).chr($d4);</p>
<p>print "Result address: ".$ip_address."\n";<br />
print "Country code: ".$country_code."\n";<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Affiliate System by viral monopoly</title>
		<link>http://www.farhad.ca/2002/08/02/affiliate-system/#comment-18141</link>
		<dc:creator>viral monopoly</dc:creator>
		<pubDate>Wed, 06 Jul 2011 12:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.farhad.ca/?p=21#comment-18141</guid>
		<description>A vastly helpfull post - A big thank you I hope you don&#039;t mind me subscribing to your rss feed. I have found a couple of blogs with similar advice, but not this engaging. Thank you :-)</description>
		<content:encoded><![CDATA[<p>A vastly helpfull post &#8211; A big thank you I hope you don&#8217;t mind me subscribing to your rss feed. I have found a couple of blogs with similar advice, but not this engaging. Thank you <img src='http://www.farhad.ca/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RBL Based IP to Location by mohammad eshghi nejad</title>
		<link>http://www.farhad.ca/2011/06/15/rbl-based-ip-to-location/#comment-18105</link>
		<dc:creator>mohammad eshghi nejad</dc:creator>
		<pubDate>Sun, 03 Jul 2011 14:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.farhad.ca/?p=46#comment-18105</guid>
		<description>Salam bar agha farhad
Kheily mokhlesim</description>
		<content:encoded><![CDATA[<p>Salam bar agha farhad<br />
Kheily mokhlesim</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Library Management System by mostafa</title>
		<link>http://www.farhad.ca/1997/07/02/library-management-system/#comment-3125</link>
		<dc:creator>mostafa</dc:creator>
		<pubDate>Mon, 28 May 2007 04:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.farhad.ca/?p=9#comment-3125</guid>
		<description>salam, kheily matalebet jaleb bud

rasti tu Work History:&quot;Iran Refractories Conpany&quot;
n ba m avaz kon ;)</description>
		<content:encoded><![CDATA[<p>salam, kheily matalebet jaleb bud</p>
<p>rasti tu Work History:&#8221;Iran Refractories Conpany&#8221;<br />
n ba m avaz kon <img src='http://www.farhad.ca/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

