<?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>Hayden Kibble</title>
	<atom:link href="http://www.haydenkibble.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.haydenkibble.com</link>
	<description>PHP-SEO-IM-DESIGN</description>
	<lastBuildDate>Wed, 22 May 2013 15:04:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>The importance of taking action</title>
		<link>http://www.haydenkibble.com/2013/04/the-importance-of-taking-action/</link>
		<comments>http://www.haydenkibble.com/2013/04/the-importance-of-taking-action/#comments</comments>
		<pubDate>Mon, 29 Apr 2013 11:33:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Success]]></category>
		<category><![CDATA[goals]]></category>
		<category><![CDATA[success]]></category>
		<category><![CDATA[taking action]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=173</guid>
		<description><![CDATA[Most people don&#8217;t succeed in changing their life and achieving their dreams. Not because they are unlucky, not smart enough or too busy. It&#8217;s much simpler than that. It all comes down to one simple fact that is 100% within their power to fix. Most people don&#8217;t take action. We spend our days going about [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.haydenkibble.com/2013/04/the-importance-of-taking-action/film_clap_board_insert_1600_clr/" rel="attachment wp-att-181"><img class="alignright size-medium wp-image-181" title="Action" src="http://www.haydenkibble.com/wp-content/uploads/film_clap_board_insert_1600_clr-300x300.png" alt="" width="300" height="300" /></a>Most people don&#8217;t succeed in changing their life and achieving their dreams. Not because they are unlucky, not smart enough or too busy. It&#8217;s much simpler than that. It all comes down to one simple fact that is 100% within their power to fix.</p>
<p>Most people don&#8217;t take action. We spend our days going about our daily business, whilst dreaming and fantasizing about where we would like to be or what we would like to have, but never actually start taking the steps to get to that place. Sure, we intend to; &#8220;I&#8217;ll start it tomorrow&#8221;, &#8220;When I&#8217;ve finished the garden I&#8217;ll do it&#8221;, &#8220;Once I&#8217;ve paid off my debts I&#8217;ll start my business&#8221;. But as good as our intentions are, unless we make concrete steps towards our goals NOW, they&#8217;re never going to become a reality. Ever.</p>
<p>The funny thing is, it&#8217;s so easy to take action. It only has to be small actions, done consistently. 30 minutes per week is infinitely better than 10 hours&#8230; some day. The most common excuse for not taking action towards reaching a goal is &#8220;I&#8217;m too busy&#8221;. Yet many people spend at least 30 minutes each evening watching TV or browsing Facebook. If you can turn that time towards applying yourself and making your business or project happen, in 1, 2, 5 years time you will have put many hours into building something awesome, rather than what you have the previous few years, which is zero.</p>
<p>So, the time is now. Tonight, you will TAKE ACTION. Every night, or even every week, you will add 30+ minutes to your calendar, and get off your arse and start taking your first baby steps towards your goal. Before you know it, all these baby steps will add up to a mountain of progress. Plan out the first month&#8217;s goals first, then you have something to aim for. When you make it to that goal, give yourself a pat on the back for being an action taker! Then proceed to knock &#8216;em down one month at a time.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2013/04/the-importance-of-taking-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 Reasons why Sublime editor is awesome</title>
		<link>http://www.haydenkibble.com/2012/09/8-reasons-why-sublime-editor-is-awesome/</link>
		<comments>http://www.haydenkibble.com/2012/09/8-reasons-why-sublime-editor-is-awesome/#comments</comments>
		<pubDate>Tue, 04 Sep 2012 12:24:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP/MySQL/AJAX]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[editing]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[sublime]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=149</guid>
		<description><![CDATA[After using many PHP/HTML/CSS/JS code editors and IDE&#8217;s over the past decade or so (Eclipse, Komodo, Notepad++, Dreamweaver, Netbeans etc etc), I&#8217;m super chuffed that I have finally discovered one which doesn&#8217;t drive me round the bend for one reason or another. Sublime text editor is awesome. And I don&#8217;t use that word lightly. Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.haydenkibble.com/wp-content/uploads/sublime_features.jpg"><img src="http://www.haydenkibble.com/wp-content/uploads/sublime_features-150x150.jpg" alt="" title="Sublime Text" width="150" height="150" class="alignright size-thumbnail wp-image-152" /></a>After using many PHP/HTML/CSS/JS code editors and IDE&#8217;s over the past decade or so (Eclipse, Komodo, Notepad++, Dreamweaver, Netbeans etc etc),<br />
I&#8217;m super chuffed that I have finally discovered one which doesn&#8217;t drive me round the bend for one reason or another. <a href="www.sublimetext.com">Sublime text</a> editor is awesome. And I don&#8217;t use that word lightly. Here&#8217;s 10 reasons why you need to get on it.</p>
<p><strong>1. It&#8217;s free</strong><br />
It&#8217;s completely free to try for as long as you like. You get a nag popup about once per day, but you can keep trying after that as long as you like. To buy, it&#8217;s just $59 per person. You can install it on as many machines as you like.</p>
<p><strong>2. It&#8217;s fast</strong><br />
There&#8217;s no hanging around with Sublime. It&#8217;s fast no navigate between projects and files, fast to search and fast to install addons.</p>
<p><strong>3. It&#8217;s light on RAM</strong><br />
I&#8217;ve been flicking through projects all morning, I&#8217;ve probably edited 50 files so far today and Sublime is using just 70MB of RAM. Netbeans/Eclipse often used to chew up over 500MB.</p>
<p><strong>4. It&#8217;s mega extensible</strong><br />
There&#8217;s a decent amount of plugins available. I followed a video guide online to install the top addons when I did my initial setup and I found something to do everything I need.</p>
<p><strong>5. It&#8217;s easily configurable</strong><br />
Sublime uses two configuration files: Default and User. The Default files holds the current configuration settings in JSON format. To override something, you just copy that setting into the User file, which overrides. The same technique is used for hotkeys, via the &#8216;key bindings&#8217; configuration files.</p>
<p><strong>6. It&#8217;s efficient to navigate</strong><br />
Everything in Sublime can be done from the keyboard, via hotkeys. You can jump between projects, search files, jump to line by number, move screens around, anything. There&#8217;s obviously a bit of a learning curve, but within a week you&#8217;ll be flipping around like a friggin&#8217; ubergeek using just the tips of your pale fingers.</p>
<p><strong>7. It has plenty of dark themes</strong><br />
I prefer dark themes for coding, they&#8217;re much easier on the eye than white once you get used to them. Sublime has loads to choose from.</p>
<p><strong>8. It&#8217;s code completion just works</strong><br />
After my frustrations with Netbeans&#8217;s's weird code completion shoving triple speech marks around everything, Sublime offers smooth, intuitive code completion.</p>
<p>So if you find your current code editor/IDE to be resource-hungry, bloated or lacking decent features, you simply have to give Sublime a shot. I&#8217;ve been using it for about a month now and I&#8217;m mega happy with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2012/09/8-reasons-why-sublime-editor-is-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Internet Enabled Fishtank at the Manchester Maker Faire</title>
		<link>http://www.haydenkibble.com/2012/07/the-internet-enabled-fishtank-at-the-manchester-maker-faire/</link>
		<comments>http://www.haydenkibble.com/2012/07/the-internet-enabled-fishtank-at-the-manchester-maker-faire/#comments</comments>
		<pubDate>Mon, 30 Jul 2012 11:46:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[apple mac]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[fishtank]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[making]]></category>
		<category><![CDATA[mmmf]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=85</guid>
		<description><![CDATA[I took the internet enabled fishtank down to the Manchester mini maker faire at MOSI to show it off and boy, what a busy weekend! It was amazing to capture so many peoples imagination and even inspire a number of adults and children alike to get into making stuff. Repeating the same demonstration a few [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: center"><img src="http://www.haydenkibble.com/wp-content/uploads/mmmf-tank.jpg" alt="" title="The Internet Enabled Fishtank" width="480" height="470" class="aligncenter size-full wp-image-88" /></div>
<p>I took the internet enabled fishtank down to the <a href="http://makerfairemanchester.com/">Manchester mini maker faire</a> at <a href="http://www.mosi.org.uk/">MOSI</a> to show it off and boy, what a busy weekend!<br />
It was amazing to capture so many peoples imagination and even inspire a number of adults and children alike to get into making stuff.</p>
<p>Repeating the same demonstration a few hundred times was really draining, but it was worth it. Even though I had watched the bubbles turn up and down and the lights come on and off a thousand times before, every person who walked up to check it out was experiencing what I had made with fresh eyes and a sense of curiosity which is what it&#8217;s all about.<br />
<a href="http://www.haydenkibble.com/wp-content/uploads/Ay6tdKNCQAAQllT.jpg-large.jpg"><img src="http://www.haydenkibble.com/wp-content/uploads/Ay6tdKNCQAAQllT.jpg-large-150x150.jpg" alt="" title="Demonstrating the Fishtank" width="150" height="150" class="alignright size-thumbnail wp-image-94" /></a><br />
I will be sharing a write-up of the fishtank later this week, with some photos taken along the way and also a rough parts list and source code, so you will have all you need to get building your own fishtank of the future.</p>
<p>If you were at the Maker Faire or you&#8217;re interested in what I do, I&#8217;d love you to get in touch on <a href="http://twitter.com/HaydenKibble">Twitter</a>, <a href="http://uk.linkedin.com/in/haydenkibble">Linked in</a> or even just using my <a href="http://www.haydenkibble.com/contact-hayden/">contact form</a>. I&#8217;m happy to talk about anything related to hardware, software or anything else!</p>
<p>Photo courtesy of <a href="http://www.flickr.com/photos/dullhunk/">dllhulk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2012/07/the-internet-enabled-fishtank-at-the-manchester-maker-faire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unblock The Pirate Bay on Sky Broadband</title>
		<link>http://www.haydenkibble.com/2012/07/unblock-the-pirate-bay-on-sky-broadband/</link>
		<comments>http://www.haydenkibble.com/2012/07/unblock-the-pirate-bay-on-sky-broadband/#comments</comments>
		<pubDate>Sun, 01 Jul 2012 11:01:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[censorship]]></category>
		<category><![CDATA[sky]]></category>
		<category><![CDATA[The Pirate Bay]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=75</guid>
		<description><![CDATA[One of the things that makes the internet so revolutionary is the lack of government control or censorship. It looks like that&#8217;s changing however as some british ISP&#8217;s such as Sky, Talktalk, Virgin and BT have started to censor their customers internet usage. As customers of these ISP&#8217;s will know, access to www.thepiratebay.se has been [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-77" title="Net Censorship" src="http://www.haydenkibble.com/wp-content/uploads/net_censorship1-150x150.jpg" alt="Net Censorship" width="150" height="150" />One of the things that makes the internet so revolutionary is the lack of government control or censorship.<br />
It looks like that&#8217;s changing however as some british ISP&#8217;s such as Sky, Talktalk, Virgin and BT have started to censor their customers internet usage.</p>
<p>As customers of these ISP&#8217;s will know, access to www.thepiratebay.se has been blocked. Fortunately however, working around these blocks is pretty trivial. Here&#8217;s how to do it&#8230;</p>
<p><strong>Method 1</strong><br />
Simply use the alternative domain name: <a href="http://www.thepiratebay.ee">www.thepiratebay.ee</a>.</p>
<p><strong>Method 2</strong><br />
1. Open up your HOSTS file in Notepad. This can be found in c:\windows\system32\drivers\etc<br />
2. Paste in &#8220;194.71.107.81 www.thepiratebay.se&#8221;<strong> </strong>without the quotes and save. Restart your web browser and access to the pirate bay should be restored!</p>
<p><strong>Method 3</strong><br />
1. Subscribe for access to a proxy server from a site such as yourprivateproxy.com.<br />
2. Once registered, you will be given an IP address, port and username/password for your proxy.<br />
3. Enter your proxie&#8217;s details into the &#8216;Prexy Server&#8217; page of your web browser&#8217;s settings.<br />
4. Enjoy censorship free internet browsing!</p>
<p>Both of these methods still work at the time of writing on a Sky connection. I&#8217;d love to hear whether they work or not on other ISP&#8217;s.</p>
<p>The best method of combatting internet censorship in the long run is to file a complaint with your ISP stating clearly that you are against internet censorship of any kind and that you will be moving to a provider that does not censor their customers web activities. Make sure you follow through and move to a company that cares about it&#8217;s customers rightsand freedom.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2012/07/unblock-the-pirate-bay-on-sky-broadband/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy Magento Category</title>
		<link>http://www.haydenkibble.com/2010/12/copy-magento-category/</link>
		<comments>http://www.haydenkibble.com/2010/12/copy-magento-category/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 23:01:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP/MySQL/AJAX]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=68</guid>
		<description><![CDATA[Since first laying eyes on Magento, the open source eCommerce software, I been impressed by it&#8217;s power, flexibility and rigid code structure. But despite Magento&#8217;s almost endless list of strengths, it also has some significant weaknesses, that often leave me frustrated and confused. One such weakness is the apparent lack of any functionality in regards [...]]]></description>
			<content:encoded><![CDATA[<p>Since first laying eyes on Magento, the open source eCommerce software, I been impressed by it&#8217;s power, flexibility and rigid code structure. But despite Magento&#8217;s almost endless list of strengths, it also has some significant weaknesses, that often leave me frustrated and confused. One such weakness is the apparent lack of any functionality in regards to copying products and categories.</p>
<p>I had created a category, with about 10 child categories. Now I just wanted to duplicate that category 5 times, rather than creating another 4 from scratch, each with 10 children (4&#215;10=40 categories!). Rather than spend the next couple of hours adding categories, I knocked together this quick PHP script. Simply pass in the ID of the category you&#8217;d like to duplicate, and it will create a copy of the category, along with all of it&#8217;s child categories, as deep as they go!</p>
<p>Ideally, this would be a proper Magento module, but I&#8217;m just starting out with Magento. Give me 6 months, eh?!</p>
<p>To use the script, simply copy it into a file such as copycat.php in your Magento root directory and call it like so:</p>
<p>http://www.example.com/copycat.php?id=<em>[CATEGORY ID TO COPY]</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Please specify a category ID'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$catId</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #990000;">simplexml_load_file</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'app/etc/local.xml'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">host</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">username</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">password</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$dbname</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dbname</span><span style="color: #339933;">;</span> 
<span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_pconnect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$host</span><span style="color: #339933;">,</span> <span style="color: #000088;">$username</span><span style="color: #339933;">,</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dbname</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #000088;">$catsDone</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
duplicate_entity<span style="color: #009900;">&#40;</span><span style="color: #000088;">$catId</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$catsDone</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' Categories duplicated.'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> duplicate_entity<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span> <span style="color: #000088;">$parent_id</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$catsDone</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #666666; font-style: italic;">// Grab category to copy</span>
	<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT * FROM catalog_category_entity WHERE entity_id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$query_entity</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$entity</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query_entity</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #000088;">$parent_id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$entity</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">parent_id</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
	<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INSERT INTO catalog_category_entity (entity_type_id, attribute_set_id, parent_id, created_at, updated_at, path, position, level, children_count)
						VALUES (<span style="color: #006699; font-weight: bold;">{$entity-&gt;entity_type_id}</span>, <span style="color: #006699; font-weight: bold;">{$entity-&gt;attribute_set_id}</span>, <span style="color: #006699; font-weight: bold;">{$parent_id}</span>, NOW(), NOW(), '', <span style="color: #006699; font-weight: bold;">{$entity-&gt;position}</span>, <span style="color: #006699; font-weight: bold;">{$entity-&gt;level}</span>, <span style="color: #006699; font-weight: bold;">{$entity-&gt;children_count}</span>)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$newEntityId</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_insert_id</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT path FROM catalog_category_entity WHERE entity_id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$parent</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$path</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$parent</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">path</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$newEntityId</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;UPDATE catalog_category_entity SET path='&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$path</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' WHERE entity_id=&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$newEntityId</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'datetime'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'decimal'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'int'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'text'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'varchar'</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$dataType</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT * FROM catalog_category_entity_&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dataType</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;
				WHERE entity_id=&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$entity</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">entity_id</span><span style="color: #339933;">;</span>
				<span style="color: #666666; font-style: italic;">//die($sql);</span>
		<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INSERT INTO catalog_category_entity_&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dataType</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; (entity_type_id, attribute_id, store_id, entity_id, value)
							VALUES (<span style="color: #006699; font-weight: bold;">{$value-&gt;entity_type_id}</span>, <span style="color: #006699; font-weight: bold;">{$value-&gt;attribute_id}</span>, <span style="color: #006699; font-weight: bold;">{$value-&gt;store_id}</span>, <span style="color: #006699; font-weight: bold;">{$newEntityId}</span>, '<span style="color: #006699; font-weight: bold;">{$value-&gt;value}</span>')&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
	<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT entity_id FROM catalog_category_entity WHERE parent_id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$entity</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		duplicate_entity<span style="color: #009900;">&#40;</span><span style="color: #000088;">$entity</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">entity_id</span><span style="color: #339933;">,</span> <span style="color: #000088;">$newEntityId</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000088;">$catsDone</span><span style="color: #339933;">++;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2010/12/copy-magento-category/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Basic SQL Injection Tutorial</title>
		<link>http://www.haydenkibble.com/2010/05/basic-sql-injection-tutorial/</link>
		<comments>http://www.haydenkibble.com/2010/05/basic-sql-injection-tutorial/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:54:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP/MySQL/AJAX]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=57</guid>
		<description><![CDATA[Since first laying eyes on Magento, the open source eCommerce software, I been impressed by it&#8217;s power, flexibility and rigid code structure. But despite Magento&#8217;s almost endless list of strengths, it also has some significant weaknesses, that often leave me frustrated and confused. One such weakness is the apparent lack of any functionality in regards [...]]]></description>
			<content:encoded><![CDATA[<p>Since first laying eyes on Magento, the open source eCommerce software, I been impressed by it&#8217;s power, flexibility and rigid code structure. But despite Magento&#8217;s almost endless list of strengths, it also has some significant weaknesses, that often leave me frustrated and confused. One such weakness is the apparent lack of any functionality in regards to copying products and categories.</p>
<p>I had created a category, with about 10 child categories. Now I just wanted to duplicate that category 5 times, rather than creating another 4 from scratch, each with 10 children (4&#215;10=40 categories!). Rather than spend the next couple of hours adding categories, I knocked together this quick PHP script. Simply pass in the ID of the category you&#8217;d like to duplicate, and it will create a copy of the category, along with all of it&#8217;s child categories, as deep as they go!</p>
<p>Ideally, this would be a proper Magento module, but I&#8217;m just starting out with Magento. Give me 6 months, eh?!</p>
<p>To use the script, simply copy it into a file such as copycat.php in your Magento root directory and call it like so:</p>
<p>http://www.example.com/copycat.php?id=<em>[CATEGORY ID TO COPY]</em></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Please specify a category ID'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$catId</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #990000;">simplexml_load_file</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'app/etc/local.xml'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$host</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">host</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$username</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">username</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">password</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$dbname</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">global</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resources</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">default_setup</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connection</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dbname</span><span style="color: #339933;">;</span> 
<span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_pconnect</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$host</span><span style="color: #339933;">,</span> <span style="color: #000088;">$username</span><span style="color: #339933;">,</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   
<span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dbname</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #000088;">$catsDone</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
duplicate_entity<span style="color: #009900;">&#40;</span><span style="color: #000088;">$catId</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$catsDone</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' Categories duplicated.'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> duplicate_entity<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span><span style="color: #339933;">,</span> <span style="color: #000088;">$parent_id</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$catsDone</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #666666; font-style: italic;">// Grab category to copy</span>
	<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT * FROM catalog_category_entity WHERE entity_id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$query_entity</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$entity</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query_entity</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #000088;">$parent_id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$entity</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">parent_id</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
	<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INSERT INTO catalog_category_entity (entity_type_id, attribute_set_id, parent_id, created_at, updated_at, path, position, level, children_count)
						VALUES (<span style="color: #006699; font-weight: bold;">{$entity-&gt;entity_type_id}</span>, <span style="color: #006699; font-weight: bold;">{$entity-&gt;attribute_set_id}</span>, <span style="color: #006699; font-weight: bold;">{$parent_id}</span>, NOW(), NOW(), '', <span style="color: #006699; font-weight: bold;">{$entity-&gt;position}</span>, <span style="color: #006699; font-weight: bold;">{$entity-&gt;level}</span>, <span style="color: #006699; font-weight: bold;">{$entity-&gt;children_count}</span>)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$newEntityId</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_insert_id</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT path FROM catalog_category_entity WHERE entity_id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$parent</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$path</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$parent</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">path</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$newEntityId</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;UPDATE catalog_category_entity SET path='&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$path</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;' WHERE entity_id=&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$newEntityId</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
	<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'datetime'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'decimal'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'int'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'text'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'varchar'</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$dataType</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT * FROM catalog_category_entity_&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dataType</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;
				WHERE entity_id=&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$entity</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">entity_id</span><span style="color: #339933;">;</span>
				<span style="color: #666666; font-style: italic;">//die($sql);</span>
		<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;INSERT INTO catalog_category_entity_&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dataType</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; (entity_type_id, attribute_id, store_id, entity_id, value)
							VALUES (<span style="color: #006699; font-weight: bold;">{$value-&gt;entity_type_id}</span>, <span style="color: #006699; font-weight: bold;">{$value-&gt;attribute_id}</span>, <span style="color: #006699; font-weight: bold;">{$value-&gt;store_id}</span>, <span style="color: #006699; font-weight: bold;">{$newEntityId}</span>, '<span style="color: #006699; font-weight: bold;">{$value-&gt;value}</span>')&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
	<span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT entity_id FROM catalog_category_entity WHERE parent_id = &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$id</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$entity</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_fetch_object</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		duplicate_entity<span style="color: #009900;">&#40;</span><span style="color: #000088;">$entity</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">entity_id</span><span style="color: #339933;">,</span> <span style="color: #000088;">$newEntityId</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000088;">$catsDone</span><span style="color: #339933;">++;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2010/05/basic-sql-injection-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online MD5 Hasher/Cracker</title>
		<link>http://www.haydenkibble.com/2009/07/online-md5-hashercracker/</link>
		<comments>http://www.haydenkibble.com/2009/07/online-md5-hashercracker/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 09:36:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP/MySQL/AJAX]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=53</guid>
		<description><![CDATA[If you&#8217;ve ever worked with a PHP/MySQL application which handles user logins, then you will have worked with MD5 Hashes. An MD5 is a one-way encryption algorithm commonly used by web applications to store passwords. When a new user creates an account, their password is &#8216;hashed&#8217; using MD5 and the hash is stored along with [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.haydenkibble.com/wp-content/uploads/cracker-150x150.jpg" alt="Cloud Cracker" title="Cloud Cracker" width="150" height="150" class="alignright size-thumbnail wp-image-55" />If you&#8217;ve ever worked with a PHP/MySQL application which handles user logins, then you will have worked with MD5 Hashes. An MD5 is a one-way encryption algorithm commonly used by web applications to store passwords.<br />
When a new user creates an account, their password is &#8216;hashed&#8217; using MD5 and the hash is stored along with their username in the database. When they attempt to login in the future, their entered password is hashed and compared to the hash in the database. If they match, they are authenticated. This is great as the password does not have to be visible in the database.</p>
<p>If you forget your admin password when developing an app and haven&#8217;t coded a &#8216;reset your password&#8217; part yet (I always code these boring bits last!) you have 2 choices. You can create a new MD5 hash and replace the one in the database, or you can &#8216;crack&#8217; the hash to find out your password. But how?</p>
<p>Enter Cloud Cracker, the <a href="http://www.cloudcracker.net">free online MD5 hasher/cracker</a>. This nifty little tool will take any password and give you it&#8217;s MD5 hash. It will also attempt to &#8216;crack&#8217; an entered hash and show you the plaintext password.</p>
<p><a href="http://www.CloudCracker.net">Click Here to check out Cloud Cracker now.</a> and feel free to hit the &#8216;Digg&#8217; button if you like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2009/07/online-md5-hashercracker/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What is AJAX?</title>
		<link>http://www.haydenkibble.com/2009/07/what-is-ajax/</link>
		<comments>http://www.haydenkibble.com/2009/07/what-is-ajax/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 13:13:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP/MySQL/AJAX]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=46</guid>
		<description><![CDATA[What is AJAX? If you find yourself asking this question then you&#8217;re either new to PHP/Javascript or you have been hiding under a rock for the past three years. Since around 2006, the term/buzzword &#8216;AJAX&#8217; has been thrown around like a frisbee in a playground. So what exactly is AJAX? If you&#8217;ve had an auto-suggest [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.haydenkibble.com/wp-content/uploads/ajax_small-150x150.jpg" alt="Ajax" title="Ajax" width="150" height="150" class="alignright size-thumbnail wp-image-48" />What is AJAX?<br />
If you find yourself asking this question then you&#8217;re either new to PHP/Javascript or you have been hiding under a rock for the past three years.<br />
Since around 2006, the term/buzzword &#8216;AJAX&#8217; has been thrown around like a frisbee in a playground. So what exactly <em>is</em> AJAX?</p>
<p>If you&#8217;ve had an auto-suggest bubble pop up as you&#8217;re searching, or if you&#8217;ve seen form sub-sections magically appear as you choose options, then you have already used AJAX. Slow, static web pages have given way to speedy, animated interfaces with more nifty features.</p>
<p>Some examples of what you can achieve with AJAX include:</p>
<ul>
<li>Auto-suggest popups</li>
<li>Form elements appearing/hiding as you complete the form</li>
<li>Slider controls</li>
<li>Draggable/droppable content</li>
</ul>
<p>The term AJAX stands for &#8216;Asynchronous Javascript And XML&#8217;. Technically, AJAX is when javascript sends requests back to the server, receives a response in XML and acts upon it. These days though, AJAX is used more of a blanket term of for anything interactive which uses javascript.</p>
<p>If you have been developing PHP and looking to take your applications to the next level of interactivity, then check out some of the nifty AJAX Javascript frameworks out there that do all the hard work for you:</p>
<ul>
<li><a href="http://jquery.com/">jQuery</a></li>
<li><a href="http://mootools.net/">Mootools</a></li>
<li><a href="http://www.prototypejs.org/">Prototype</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2009/07/what-is-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google likes standards compliance</title>
		<link>http://www.haydenkibble.com/2009/07/google-likes-standards-compliance/</link>
		<comments>http://www.haydenkibble.com/2009/07/google-likes-standards-compliance/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 18:25:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[compliance]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=30</guid>
		<description><![CDATA[One thing I love about the SEO world is that it&#8217;s not an exact science. Just about every man and his dog have their own idea about what Google likes and hates. I think we&#8217;re all agreed on the fact that relevant, contextual links from related so-called &#8216;authority&#8217; sites are good stuff. Generous use of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.haydenkibble.com/wp-content/uploads/standards-compliance-150x150.jpg" alt="standards compliance" title="standards compliance" width="150" height="150" class="alignright size-thumbnail wp-image-36" />One thing I love about the SEO world is that it&#8217;s not an exact science. Just about every man and his dog have their own idea about what Google likes and hates.</p>
<p>I think we&#8217;re all agreed on the fact that relevant, contextual links from related so-called &#8216;authority&#8217; sites are good stuff. Generous use of your keywords through your title tag, header tags and page content are also top of the list in our SEO agendas.</p>
<p>Well, what then? What else can we do to be Google&#8217;s best friend? Some recent theories have been thrown about such as:</p>
<ul>
<li>Get contact us, terms and about us pages</li>
<li>Add a quick blog to your site and other &#8216;bulking&#8217; things</li>
<li>Put your keywords into image ALT tags</li>
</ul>
<p>But I&#8217;ve never heard anyone state the importance of making your sites (X)HTML compliant. I am confident that the big &#8216;G&#8217; sees this as a big deal, but Nobody seems to have noticed. Just look how clear Google makes this point in their <a href="http://google.com/support/webmasters/bin/answer.py?answer=35769">webmaster guidelines</a>:</p>
<blockquote><p>Check for broken links and correct HTML</p></blockquote>
<p>Easy to overlook, but even easier to adhere to. Simply let the W3C&#8217;s <a href="http://validator.w3.org/">free online validator</a> take a look at your page and tell you how to fix it. Job done!</p>
<p>And in case you&#8217;re wondering, <a href="http://validator.w3.org/check/referer">of course I have</a> <img src='http://www.haydenkibble.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2009/07/google-likes-standards-compliance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Your Phone &#8216;Kerching&#8217; When You Make A Sale</title>
		<link>http://www.haydenkibble.com/2009/07/make-your-phone-kerching-when-you-make-a-sale/</link>
		<comments>http://www.haydenkibble.com/2009/07/make-your-phone-kerching-when-you-make-a-sale/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 19:23:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[PHP/MySQL/AJAX]]></category>
		<category><![CDATA[affiliate]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[kerching]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sale]]></category>

		<guid isPermaLink="false">http://www.haydenkibble.com/?p=15</guid>
		<description><![CDATA[Being the egotistical git I am, I wanted my phone to make a &#8216;kerching&#8217; sound each time I made an affiliate sale. Nothing beats dozing off on a lazy Sunday evening and hearing your cash register ring out. Here&#8217;s how I made it happen&#8230; First, you need to receive an email each time you make [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.haydenkibble.com/wp-content/uploads/cash-register-150x150.jpg" alt="cash-register" title="cash-register" width="150" height="150" class="alignright size-thumbnail wp-image-33" />Being the egotistical git I am, I wanted my phone to make a &#8216;kerching&#8217; sound each time I made an affiliate sale. Nothing beats dozing off on a lazy Sunday evening and hearing your cash register ring out. Here&#8217;s how I made it happen&#8230;</p>
<p>First, you need to receive an email each time you make a sale. If your affiliate network will do this, then the first bit is already done. If not, copy the script below into a php file called something like  &#8216;xml-to-email.php&#8217; and upload it to your web server. Full instructions are in comments at the top of the file. You will most likely have to change the regex variable to work with your affiliate network&#8217;s own feed format.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/* #########################################################
&nbsp;
Email When You Make a Sale
Developed by Hayden Kibble July 2009
Hayden@HaydenKibble.com
www.HaydenKibble.com
&nbsp;
Install instructions:
1. Put your affiliate network login and your email details into the variables below
2. You will probably have to edit '$regex_saletime' to match the sale time/date for your paticular aff networks xml feed
2. Upload this file to your web server.
3. Create a file called 'sales.txt' in the same directory as this script and make sure it has read/write permissions
4. Visit the page and it should show a blank page. An email will probably be sent as it picks up all your recent sales
5. Set a cron job up on your web server to run this script every 10 mins or so
6. If you have problems with any of the above, Google is your friend!
&nbsp;
######################################################### */</span>
&nbsp;
<span style="color: #000088;">$base_url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;https://www.affilliate-network.com/myfeed.xml&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$feed_user</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;USERNAME-HERE&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$feed_pass</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;PASSWORD-HERE&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$regex_saletime</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/&lt;date&gt;(.*)&lt;\/date&gt;/U&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$email_from</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;from@address.com&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$email_to</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;to@address.com&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$email_subject</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;You Made a Sale!&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// ##### Do Not Edit Below This Line! #####</span>
&nbsp;
<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$base_url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Set your login and password for authentication</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_USERPWD<span style="color: #339933;">,</span> <span style="color: #000088;">$feed_user</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">':'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$feed_pass</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HTTPAUTH<span style="color: #339933;">,</span> CURLAUTH_ANY<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// get the data and close the session</span>
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Error Getting Feed.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$dates</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$regex_saletime</span><span style="color: #339933;">,</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span><span style="color: #000088;">$dates</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Read previous sales times from database</span>
<span style="color: #000088;">$fileData</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$myFile</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;sales.txt&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myFile</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'r'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$fileData</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fread</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span> <span style="color: #990000;">filesize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myFile</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Split the file into lines</span>
<span style="color: #000088;">$fileLines</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$fileData</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$newsale</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$fh</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myFile</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'a'</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;can't open file&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// See if this sale has already been logged. If not, log it and set 'new sale' variable</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dates</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$date</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$date</span><span style="color: #339933;">,</span><span style="color: #000088;">$fileLines</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$newsale</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$sale_time</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$date</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #339933;">,</span> <span style="color: #000088;">$date</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fh</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$newsale</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$email_to</span><span style="color: #339933;">,</span><span style="color: #000088;">$email_subject</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;You have made a sale.<span style="color: #000099; font-weight: bold;">\n</span>Sale Time: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sale_time</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;From: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$email_from</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>To test, empty the  sales.txt file you created and run (access) the script. It will see your recent sales have not been logged and fire off the email. Make sure the email does not go to your junk folder.</p>
<p>If you want your computer to play a &#8216;kerching&#8217; upon making a sale, you can simply set up a rule in Microsoft Outlook to play the sound upon receiving an email with &#8216;Payment Received&#8217; in the subject. You get the idea.</p>
<p>For those of you who want the full-on portable cash register, continue on to create a gmail account with a difficult to guess name <em>just for these emails</em>. If you share this address <em>anywhere</em> it will get spammed. We do not want this as you will start hearing an awful lot of incorrect kerching&#8217;s!</p>
<p>You now need to set your phone up to use your gmail account. Make it check for new emails every 10 mins or so (depending on how often you set your cron job to run the script) and set <a href="http://www.haydenkibble.com/downloads/kerching.wav">this kerching wav</a> as your notification sound.</p>
<p>You are now set! When the php script runs intermittently on the cron job, it parses the feed for new sales. When it finds a new sale it sends an email to your phone, which plays a &#8216;kerching&#8217; sound on receipt!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.haydenkibble.com/2009/07/make-your-phone-kerching-when-you-make-a-sale/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://www.haydenkibble.com/downloads/kerching.wav" length="12384" type="audio/x-wav" />
<enclosure url="http://www.haydenkibble.com/downloads/kerching.wav" length="12384" type="audio/x-wav" />
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.haydenkibble.com @ 2013-05-24 07:24:10 -->