<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pixelbox &#187; PHP</title>
	<atom:link href="http://www.pixelbox.net/category/development/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelbox.net</link>
	<description>Pixelbox, technology development and photography.</description>
	<lastBuildDate>Thu, 08 Apr 2010 16:35:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Really simple analytics</title>
		<link>http://www.pixelbox.net/2007/09/17/really-simple-analytics/</link>
		<comments>http://www.pixelbox.net/2007/09/17/really-simple-analytics/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 22:09:38 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.pixelbox.net/2007/09/17/really-simple-analytics/</guid>
		<description><![CDATA[At work this morning I got one of those, &#8220;can you just&#8221;. But it wasn&#8217;t asking for me to knock up copy of YouTube or MySpace by the end of the week as a favour, but rather for a simple way or reccording the number of people that interact with and click on an advert [...]]]></description>
			<content:encoded><![CDATA[<p>
At work this morning I got one of those, &#8220;can you just&#8221;. But it wasn&#8217;t asking for me to knock up copy of YouTube or MySpace by the end of the week as a favour, but rather for a simple way or reccording the number of people that interact with and click on an advert <a href="http://www.bigkidlondon.com" title="BigKid Agency">BigKid</a> are doing for <a href="http://www.monkeymag.co.uk" title="The best of the web every week">Monkey Magazine</a>.
</p>
<p>
Now, Ceros records a number of statistics, all in line with industry standards and auditable by ABCE, and this is strictly none of the above, but it&#8217;s an easy way to see how many people are interacting with something.
</p>
<p>
So what I did was create a simple PHP page which will write the current date to a text file, each on a new line. The script will also display the number of lines in that file (if no variables are sent).
</p>
<p>
I though it was such a nice little, simple, but utterly useful script that I would put it up here. I then also added it to the flickr widget in I made in ActionScript3 to record the number of times people click on the photos to change them&#8230; which was a totally depressing experience as it turns out no one does ;(
</p>
<p>
So <a href='http://www.pixelbox.net/wp-content/uploads/2007/09/super_simple_php_stats.zip' title='PHP_stats'>here</a> is the PHP script which needs to be alongside a text file referenced inside it&#8230;
</p>
<p>
and <a href='http://www.pixelbox.net/wp-content/uploads/2007/09/randomphoto21.zip' title='RandomPhoto2.1'>here</a> is the Flex stuff with it added in (includes AS3 URLRequest example)&#8230;
</p>
<p>
and finally if you want to see how many people have clicked on that little widget to the right you can look <a href="http://www.pixelbox.net/stats/click.php">here</a>! (p.s. the first 15 were me!!!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelbox.net/2007/09/17/really-simple-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
