<?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: Making Shortstat More Unique</title>
	<atom:link href="http://addictedtonew.com/archives/20/making-shortstat-more-unique/feed/" rel="self" type="application/rss+xml" />
	<link>http://addictedtonew.com/archives/20/making-shortstat-more-unique/</link>
	<description>John Nunemaker\'s thoughts and such</description>
	<lastBuildDate>Sun, 01 Nov 2009 17:19:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Futurosity &#187; Blog Archive &#187; Dashboard Widget: ShortStat Widget</title>
		<link>http://addictedtonew.com/archives/20/making-shortstat-more-unique/comment-page-1/#comment-990</link>
		<dc:creator>Futurosity &#187; Blog Archive &#187; Dashboard Widget: ShortStat Widget</dc:creator>
		<pubDate>Mon, 13 Feb 2006 02:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/20/making-shortstat-more-unique/#comment-990</guid>
		<description>[...] To block your own IP address, you&#8217;ll need to make a few changes to your configuration.php and inc.stats.php files (thanks to John Nunemaker). [...]</description>
		<content:encoded><![CDATA[<p>[...] To block your own IP address, you&#8217;ll need to make a few changes to your configuration.php and inc.stats.php files (thanks to John Nunemaker). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Ellis</title>
		<link>http://addictedtonew.com/archives/20/making-shortstat-more-unique/comment-page-1/#comment-163</link>
		<dc:creator>Robert Ellis</dc:creator>
		<pubDate>Wed, 15 Jun 2005 15:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/20/making-shortstat-more-unique/#comment-163</guid>
		<description>Hey, thanks very much for this. I couldn&#039;t figure out how to block my IP. Thanks for the help! And great site, BTW.</description>
		<content:encoded><![CDATA[<p>Hey, thanks very much for this. I couldn&#8217;t figure out how to block my IP. Thanks for the help! And great site, BTW.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nunemaker</title>
		<link>http://addictedtonew.com/archives/20/making-shortstat-more-unique/comment-page-1/#comment-154</link>
		<dc:creator>John Nunemaker</dc:creator>
		<pubDate>Sun, 22 May 2005 22:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/20/making-shortstat-more-unique/#comment-154</guid>
		<description>Blocking the ip address is actually really simple. First, in the configuration file add an array of ip addresses to exclude:
&lt;code&gt;$exclude = array(Ã¢â‚¬â„¢1.1.1.1Ã¢â‚¬Â², Ã¢â‚¬Ëœ1.1.1.2Ã¢â‚¬Â²); // etc, etcÃ¢â‚¬Â¦&lt;/code&gt;

Then in the inc.stats.php file just wrap an if statement around the mysql_query function:
&lt;code&gt;
if ( !in_array($ip, $exclude) ){
@mysql_query($query);
}
&lt;/code&gt;
Now the stat line will only be inserted into the database if the ip address is not in your array of ipÃ¢â‚¬â„¢s. </description>
		<content:encoded><![CDATA[<p>Blocking the ip address is actually really simple. First, in the configuration file add an array of ip addresses to exclude:<br />
<code>$exclude = array(Ã¢â‚¬â„¢1.1.1.1Ã¢â‚¬Â², Ã¢â‚¬Ëœ1.1.1.2Ã¢â‚¬Â²); // etc, etcÃ¢â‚¬Â¦</code></p>
<p>Then in the inc.stats.php file just wrap an if statement around the mysql_query function:<br />
<code><br />
if ( !in_array($ip, $exclude) ){<br />
@mysql_query($query);<br />
}<br />
</code><br />
Now the stat line will only be inserted into the database if the ip address is not in your array of ipÃ¢â‚¬â„¢s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Wehrs</title>
		<link>http://addictedtonew.com/archives/20/making-shortstat-more-unique/comment-page-1/#comment-147</link>
		<dc:creator>David Wehrs</dc:creator>
		<pubDate>Thu, 21 Apr 2005 19:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/20/making-shortstat-more-unique/#comment-147</guid>
		<description>Hey great tips on the mySQL code! I&#039;d love to know how you block your own IP address?</description>
		<content:encoded><![CDATA[<p>Hey great tips on the mySQL code! I&#8217;d love to know how you block your own IP address?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jehiah</title>
		<link>http://addictedtonew.com/archives/20/making-shortstat-more-unique/comment-page-1/#comment-83</link>
		<dc:creator>Jehiah</dc:creator>
		<pubDate>Tue, 15 Mar 2005 14:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/20/making-shortstat-more-unique/#comment-83</guid>
		<description>Glad you like the pathstats plugin... just be carefull, it&#039;s addicting ;-)</description>
		<content:encoded><![CDATA[<p>Glad you like the pathstats plugin&#8230; just be carefull, it&#8217;s addicting ;-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

