<?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: Woopra 1.3 Plugin Released, News</title>
	<atom:link href="http://bugssite.org/blog/2008/08/31/woopra-13-plugin-released-news/feed/" rel="self" type="application/rss+xml" />
	<link>http://bugssite.org/blog/2008/08/31/woopra-13-plugin-released-news/</link>
	<description>where you feel a little closer to home</description>
	<lastBuildDate>Fri, 12 Mar 2010 15:31:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<item>
		<title>By: Shane</title>
		<link>http://bugssite.org/blog/2008/08/31/woopra-13-plugin-released-news/comment-page-1/#comment-64</link>
		<dc:creator>Shane</dc:creator>
		<pubDate>Sun, 31 Aug 2008 16:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://bugssite.org/?p=141#comment-64</guid>
		<description>No idea.

The idea I did have though, instead of putting (int) [&lt;code&gt;update_option(&#039;woopra_website_id&#039;, (int) $_POST[&#039;websiteid&#039;]);&lt;/code&gt;]  in the update option, I was going to suggest to Elie an &quot;is_int&quot; check. 

[php]
if (is_int($_POST[&#039;websiteid&#039;]))
{
update_option(&#039;woopra_website_id&#039;, $_POST[&#039;websiteid&#039;]);
}
else
{
... error code ...
}
[/php]
This way it checks the string directly and would not mess up the database and a much safer choice. (int) is tricky as it sometimes can&#039;t process very high numbers and a database INT field can only support 11 numbers. As we expand, you will see that there are more then 11 million people who might want this tool. 

Your &quot;siteid&quot; is really not that long. Just the server ID and the site key are combined and we do a math operation to get the server ID and site ID when processing stats so you don&#039;t have to enter two numbers. :)</description>
		<content:encoded><![CDATA[<p>No idea.</p>
<p>The idea I did have though, instead of putting (int) [<code>update_option('woopra_website_id', (int) $_POST['websiteid']);</code>]  in the update option, I was going to suggest to Elie an "is_int" check. </p>
<pre class="brush: php;">
if (is_int($_POST['websiteid']))
{
update_option('woopra_website_id', $_POST['websiteid']);
}
else
{
... error code ...
}
</pre>
<p>This way it checks the string directly and would not mess up the database and a much safer choice. (int) is tricky as it sometimes can't process very high numbers and a database INT field can only support 11 numbers. As we expand, you will see that there are more then 11 million people who might want this tool. </p>
<p>Your "siteid" is really not that long. Just the server ID and the site key are combined and we do a math operation to get the server ID and site ID when processing stats so you don't have to enter two numbers. <img src='http://bugssite.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Razvan Antonescu</title>
		<link>http://bugssite.org/blog/2008/08/31/woopra-13-plugin-released-news/comment-page-1/#comment-63</link>
		<dc:creator>Razvan Antonescu</dc:creator>
		<pubDate>Sun, 31 Aug 2008 07:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://bugssite.org/?p=141#comment-63</guid>
		<description>Do you have any idea why the statistics are blank in wordpress? even after fixing the 182 line that messed the site ID? I saw that a lot of people have this issue</description>
		<content:encoded><![CDATA[<p>Do you have any idea why the statistics are blank in wordpress? even after fixing the 182 line that messed the site ID? I saw that a lot of people have this issue</p>
]]></content:encoded>
	</item>
</channel>
</rss>
