<?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: Battlefield 2 Stats in PHP</title>
	<atom:link href="http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/</link>
	<description>Why am I so n00b?</description>
	<lastBuildDate>Thu, 22 Jul 2010 15:10:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Duh Colonel</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-3536</link>
		<dc:creator>Duh Colonel</dc:creator>
		<pubDate>Fri, 04 Dec 2009 21:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-3536</guid>
		<description>Anybody know how to retrieve the stats for Highway Tampa and Operation Blue Pearl? http://bf2web.gamespy.com/ASP/getplayerinfo.aspx?pid={PID}&amp;info=mtm-,mwn-,mls- will return for all but these two maps (including Hingan Hills which was never released, so it is always zero). When Tampa came out, I just subtracted all the other maps from the totals to get its stats - now with Pearl out that ain&#039;t gonna work.

Highway Tampa is map 602 and Operation Blue Pearl is 120 - I at least found out that much.</description>
		<content:encoded><![CDATA[<p>Anybody know how to retrieve the stats for Highway Tampa and Operation Blue Pearl? <a href="http://bf2web.gamespy.com/ASP/getplayerinfo.aspx?pid=" rel="nofollow">http://bf2web.gamespy.com/ASP/getplayerinfo.aspx?pid=</a>{PID}&amp;info=mtm-,mwn-,mls- will return for all but these two maps (including Hingan Hills which was never released, so it is always zero). When Tampa came out, I just subtracted all the other maps from the totals to get its stats &#8211; now with Pearl out that ain&#8217;t gonna work.</p>
<p>Highway Tampa is map 602 and Operation Blue Pearl is 120 &#8211; I at least found out that much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lt.Hendrix</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-605</link>
		<dc:creator>Lt.Hendrix</dc:creator>
		<pubDate>Fri, 19 Oct 2007 21:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-605</guid>
		<description>Here you can find more info about gathering data.
http://bf2.fun-o-matic.org/index.php/BF2Stats</description>
		<content:encoded><![CDATA[<p>Here you can find more info about gathering data.<br />
<a href="http://bf2.fun-o-matic.org/index.php/BF2Stats" rel="nofollow">http://bf2.fun-o-matic.org/index.php/BF2Stats</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: staticfx</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-160</link>
		<dc:creator>staticfx</dc:creator>
		<pubDate>Thu, 26 Apr 2007 15:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-160</guid>
		<description>Yeah it works... but does anyone have a list of what the &quot;codes&quot; mean?

this loops thru everything, but i need to know what all the codes mean

&quot;;
	}
?&gt;</description>
		<content:encoded><![CDATA[<p>Yeah it works&#8230; but does anyone have a list of what the &#8220;codes&#8221; mean?</p>
<p>this loops thru everything, but i need to know what all the codes mean</p>
<p>&#8220;;<br />
	}<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shark</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-158</link>
		<dc:creator>shark</dc:creator>
		<pubDate>Sun, 14 Jan 2007 23:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-158</guid>
		<description>does it work now???</description>
		<content:encoded><![CDATA[<p>does it work now???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thalantyr</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-159</link>
		<dc:creator>Thalantyr</dc:creator>
		<pubDate>Sat, 06 Jan 2007 02:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-159</guid>
		<description>Heya guys, just wondering if this still worked?</description>
		<content:encoded><![CDATA[<p>Heya guys, just wondering if this still worked?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FuX</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-157</link>
		<dc:creator>FuX</dc:creator>
		<pubDate>Fri, 29 Sep 2006 10:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-157</guid>
		<description>hi im trying to get this script to show player info for a  certain kit(sniper) but all i get is a blank value.. hoping someone can assist me wit this.. im no php expert so i tried this out with no luck

$data = file(&quot;http://bf2web.gamespy.com/ASP/getplayerinfo.aspx?pid=&quot;.$pid.&quot;&amp;info=&quot;.$info.&quot;&amp;kit=7&quot;);
printf(&quot;%s has %s kills and %s deaths and a score of %s KIT: %s&quot;, $stats[&#039;nick&#039;], $stats[&#039;kill&#039;], $stats[&#039;deth&#039;],

$stats[&#039;scor&#039;], $stats[&#039;kkl-&#039;]);</description>
		<content:encoded><![CDATA[<p>hi im trying to get this script to show player info for a  certain kit(sniper) but all i get is a blank value.. hoping someone can assist me wit this.. im no php expert so i tried this out with no luck</p>
<p>$data = file(&#8220;http://bf2web.gamespy.com/ASP/getplayerinfo.aspx?pid=&#8221;.$pid.&#8221;&amp;info=&#8221;.$info.&#8221;&amp;kit=7&#8243;);<br />
printf(&#8220;%s has %s kills and %s deaths and a score of %s KIT: %s&#8221;, $stats['nick'], $stats['kill'], $stats['deth'],</p>
<p>$stats['scor'], $stats['kkl-']);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shrimp</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-156</link>
		<dc:creator>Shrimp</dc:creator>
		<pubDate>Sun, 16 Jul 2006 07:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-156</guid>
		<description>Hi

For some reason when I pasted the code intot the blog, it dropped some characters.

The line:
  $stats = array_combine(explode(&quot;t&quot;, $data[3]), explode(&quot;t&quot;, $data[4]));

Should be:
  $stats = array_combine(explode(&quot;\t&quot;, $data[3]), explode(&quot;\t&quot;, $data[4]));


Note the &quot;\t&quot;. :)</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>For some reason when I pasted the code intot the blog, it dropped some characters.</p>
<p>The line:<br />
  $stats = array_combine(explode(&#8220;t&#8221;, $data[3]), explode(&#8220;t&#8221;, $data[4]));</p>
<p>Should be:<br />
  $stats = array_combine(explode(&#8220;\t&#8221;, $data[3]), explode(&#8220;\t&#8221;, $data[4]));</p>
<p>Note the &#8220;\t&#8221;. <img src='http://shrimpworks.za.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-155</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 14 Jul 2006 17:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-155</guid>
		<description>I tried using the code above and receive an error:

Warning: array_combine() [function.array-combine]: Both parameters should have equal number of elements in c:\Inetpub\wwwroot\test\test.php on line 11


Any ideas?</description>
		<content:encoded><![CDATA[<p>I tried using the code above and receive an error:</p>
<p>Warning: array_combine() [function.array-combine]: Both parameters should have equal number of elements in c:\Inetpub\wwwroot\test\test.php on line 11</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NES-T</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-154</link>
		<dc:creator>NES-T</dc:creator>
		<pubDate>Wed, 19 Oct 2005 07:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-154</guid>
		<description>ok thx for the link
look interesting

regards

NES-T</description>
		<content:encoded><![CDATA[<p>ok thx for the link<br />
look interesting</p>
<p>regards</p>
<p>NES-T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shrimp</title>
		<link>http://shrimpworks.za.net/2005/10/17/battlefield-2-stats-in-php/comment-page-1/#comment-153</link>
		<dc:creator>Shrimp</dc:creator>
		<pubDate>Tue, 18 Oct 2005 20:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://malcolm.shrimpworks.za.net/~shrimp/blog/?p=47#comment-153</guid>
		<description>Dunno acually ;)

Check out the BF2 Technical Info Wiki on the subject: http://bf2.fun-o-matic.org/index.php?title=BF2_Statistics</description>
		<content:encoded><![CDATA[<p>Dunno acually <img src='http://shrimpworks.za.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Check out the BF2 Technical Info Wiki on the subject: <a href="http://bf2.fun-o-matic.org/index.php?title=BF2_Statistics" rel="nofollow">http://bf2.fun-o-matic.org/index.php?title=BF2_Statistics</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
