<?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>Beaver6813.com</title>
	<atom:link href="http://beaver6813.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://beaver6813.com</link>
	<description>Web Developer Extraordinaire!</description>
	<lastBuildDate>Sat, 10 Jul 2010 18:36:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1-RC1</generator>
		<item>
		<title>PHP Compilation (Cannot find -lltdl)</title>
		<link>http://beaver6813.com/2010/07/php-compilation-cannot-find-lltdl/</link>
		<comments>http://beaver6813.com/2010/07/php-compilation-cannot-find-lltdl/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 18:15:10 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[php php5 mcrypt lltdl source compile]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=234</guid>
		<description><![CDATA[When compiling PHP from source (in my case version 5.3.2) on CentOS 5.4 I kept getting the following error when trying to compile with mcrypt: "/usr/bin/ld: cannot find -lltdl" This seems to be due to a missing development library with the obscure name of libtool-ltdl-devel to fix this simply use: yum install libtool-ltdl-devel Which should [...]


Related posts:<ol><li><a href='http://beaver6813.com/2010/03/godaddy-mod_rewrite-hell/' rel='bookmark' title='Permanent Link: GoDaddy mod_rewrite Hell'>GoDaddy mod_rewrite Hell</a></li>
<li><a href='http://beaver6813.com/2009/11/case-of-the-missinghidden-ie8-developer-tools-window/' rel='bookmark' title='Permanent Link: Case of the missing/hidden IE8 Developer Tools window'>Case of the missing/hidden IE8 Developer Tools window</a></li>
<li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When compiling PHP from source (in my case version 5.3.2) on CentOS 5.4 I kept getting the following error when trying to compile with mcrypt:</p>
<p><code>"/usr/bin/ld: cannot find -lltdl"</code></p>
<p>This seems to be due to a missing development library with the obscure name of <span style="font-family: Courier New;">libtool-ltdl-devel</span> to fix this simply use:</p>
<p><code>yum install libtool-ltdl-devel</code></p>
<p>Which should include the package along with several dependencies.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">libltdl3-dev</div>


<p>Related posts:<ol><li><a href='http://beaver6813.com/2010/03/godaddy-mod_rewrite-hell/' rel='bookmark' title='Permanent Link: GoDaddy mod_rewrite Hell'>GoDaddy mod_rewrite Hell</a></li>
<li><a href='http://beaver6813.com/2009/11/case-of-the-missinghidden-ie8-developer-tools-window/' rel='bookmark' title='Permanent Link: Case of the missing/hidden IE8 Developer Tools window'>Case of the missing/hidden IE8 Developer Tools window</a></li>
<li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/07/php-compilation-cannot-find-lltdl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpGSB &#8211; PHP Google Safe Browsing</title>
		<link>http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/</link>
		<comments>http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 15:14:36 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=231</guid>
		<description><![CDATA[For the past couple of weeks I&#8217;ve been working on a PHP system that uses the Google Safe Browsing API to download blacklists and perform lookups on them with the goal of limiting the destructiveness of phishing and malware websites. Its still in a very early development phase (alpha) and there is still a lot [...]


Related posts:<ol><li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
<li><a href='http://beaver6813.com/2010/06/php-tld-list-inc-level-2-3/' rel='bookmark' title='Permanent Link: [PHP] TLD List, Inc. Level 2 &#038; 3'>[PHP] TLD List, Inc. Level 2 &#038; 3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>For the past couple of weeks I&#8217;ve been working on a PHP system that uses the Google Safe Browsing API to download blacklists and perform lookups on them with the goal of limiting the destructiveness of phishing and malware websites. Its still in a very early development phase (alpha) and there is still a lot left to be done but&#8230; it works! I&#8217;ve started<span id="more-231"></span> a Google Code project for this at: http://code.google.com/p/phpgsb/ Any contributions or testers would be greatly appreciated!</p>
<blockquote>
<div id="wikicontent">
<p><strong>phpGSB Main Version – 0.1 (ALPHA)</strong></p>
<p>phpGSB is  a PHP implementation using the Google Safe Browsing API. At current it <em>does</em> allow the following:</p>
<ul>
<li>Updating of GSB lists to a MySQL  database</li>
<li>Basic checking of URL’s against lists and then  full-hash checks against the full GSB database</li>
</ul>
<p>At current it <em>does  not</em> allow the following:</p>
<ul>
<li>Requests using MAC keys  (integrity checks)</li>
<li>It does not check sub tables when performing  a lookup (it will still work but means it may ping GSB more often than  needed).</li>
<li>It does not cache full-hash prefixes (required by  GSB), this is also lowers performance and is being worked on.</li>
</ul>
<p>The  main class is definitely not as efficient as it could be and has  developed very quickly to meet the basic GSB specification; any  contributions, bug fixes etc are <strong>very</strong> welcome!</p>
<p>If you have any problems please post in the Issues section, <em>give as  much information as you can,</em> the more information given, the easier  it is to find any problems you may be having.</p>
</div>
</blockquote>


<p>Related posts:<ol><li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
<li><a href='http://beaver6813.com/2010/06/php-tld-list-inc-level-2-3/' rel='bookmark' title='Permanent Link: [PHP] TLD List, Inc. Level 2 &#038; 3'>[PHP] TLD List, Inc. Level 2 &#038; 3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PHP] TLD List, Inc. Level 2 &amp; 3</title>
		<link>http://beaver6813.com/2010/06/php-tld-list-inc-level-2-3/</link>
		<comments>http://beaver6813.com/2010/06/php-tld-list-inc-level-2-3/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 16:48:19 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[All Level]]></category>
		<category><![CDATA[Automatic]]></category>
		<category><![CDATA[Levels 2 - 3]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[TLD List]]></category>
		<category><![CDATA[Top Level]]></category>
		<category><![CDATA[Updater]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=225</guid>
		<description><![CDATA[Whilst working on a new open-source project I needed to be able to be able to detect/remove the TLD&#8217;s from hostnames. This is no easy task algorithmically as example.co.uk (level 2) is just as valid as example.com (level 1) which is also just as valid as example.bob.shiga.jp (level 3). I came across a project from [...]


Related posts:<ol><li><a href='http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/' rel='bookmark' title='Permanent Link: phpGSB &#8211; PHP Google Safe Browsing'>phpGSB &#8211; PHP Google Safe Browsing</a></li>
<li><a href='http://beaver6813.com/2009/11/email-to-sms-email-to-mobile-free-database/' rel='bookmark' title='Permanent Link: Email to SMS / Email to Mobile, Free Database'>Email to SMS / Email to Mobile, Free Database</a></li>
<li><a href='http://beaver6813.com/2010/03/jokepants/' rel='bookmark' title='Permanent Link: Jokepants'>Jokepants</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Whilst working on a new open-source project I needed to be able to be able to detect/remove the TLD&#8217;s from hostnames. This is no easy task algorithmically as example.co.uk (level 2) is just as valid as example.com (level 1) which is also just as valid as example.bob.shiga.jp (level 3). I came across a project from Mozilla that lists all TLDs. This isn&#8217;t the easiest format to work with each time you want to test hostnames. So I&#8217;ve built an auto-updater that will sort and serialize the domains into a format like:<br />
<span id="more-225"></span><br />
[uk] =&gt;</p>
<p style="padding-left: 30px;">*.uk</p>
<p style="padding-left: 30px;">!parliament.uk</p>
<p style="padding-left: 30px;">!nhs.uk</p>
<p>The updater then serializes the array for easy access via PHP at a later date. You may be wondering what the * and !&#8217;s mean. To put it simply it means that there could be anything just before the .uk and it should be counted as the domain such as .co.uk, .gov.uk. The ! before means that its an exception to the * (wildcard) rule, so in the case of parliament.uk, the parliament part should <strong>not</strong> be counted as part of the domain. A full explanation of this can be found at <a href="http://publicsuffix.org/format/">http://publicsuffix.org/format/</a></p>
<p>Please find below the actual code for the updater. I decided against just posting the serialized list as the list will change over time where as this post may not.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p225code2'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2252"><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
</pre></td><td class="code" id="p225code2"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//TLD List Updater (Formats to Serialized PHP)</span>
<span style="color: #666666; font-style: italic;">//Created by Beaver6813 (Beaver6813.com). Big thanks to the Mozilla community!</span>
<span style="color: #000088;">$tldlist</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/file"><span style="color: #990000;">file</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$toplist</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tldlist</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/substr_count"><span style="color: #990000;">substr_count</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;//&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">&amp;&amp;!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</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><a href="http://www.php.net/substr_count"><span style="color: #990000;">substr_count</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
			<span style="color: #000088;">$sublist</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">else</span>
			<span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$dotxplode</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/explode"><span style="color: #990000;">explode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;.&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$dotxplode</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array_reverse"><span style="color: #990000;">array_reverse</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dotxplode</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$sublist</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$dotxplode</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$value</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<a href="http://www.php.net/file_put_contents"><span style="color: #990000;">file_put_contents</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;effective_tld_sublist.dat&quot;</span><span style="color: #339933;">,</span><a href="http://www.php.net/serialize"><span style="color: #990000;">serialize</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sublist</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>



<p>Related posts:<ol><li><a href='http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/' rel='bookmark' title='Permanent Link: phpGSB &#8211; PHP Google Safe Browsing'>phpGSB &#8211; PHP Google Safe Browsing</a></li>
<li><a href='http://beaver6813.com/2009/11/email-to-sms-email-to-mobile-free-database/' rel='bookmark' title='Permanent Link: Email to SMS / Email to Mobile, Free Database'>Email to SMS / Email to Mobile, Free Database</a></li>
<li><a href='http://beaver6813.com/2010/03/jokepants/' rel='bookmark' title='Permanent Link: Jokepants'>Jokepants</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/06/php-tld-list-inc-level-2-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decor Scene</title>
		<link>http://beaver6813.com/2010/05/decor-scene/</link>
		<comments>http://beaver6813.com/2010/05/decor-scene/#comments</comments>
		<pubDate>Fri, 21 May 2010 11:32:27 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[decor scene]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[DIY store]]></category>
		<category><![CDATA[elegant]]></category>
		<category><![CDATA[family run]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=211</guid>
		<description><![CDATA[Decor Scene was a smaller, simpler project I worked on. Mike from Decor Scene tasked me with creating a simple, user-friendly website that gave Decor Scene, a family run DIY store, a web presence. For the main design I approached a company I had recently worked with Webslash to design a simple, elegant and modern [...]


Related posts:<ol><li><a href='http://beaver6813.com/2010/03/city-coupons/' rel='bookmark' title='Permanent Link: City Coupons'>City Coupons</a></li>
<li><a href='http://beaver6813.com/2010/03/jokepants/' rel='bookmark' title='Permanent Link: Jokepants'>Jokepants</a></li>
<li><a href='http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/' rel='bookmark' title='Permanent Link: phpGSB &#8211; PHP Google Safe Browsing'>phpGSB &#8211; PHP Google Safe Browsing</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src='http://beaver6813.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/211.png&amp;w=200&amp;h=150&amp;zc=1&amp;ft=jpg' alt='post thumbnail' /></p>
<p>Decor Scene was a smaller, simpler project I worked on. Mike from <a href="http://www.decorscene.co.uk">Decor Scene</a> tasked me with creating a simple, user-friendly website that gave <a href="http://www.decorscene.co.uk">Decor Scene</a>, a family run DIY store, a web presence. For the main design I approached a company I had recently worked with <a href="http://beaver6813.com/2010/03/jokepants/">Webslash</a> to design a simple, elegant and modern website that made an impact on any user who visited. After a few drafts we were there and it was down to me to slice the design and code it. As the site itself i<span id="more-211"></span>s rather simple I wanted to use the most efficient methods available and so split the website into three parts:</p>
<ul>
<li>Header &#8211; Template</li>
<li>Content &#8211; Custom for each page</li>
<li>Footer &#8211; Template</li>
</ul>
<p>By making the header and footer both templates it saved greatly on development times and served to make the website easier to update in the future.</p>
<p>A problem I encountered with this however arrived when it came to adding Google Maps to make it easier for potential customers to find the shop. Google Maps code is usually added to the head parts of the HTML and then an onload function is added to the body, so when the body is fully loaded Google Maps loads. It would be very inefficient to include the code on each page and could potentially generate errors so I simply included a check to see if it exists. I could then create this function just on the &#8220;Find Us&#8221; page and then use a small bit of javascript that checks if &#8220;runjavascript()&#8221; is defined, if it is, it runs it:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p211code4'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2114"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p211code4"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> window.<span style="color: #660066;">runjavascript</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'function'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
runjavascript<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>I think this is the more efficient or at least simplest way to do this, if anyone has a better way then let me know!</p>
<p>Some SEO work was also done on the website to ensure it hit page 1 on Google on some terms such as &#8220;DIY Store Rickmansworth&#8221;, &#8220;Decor Scene&#8221;, &#8220;Decor Scene Rickmansworth&#8221;, &#8220;DIY Shop Rickmansworth&#8221;; part of this was adding the business to Google Maps which benefits both customers and the business.</p>
<p>On final presentation to the client the response was very positive and whilst the website is fairly simple at the moment it certainly has left room for expansion in the future!</p>

<a href='http://beaver6813.com/2010/05/decor-scene/decorscene-home/' title='Decor Scene - Homepage'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/05/DecorScene-Home-150x150.png" class="attachment-thumbnail" alt="Decor Scene Homepage" title="Decor Scene - Homepage" /></a>
<a href='http://beaver6813.com/2010/05/decor-scene/decorscene-about/' title='Decor Scene - About Us'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/05/DecorScene-About-150x150.png" class="attachment-thumbnail" alt="Decor Scene - About Us" title="Decor Scene - About Us" /></a>
<a href='http://beaver6813.com/2010/05/decor-scene/decorscene-products/' title='Decor Scene - Products'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/05/DecorScene-Products-150x150.png" class="attachment-thumbnail" alt="Decor Scene - Products" title="Decor Scene - Products" /></a>
<a href='http://beaver6813.com/2010/05/decor-scene/decorscene-findus/' title='Decor Scene - Find Us'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/05/DecorScene-Findus-150x150.png" class="attachment-thumbnail" alt="Decor Scene - Find Us" title="Decor Scene - Find Us" /></a>



<p>Related posts:<ol><li><a href='http://beaver6813.com/2010/03/city-coupons/' rel='bookmark' title='Permanent Link: City Coupons'>City Coupons</a></li>
<li><a href='http://beaver6813.com/2010/03/jokepants/' rel='bookmark' title='Permanent Link: Jokepants'>Jokepants</a></li>
<li><a href='http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/' rel='bookmark' title='Permanent Link: phpGSB &#8211; PHP Google Safe Browsing'>phpGSB &#8211; PHP Google Safe Browsing</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/05/decor-scene/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Search and Replace Directory Recursively</title>
		<link>http://beaver6813.com/2010/04/php-search-and-replace-directory-recursively/</link>
		<comments>http://beaver6813.com/2010/04/php-search-and-replace-directory-recursively/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 16:04:11 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[find and replace]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[recurse]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search and replace]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=207</guid>
		<description><![CDATA[On a message forum I regularily visit a member was having issues with code being placed in multiple files that he wanted to remove or change without having to edit each and every file manually. For this I created a search and replace function which will recursively search the directory and every file for a [...]


Related posts:<ol><li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2010/03/godaddy-mod_rewrite-hell/' rel='bookmark' title='Permanent Link: GoDaddy mod_rewrite Hell'>GoDaddy mod_rewrite Hell</a></li>
<li><a href='http://beaver6813.com/2009/10/bash-bad-interpreter/' rel='bookmark' title='Permanent Link: Bash, Bad Interpreter'>Bash, Bad Interpreter</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>On a message forum I regularily visit a member was having issues with code being placed in multiple files that he wanted to remove or change without having to edit each and every file manually. For this I created a search and replace function which will recursively search the directory and every file<span id="more-207"></span> for a specific piece of code and will replace with whatever:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p207code6'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2076"><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
</pre></td><td class="code" id="p207code6"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$stringsearch</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;texttosearchfor&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$dir</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;./&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Starting search for <span style="color: #006699; font-weight: bold;">$stringsearch</span> within directory <span style="color: #006699; font-weight: bold;">$dir</span>
&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$listDir</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handler</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/opendir"><span style="color: #990000;">opendir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sub</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/readdir"><span style="color: #990000;">readdir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handler</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">FALSE</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: #000088;">$sub</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;.&quot;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$sub</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;..&quot;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000088;">$sub</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">&quot;Thumb.db&quot;</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><a href="http://www.php.net/is_file"><span style="color: #990000;">is_file</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #009900;">&#41;</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><a href="http://www.php.net/substr_count"><span style="color: #990000;">substr_count</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sub</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'.php'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                            <span style="color: #009900;">&#123;</span>
                            <span style="color: #000088;">$getfilecontents</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/file_get_contents"><span style="color: #990000;">file_get_contents</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                            <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/substr_count"><span style="color: #990000;">substr_count</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$getfilecontents</span><span style="color: #339933;">,</span><span style="color: #000088;">$stringsearch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
                            <span style="color: #009900;">&#123;</span>
                            <span style="color: #000088;">$replacer</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$stringsearch</span><span style="color: #339933;">,</span><span style="color: #000088;">$stringreplace</span><span style="color: #339933;">,</span><span style="color: #000088;">$getfilecontents</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                            <span style="color: #666666; font-style: italic;">// Let's make sure the file exists and is writable first.</span>
                              <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/is_writable"><span style="color: #990000;">is_writable</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #009900;">&#41;</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: #000088;">$handle</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/fopen"><span style="color: #990000;">fopen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'w'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                                       <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Cannot open file (&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;)&quot;</span><span style="color: #339933;">;</span>
                                       <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #339933;">;</span>
                                  <span style="color: #009900;">&#125;</span>
                                  <span style="color: #666666; font-style: italic;">// Write $somecontent to our opened file.</span>
                                  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/fwrite"><span style="color: #990000;">fwrite</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handle</span><span style="color: #339933;">,</span> <span style="color: #000088;">$replacer</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                                      <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Cannot write to file (&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;)&quot;</span><span style="color: #339933;">;</span>
                                      <a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #339933;">;</span>
                                  <span style="color: #009900;">&#125;</span>
                                  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Success, removed searched content from:&quot;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;
&quot;</span><span style="color: #339933;">;</span>
                                  <a href="http://www.php.net/fclose"><span style="color: #990000;">fclose</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handle</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                              <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
                                  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;The file &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #0000ff;">&quot; is not writable
&quot;</span><span style="color: #339933;">;</span>
                              <span style="color: #009900;">&#125;</span>
                            <span style="color: #009900;">&#125;</span>
                            <span style="color: #009900;">&#125;</span>
                        <span style="color: #000088;">$listDir</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$sub</span><span style="color: #339933;">;</span>
                    <span style="color: #009900;">&#125;</span><span style="color: #b1b100;">elseif</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/is_dir"><span style="color: #990000;">is_dir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                        <span style="color: #000088;">$listDir</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$sub</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> SearchandReplace<span style="color: #009900;">&#40;</span><span style="color: #000088;">$dir</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$sub</span><span style="color: #339933;">,</span><span style="color: #000088;">$stringsearch</span><span style="color: #339933;">,</span><span style="color: #000088;">$stringreplace</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: #009900;">&#125;</span>
            <a href="http://www.php.net/closedir"><span style="color: #990000;">closedir</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$handler</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$listDir</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>



<p>Related posts:<ol><li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2010/03/godaddy-mod_rewrite-hell/' rel='bookmark' title='Permanent Link: GoDaddy mod_rewrite Hell'>GoDaddy mod_rewrite Hell</a></li>
<li><a href='http://beaver6813.com/2009/10/bash-bad-interpreter/' rel='bookmark' title='Permanent Link: Bash, Bad Interpreter'>Bash, Bad Interpreter</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/04/php-search-and-replace-directory-recursively/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTC Desire Release Dates</title>
		<link>http://beaver6813.com/2010/04/htc-desire-release-dates/</link>
		<comments>http://beaver6813.com/2010/04/htc-desire-release-dates/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 14:00:38 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[desire]]></category>
		<category><![CDATA[devicewire]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[htc desire]]></category>
		<category><![CDATA[o2]]></category>
		<category><![CDATA[orange]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[release date]]></category>
		<category><![CDATA[ship date]]></category>
		<category><![CDATA[virgin]]></category>
		<category><![CDATA[vodafone]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=177</guid>
		<description><![CDATA[W ith the launch of the HTC&#8217;s new Desire imminent I was hoping to get my hands on one sooner rather than later. Unfortunately it seems that due to the current (but surely not unexpected?!) high level of demand the main release date for the UK has been pushed back to April 12th for standard [...]


Related posts:<ol><li><a href='http://beaver6813.com/2009/11/multipart-e-mail-code-for-php-text-and-html/' rel='bookmark' title='Permanent Link: MultiPart E-Mail Code for PHP (Text and HTML)'>MultiPart E-Mail Code for PHP (Text and HTML)</a></li>
<li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2009/11/email-to-sms-email-to-mobile-free-database/' rel='bookmark' title='Permanent Link: Email to SMS / Email to Mobile, Free Database'>Email to SMS / Email to Mobile, Free Database</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src='http://beaver6813.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/177.jpg&amp;w=200&amp;h=150&amp;zc=1&amp;ft=jpg' alt='post thumbnail' /></p>
<p><img class="alignleft size-medium wp-image-180" title="HTC Desire" src="http://beaver6813.com/wp-content/uploads/2010/03/large6-300x164.jpg" alt="" width="300" height="164" />W ith the launch of the HTC&#8217;s new Desire imminent I was hoping to get my hands on one sooner rather than later. Unfortunately it seems that due to the current (but surely not unexpected?!) high level of demand the main release date for the UK has been pushed back to April 12th for standard stores with major carriers getting there hands on it at varying times. I&#8217;ve been trying to piece together information on the varying release dates and so have created the chart below:<span id="more-177"></span></p>
<p><strong>
<table id="wp-table-reloaded-id-1-no-1" class="wp-table-reloaded wp-table-reloaded-id-1">
<thead>
	<tr class="row-1 odd">
		<th class="column-1">Number</th><th class="column-2">Retailer</th><th class="column-3">Date</th>
	</tr>
</thead>
<tbody>
	<tr class="row-2 even">
		<td class="column-1">1</td><td class="column-2">T-Mobile</td><td class="column-3">29/03/2010</td>
	</tr>
	<tr class="row-3 odd">
		<td class="column-1">2</td><td class="column-2">Amazon</td><td class="column-3">06/04/2010</td>
	</tr>
	<tr class="row-4 even">
		<td class="column-1">3</td><td class="column-2">Orange</td><td class="column-3">02/04/2010 (may have been pushed back to 10/04/2010)</td>
	</tr>
	<tr class="row-5 odd">
		<td class="column-1">4</td><td class="column-2">Vodafone</td><td class="column-3">07/04/2010</td>
	</tr>
	<tr class="row-6 even">
		<td class="column-1">5</td><td class="column-2">Play</td><td class="column-3">12/04/2010</td>
	</tr>
	<tr class="row-7 odd">
		<td class="column-1">6</td><td class="column-2">Devicewire</td><td class="column-3">12/04/2010</td>
	</tr>
	<tr class="row-8 even">
		<td class="column-1">7</td><td class="column-2">O2</td><td class="column-3">29/04/2010</td>
	</tr>
	<tr class="row-9 odd">
		<td class="column-1">8</td><td class="column-2">Virgin Mobile</td><td class="column-3">End April to Early May</td>
	</tr>
</tbody>
</table>
</strong></p>
<p><strong>Update: Vodafone has been announced as 7th April.<br />
Update 2: Updated dates on table, appears to be general delays.</strong></p>


<p>Related posts:<ol><li><a href='http://beaver6813.com/2009/11/multipart-e-mail-code-for-php-text-and-html/' rel='bookmark' title='Permanent Link: MultiPart E-Mail Code for PHP (Text and HTML)'>MultiPart E-Mail Code for PHP (Text and HTML)</a></li>
<li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2009/11/email-to-sms-email-to-mobile-free-database/' rel='bookmark' title='Permanent Link: Email to SMS / Email to Mobile, Free Database'>Email to SMS / Email to Mobile, Free Database</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/04/htc-desire-release-dates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoDaddy mod_rewrite Hell</title>
		<link>http://beaver6813.com/2010/03/godaddy-mod_rewrite-hell/</link>
		<comments>http://beaver6813.com/2010/03/godaddy-mod_rewrite-hell/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 13:17:58 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=175</guid>
		<description><![CDATA[Whilst trying to install a piece of software on a GoDaddy hosted account I noticed that mod_rewrite variables were simply not being passed to the correct pages. When digging a bit deeper I found that it was effectively ignoring extensions in URLs and just displaying the file with the extension. i.e. instead of having to [...]


Related posts:<ol><li><a href='http://beaver6813.com/2010/07/php-compilation-cannot-find-lltdl/' rel='bookmark' title='Permanent Link: PHP Compilation (Cannot find -lltdl)'>PHP Compilation (Cannot find -lltdl)</a></li>
<li><a href='http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/' rel='bookmark' title='Permanent Link: phpGSB &#8211; PHP Google Safe Browsing'>phpGSB &#8211; PHP Google Safe Browsing</a></li>
<li><a href='http://beaver6813.com/2010/04/php-search-and-replace-directory-recursively/' rel='bookmark' title='Permanent Link: PHP Search and Replace Directory Recursively'>PHP Search and Replace Directory Recursively</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Whilst trying to install a piece of software on a GoDaddy hosted account I noticed that mod_rewrite variables were simply not being passed to the correct pages. When digging a bit deeper I found that it was effectively ignoring extensions in URLs and just displaying the file with the extension. i.e. instead of having to enter:<span id="more-175"></span></p>
<p><code><em>www.example.com/advertise.php</em></code></p>
<p>you could instead type</p>
<p><code><em>www.example.com/advertise</em></code></p>
<p>And it would return the same file, which is good if for some unknown reason your file doesn&#8217;t have the correct extension, but its not exactly.. good..</p>
<p>After trawling Google for a while I found a post by <a href="http://www.ericfaerber.com/2007/08/21/godaddy-and-mod_rewrite/">Eric Faerber</a> that solved the problem. The strange redirects were due to Apache MultiViews being enabled, disabling this by entering</p>
<p><code><em>Options -MultiViews</em></code></p>
<p>into the .htaccess file. Solved the problem, the simplest solutions are always the best!</p>


<p>Related posts:<ol><li><a href='http://beaver6813.com/2010/07/php-compilation-cannot-find-lltdl/' rel='bookmark' title='Permanent Link: PHP Compilation (Cannot find -lltdl)'>PHP Compilation (Cannot find -lltdl)</a></li>
<li><a href='http://beaver6813.com/2010/06/phpgsb-php-google-safe-browsing/' rel='bookmark' title='Permanent Link: phpGSB &#8211; PHP Google Safe Browsing'>phpGSB &#8211; PHP Google Safe Browsing</a></li>
<li><a href='http://beaver6813.com/2010/04/php-search-and-replace-directory-recursively/' rel='bookmark' title='Permanent Link: PHP Search and Replace Directory Recursively'>PHP Search and Replace Directory Recursively</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/03/godaddy-mod_rewrite-hell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jokepants</title>
		<link>http://beaver6813.com/2010/03/jokepants/</link>
		<comments>http://beaver6813.com/2010/03/jokepants/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 14:53:34 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[fmyscript]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[joke site]]></category>
		<category><![CDATA[jokepants]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[psd]]></category>
		<category><![CDATA[SMARTY]]></category>
		<category><![CDATA[webslash]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=164</guid>
		<description><![CDATA[Web development firm Webslash approached me with the task of integrating their design for a new joke sharing website, Jokepants, into an existing script called FMyScript. FMyScript is a story sharing script. This was a relatively quick project as the script was already coded and just required modifications to make it suitable for jokes as [...]


Related posts:<ol><li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
<li><a href='http://beaver6813.com/2010/03/city-coupons/' rel='bookmark' title='Permanent Link: City Coupons'>City Coupons</a></li>
<li><a href='http://beaver6813.com/2009/10/php-get-current-time-in-milliseconds/' rel='bookmark' title='Permanent Link: [PHP] Get current time in milliseconds'>[PHP] Get current time in milliseconds</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src='http://beaver6813.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/164.png&amp;w=200&amp;h=150&amp;zc=1&amp;ft=jpg' alt='post thumbnail' /></p>
<p>Web development firm <a href="http://www.webslash.be">Webslash</a> approached me with the task of integrating their design for a new joke sharing website, Jokepants, into an existing script called <a href="http://www.fmyscript.com/">FMyScript</a>. <a href="http://www.fmyscript.com/">FMyScript</a> is a story sharing script. This was a relatively quick project as the script was already coded and just required modifications to make it suitable for jokes as opposed to stories.<span id="more-164"></span></p>
<p>After I had sliced and programmed the design into wc3 valid XHTML and CSS it was simply a task of splitting the page into the seperate parts required for FMyScript&#8217;s <a href="http://www.smarty.net/">SMARTY</a> templating engine, i.e. header, footer, sidebar and content boxes.</p>
<p>After the base design was in place some minor definitions in the script had to be modified and a few bugs had to be fixed in the actual script. After this was complete Jokepants was ready for launch!</p>

<a href='http://beaver6813.com/2010/03/jokepants/jokepantshome/' title='Jokepants Homepage'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/JokepantsHome-150x150.png" class="attachment-thumbnail" alt="Jokepants Homepage" title="Jokepants Homepage" /></a>
<a href='http://beaver6813.com/2010/03/jokepants/jokepantspage/' title='Jokepants Content Page'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/JokepantsPage-150x150.png" class="attachment-thumbnail" alt="Jokepants Content Page" title="Jokepants Content Page" /></a>
<a href='http://beaver6813.com/2010/03/jokepants/indev2/' title='Jokepants in Development'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/indev2-150x150.png" class="attachment-thumbnail" alt="Jokepants in Development" title="Jokepants in Development" /></a>
<a href='http://beaver6813.com/2010/03/jokepants/indev/' title='Jokepants in Development'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/indev-150x150.png" class="attachment-thumbnail" alt="Jokepants in Development" title="Jokepants in Development" /></a>



<p>Related posts:<ol><li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
<li><a href='http://beaver6813.com/2010/03/city-coupons/' rel='bookmark' title='Permanent Link: City Coupons'>City Coupons</a></li>
<li><a href='http://beaver6813.com/2009/10/php-get-current-time-in-milliseconds/' rel='bookmark' title='Permanent Link: [PHP] Get current time in milliseconds'>[PHP] Get current time in milliseconds</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/03/jokepants/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>City Coupons</title>
		<link>http://beaver6813.com/2010/03/city-coupons/</link>
		<comments>http://beaver6813.com/2010/03/city-coupons/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 19:24:06 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[city coupons]]></category>
		<category><![CDATA[citycoupons]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[content management]]></category>
		<category><![CDATA[coupons]]></category>
		<category><![CDATA[email to sms]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[paypal]]></category>
		<category><![CDATA[paypal IPN]]></category>
		<category><![CDATA[pdf generation]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[printable coupons]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[sms coupons]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=146</guid>
		<description><![CDATA[City Coupons, a very recent project, in essence is a full content management for coupons. Using the system you are able to add printable, SMS and viewable coupons to your website. In addition to this, the system has a range of other features to offer. Started at the beginning of November &#8217;09 and completed with [...]


Related posts:<ol><li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
<li><a href='http://beaver6813.com/2010/03/jokepants/' rel='bookmark' title='Permanent Link: Jokepants'>Jokepants</a></li>
<li><a href='http://beaver6813.com/2009/10/twerq/' rel='bookmark' title='Permanent Link: Twerq'>Twerq</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src='http://beaver6813.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/146.png&amp;w=200&amp;h=150&amp;zc=1&amp;ft=jpg' alt='post thumbnail' /></p>
<p>City Coupons, a very recent project, in essence is a full content management for coupons. Using the system you are able to add printable, SMS and viewable coupons to your website. In addition to this, the system has a range of other features to offer. Started at the beginning of November &#8217;09 and completed with version 1.0.2 in February &#8217;10 its certainly been a large but exciting project.</p>
<p><span id="more-146"></span></p>
<h3>Startup</h3>
<p>In November I was asked to create a piece of coupon management software that would:</p>
<ul>
<li>Allow businesses to sign up and pay automatically.</li>
<li>Enable businesses to manage their business profiles on the site, including locations, media, descriptions and above all coupons &amp; offers.</li>
<li>Give the site administrator full control over the site in the simplest way possible.</li>
<li>To incorporate some sort of events calendar into the site that would gather all invidual business events.</li>
</ul>
<p>We started with a basic design which was heavily edited to fit with the feel of the site. I then started work on coding the back-end into classes (object orientated) to make upgrading and modifying the site a lot more modular.</p>
<h3>Payment System</h3>
<p>The site is integrated with the PayPal IPN payment processing which will, after a business has gone through checkout, notify the site and will automatically activate their account. In addition to this it also has an automated billing program that will periodically check to ensure that all businesses are up to date on their payments. If not it will send the business an invoice with three days grace period. After that their account will be suspended until they activate their account. Of course this can always be overridden in the site admin panel.</p>
<h3>Business Page &amp; Coupons</h3>
<p>An important aspect of the site was enabling businesses to have their own &#8220;online presence&#8221;, this was achieved by giving each business their own profile page in addition to their various offers appearing site-wide. On this page businesses can display all of their locations alongside Google Maps, uploaded media, events and other exciting items.</p>
<p>Having a list of offers on the website may not be much use to a lot of people, City Coupons enables users to print and send the offer to their cell phone. The printing system used is major improvement over the type used on similar coupon websites. It enables you to specify the quantity of the coupon you wish to print and even place different coupons on the same page if you bookmark them. The SMS service has no operating costs and uses data processing techniques specific to each major carrier in the US.</p>
<h3>Administering the Site</h3>
<p>In the Vendor Admin Panel (for businesses) you are able to easily modify any aspect of your profile through the various tabs on the page conveniently titled, Offers, Locations, Events, Media, Profile etc. Likewise the Site Admin Panel is arranged similarly but with a wide range of options from full user management to bulk newsletter services and footer modifications.</p>
<p>To make the system even more interactive; it is integrated with the WordPress blog system to provide the blogging and article aspects of the site. WordPress is one of the best systems in the world for this and it would be senseless to reinvent the wheel. It however does include several City Coupons themes and plugins for full integration with the member system and site design.</p>
<p>The default site design is easily customizable and is available in a variety of colours, some different colours used by current owners of the system are shown in the thumbnails below.</p>
<h3>Conclusion</h3>
<p>Overall the City Coupons project was great fun and as always I developed my programming skills. My knowledge of WordPress has been greatly improved, my coding standards have risen significantly and I now know how to generate PDF&#8217;s from pure PHP! The client had a firm vision of what the site should be like and it certainly helped me to create exactly what he envisioned.</p>

<a href='http://beaver6813.com/2010/03/city-coupons/defaultgreen/' title='Main Site Default Theme'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/DefaultGreen-150x150.png" class="attachment-thumbnail" alt="Main Site Default Theme" title="Main Site Default Theme" /></a>
<a href='http://beaver6813.com/2010/03/city-coupons/homecontent/' title='Business Page '><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/HomeContent-150x150.png" class="attachment-thumbnail" alt="Business Page" title="Business Page" /></a>
<a href='http://beaver6813.com/2010/03/city-coupons/vendoradminpanel/' title='Vendor Admin Panel'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/VendorAdminPanel-150x150.png" class="attachment-thumbnail" alt="Vendor Admin Panel" title="Vendor Admin Panel" /></a>
<a href='http://beaver6813.com/2010/03/city-coupons/siteadminpanel/' title='Site Admin Panel'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/SiteAdminPanel-150x150.png" class="attachment-thumbnail" alt="Site Admin Panel" title="Site Admin Panel" /></a>
<a href='http://beaver6813.com/2010/03/city-coupons/lacoupons/' title='Blue on LA Coupons'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/LaCoupons-150x150.png" class="attachment-thumbnail" alt="Blue on LA Coupons" title="Blue on LA Coupons" /></a>
<a href='http://beaver6813.com/2010/03/city-coupons/austincoupons/' title='Orange/Bronze on Austin Coupons'><img width="150" height="150" src="http://beaver6813.com/wp-content/uploads/2010/03/AustinCoupons-150x150.png" class="attachment-thumbnail" alt="Orange/Bronze on Austin Coupons" title="Orange/Bronze on Austin Coupons" /></a>



<p>Related posts:<ol><li><a href='http://beaver6813.com/2010/05/decor-scene/' rel='bookmark' title='Permanent Link: Decor Scene'>Decor Scene</a></li>
<li><a href='http://beaver6813.com/2010/03/jokepants/' rel='bookmark' title='Permanent Link: Jokepants'>Jokepants</a></li>
<li><a href='http://beaver6813.com/2009/10/twerq/' rel='bookmark' title='Permanent Link: Twerq'>Twerq</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/03/city-coupons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Alternative Top 100 Songs of the Decade</title>
		<link>http://beaver6813.com/2009/12/the-alternative-top-100-songs-of-the-decade/</link>
		<comments>http://beaver6813.com/2009/12/the-alternative-top-100-songs-of-the-decade/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 00:55:45 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=124</guid>
		<description><![CDATA[Disgusted at the fact that Absoute Radio&#8217;s &#8220;Songs of the Decade&#8221; includes fifteen, yes, 15 songs by McFly, one of my good friends Daniel Bailey has created an alternative Top 100 songs of the Decade list. If you strongly disagree with any of these then leave a comment. I&#8217;ve also attached a link to download [...]


Related posts:<ol><li><a href='http://beaver6813.com/2009/10/under-construction/' rel='bookmark' title='Permanent Link: Under Construction!'>Under Construction!</a></li>
<li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2009/11/multipart-e-mail-code-for-php-text-and-html/' rel='bookmark' title='Permanent Link: MultiPart E-Mail Code for PHP (Text and HTML)'>MultiPart E-Mail Code for PHP (Text and HTML)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src='http://beaver6813.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/124.jpg&amp;w=200&amp;h=150&amp;zc=1&amp;ft=jpg' alt='post thumbnail' /></p>
<div id="attachment_125" class="wp-caption alignleft" style="width: 152px"><a href="http://beaver6813.com/wp-content/uploads/2009/12/mcshit.jpg"><img class="size-medium wp-image-125" title="mcshit" src="http://beaver6813.com/wp-content/uploads/2009/12/mcshit-300x300.jpg" alt="The Horror!" width="142" height="142" /></a><p class="wp-caption-text">The Horror!</p></div>
<p>Disgusted at the fact that Absoute Radio&#8217;s &#8220;Songs of the Decade&#8221; includes fifteen, yes, <strong>15</strong> songs by <a href="http://www.bbc.co.uk/blogs/chartblog/images/htd_mcfly.jpg" target="_blank">McFly</a>, one of my good friends Daniel Bailey has created an alternative Top 100 songs of the Decade list. If you strongly disagree with any of these then leave a comment. I&#8217;ve also attached a link to download this playlist to iTunes <img src='http://beaver6813.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-124"></span><br />
To import the playlist into iTunes:</p>
<p style="padding-left: 180px;">1. Right click and save as.. the file here: <a href="http://beaver6813.com/wp-content/uploads/2009/12/Top-100-Songs-of-the-Decade.txt">Top 100 Songs of the Decade</a>.<br />
2. Open up iTunes<br />
3. Go to File-&gt;Library-Import Playlist&#8230;<br />
4. Select the text file it downloaded<br />
5. Enjoy!!</p>
<table style="clear:both;margin-top:110px;border-collapse: collapse; width: 695pt;" border="0" cellspacing="0" cellpadding="0" width="927">
<col style="width: 48pt;" width="64"></col>
<col style="width: 208pt;" width="277"></col>
<col style="width: 182pt;" width="243"></col>
<col style="width: 257pt;" width="343"></col>
<tbody>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt; width: 48pt;" width="64" height="20"><strong>No.</strong></td>
<td style="width: 208pt;" width="277"><strong>Track</strong></td>
<td style="width: 182pt;" width="243"><strong>Artist</strong></td>
<td style="width: 257pt;" width="343"><strong>Album</strong></td>
</tr>
<tr style="height: 15pt; text-align: left;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>1</strong></td>
<td>City Of Blinding Lights</td>
<td>U2</td>
<td>How To Dismantle An Atomic Bomb</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>2</strong></td>
<td>The Scientist</td>
<td>Coldplay</td>
<td>A Rush Of Blood To The Head</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>3</strong></td>
<td>Cannonball</td>
<td>Damien Rice</td>
<td>O</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>4</strong></td>
<td>Ashes</td>
<td>Embrace</td>
<td>Out Of Nothing</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>5</strong></td>
<td>Hoppipolla</td>
<td>Sigur Rós</td>
<td>Takk</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>6</strong></td>
<td>Tea &amp; Theatre</td>
<td>The Who</td>
<td>Endless Wire</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>7</strong></td>
<td>Dreaming of You</td>
<td style="width: 182pt;" width="243">The Coral</td>
<td>The Coral</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>8</strong></td>
<td>Albion</td>
<td style="width: 182pt;" width="243">Babyshambles</td>
<td>Down In Albion</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>9</strong></td>
<td>Somewhere Else</td>
<td style="width: 182pt;" width="243">Razorlight</td>
<td>Up All Night</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>10</strong></td>
<td>Blackened Blue Eyes</td>
<td style="width: 182pt;" width="243">The Charlatans</td>
<td>Simpatico</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>11</strong></td>
<td>Sometimes You Can&#8217;t Make It On Your Own</td>
<td style="width: 182pt;" width="243">U2</td>
<td>How To Dismantle An Atomic Bomb</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>12</strong></td>
<td>Don&#8217;t Look Back Into The Sun</td>
<td style="width: 182pt;" width="243">The Libertines</td>
<td>Don&#8217;t Look Back Into The Sun EP</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>13</strong></td>
<td>Yellow</td>
<td style="width: 182pt;" width="243">Coldplay</td>
<td>Parachutes</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>14</strong></td>
<td>Are You Trying to Be Lonely?</td>
<td style="width: 182pt;" width="243">Andy Lewis &amp; Paul Weller</td>
<td>Are You Trying to Be Lonely? &#8211; EP</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>15</strong></td>
<td>Empire</td>
<td style="width: 182pt;" width="243">Kasabian</td>
<td>Empire</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>16</strong></td>
<td>Wasted Little DJ&#8217;s</td>
<td>The View</td>
<td>Hats Off To The Buskers</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>17</strong></td>
<td>Love Is A Losing Game</td>
<td>Amy Winehouse</td>
<td>Back To Black</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>18</strong></td>
<td>Don&#8217;t Know Why</td>
<td>Norah Jones</td>
<td>Come Away With Me</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>19</strong></td>
<td>I Bet You Look Good On The Dancefloor</td>
<td>Arctic Monkeys</td>
<td>Whatever People Say I Am, That&#8217;s What I&#8217;m Not</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>20</strong></td>
<td>Radio Nowhere</td>
<td>Bruce Springsteen</td>
<td>Magic</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>21</strong></td>
<td>Cutt Off</td>
<td>Kasabian</td>
<td>Kasabian</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>22</strong></td>
<td>Valerie</td>
<td>Amy Winehouse &amp; Mark Ronson</td>
<td>Version</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>23</strong></td>
<td>Black And White Town</td>
<td>Doves</td>
<td>The Last Broadcast</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>24</strong></td>
<td>The Blower&#8217;s Daughter</td>
<td>Damien Rice</td>
<td>O</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>25</strong></td>
<td>Walk On</td>
<td>U2</td>
<td>All That You Can&#8217;t Leave Behind</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>26</strong></td>
<td>The Bucket</td>
<td>Kings of Leon</td>
<td>Aha Shake Heartbreak</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>27</strong></td>
<td>Golden Skans</td>
<td>Klaxons</td>
<td>Myths Of The Near Future</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>28</strong></td>
<td>Never Forget You</td>
<td>Noisettes</td>
<td>Wild Young Hearts (Bonus Track Version)</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>29</strong></td>
<td>Hurt</td>
<td>Johnny Cash</td>
<td>Ring Of Fire: The Legend of Johnny Cash</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>30</strong></td>
<td>Back To Black</td>
<td>Amy Winehouse</td>
<td>Back To Black</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>31</strong></td>
<td>Last Nite</td>
<td>The Strokes</td>
<td>Is This It</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>32</strong></td>
<td>Blink and You&#8217;ll Miss It</td>
<td>Paul Weller</td>
<td>As Is Now</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>33</strong></td>
<td>Babylon</td>
<td>David Gray</td>
<td>White Ladder</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>34</strong></td>
<td>Annie, Let&#8217;s Not Wait</td>
<td>Guillemots</td>
<td>Through The Window Pane</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>35</strong></td>
<td>House Of Wax</td>
<td>Paul McCartney</td>
<td>Memory Almost Full</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>36</strong></td>
<td>Fix You</td>
<td>Coldplay</td>
<td>X&amp;Y</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>37</strong></td>
<td>Modern Girl</td>
<td>Camera Obscura</td>
<td>Q Covered &#8211; The Eighties</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>38</strong></td>
<td>Girls In Their Summer Clothes</td>
<td>Bruce Springsteen</td>
<td>Magic</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>39</strong></td>
<td>When The Sun Goes Down</td>
<td>Arctic Monkeys</td>
<td>Whatever People Say I Am, That&#8217;s What I&#8217;m Not</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>40</strong></td>
<td>Amie</td>
<td>Damien Rice</td>
<td>O</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>41</strong></td>
<td>Spit At Stars</td>
<td>Jack Peñate</td>
<td>Matinée</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>42</strong></td>
<td>Molly&#8217;s Chambers</td>
<td>Kings of Leon</td>
<td>Youth &amp; Young Manhood</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>43</strong></td>
<td>Where&#8217;er Ye Go</td>
<td>Paul Weller</td>
<td>22 Dreams</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>44</strong></td>
<td>Kids</td>
<td>MGMT</td>
<td>Oracular Spectacular</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>45</strong></td>
<td>Apply Some Pressure</td>
<td>Maxïmo Park</td>
<td>A Certain Trigger</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>46</strong></td>
<td>Mr. Brightside</td>
<td>The Killers</td>
<td>Hot Fuss</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>47</strong></td>
<td>Bedshaped</td>
<td>Keane</td>
<td>Hopes and Fears</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>48</strong></td>
<td>Stop Crying Your Heart Out</td>
<td>Oasis</td>
<td>Heathen Chemistry</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>49</strong></td>
<td>Fall, Fall, Fall</td>
<td>Razorlight</td>
<td>Up All Night</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>50</strong></td>
<td>By The Way</td>
<td>Red Hot Chili Peppers</td>
<td>By The Way</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>51</strong></td>
<td>Me and My Monkey</td>
<td>Robbie Williams</td>
<td>Escapology</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>52</strong></td>
<td>Wires</td>
<td>Athlete</td>
<td>Tourist</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>53</strong></td>
<td>Dog Days Are Over</td>
<td>Florence &amp; The Machine</td>
<td>Lungs</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>54</strong></td>
<td>Shoot The Runner</td>
<td>Kasabian</td>
<td>Empire</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>55</strong></td>
<td>Let&#8217;s All Make Believe</td>
<td>Oasis</td>
<td>Go Let it Out [Single]</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>56</strong></td>
<td>Beautiful Day</td>
<td>U2</td>
<td>All That You Can&#8217;t Leave Behind</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>57</strong></td>
<td>Plug In Baby</td>
<td>Muse</td>
<td>Origin of Symmetry</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>58</strong></td>
<td>Lullaby Für Kinder</td>
<td>Paul Weller</td>
<td>22 Dreams</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>59</strong></td>
<td>Don&#8217;t Go Back To Dalston</td>
<td>Razorlight</td>
<td>Up All Night</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>60</strong></td>
<td>Come Talk To Me</td>
<td>Peter Gabriel</td>
<td>Us</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>61</strong></td>
<td>Love And Peace Or Else</td>
<td>U2</td>
<td>How To Dismantle An Atomic Bomb</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>62</strong></td>
<td>Kingdom Come</td>
<td>Coldplay</td>
<td>X&amp;Y</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>63</strong></td>
<td>Are You Gonna Be My Girl</td>
<td>Jet</td>
<td>Get Born</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>64</strong></td>
<td>Sex On Fire</td>
<td>Kings of Leon</td>
<td>Sex On Fire &#8211; Single</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>65</strong></td>
<td>Jenny Wren</td>
<td>Paul McCartney</td>
<td>Chaos And Creation In The Backyard</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>66</strong></td>
<td>Come On / Let&#8217;s Go</td>
<td>Paul Weller</td>
<td>As Is Now</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>67</strong></td>
<td>Viva La Vida</td>
<td>Coldplay</td>
<td>Viva La Vida Or Death And All His Friends</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>68</strong></td>
<td>Birds</td>
<td>Paul Weller</td>
<td>Studio 150</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>69</strong></td>
<td>Strasbourg</td>
<td>The Rakes</td>
<td>Capture/Release</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>70</strong></td>
<td>Warwick Avenue</td>
<td>Duffy</td>
<td>Rockferry</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>71</strong></td>
<td>Umbrella</td>
<td>Manic Street Preachers</td>
<td>NME Awards 2008</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>72</strong></td>
<td>Are You Ready For Love</td>
<td>Elton John</td>
<td>Are You Ready For Love (Single)</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>73</strong></td>
<td>Heartbeats</td>
<td>José González</td>
<td>Veneer</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>74</strong></td>
<td>Little By Little</td>
<td>Oasis</td>
<td>Heathen Chemistry</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>75</strong></td>
<td>Mary</td>
<td>Scissor Sisters</td>
<td>Scissor Sisters</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>76</strong></td>
<td>Fine Line</td>
<td>Paul McCartney</td>
<td>Chaos And Creation In The Backyard</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>77</strong></td>
<td>Stuck In A Moment You Can&#8217;t Get Out Of</td>
<td>U2</td>
<td>All That You Can&#8217;t Leave Behind</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>78</strong></td>
<td>Remember Me</td>
<td>The Zutons</td>
<td>Who Killed the Zutons</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>79</strong></td>
<td>Swallowed In The Sea</td>
<td>Coldplay</td>
<td>X&amp;Y</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>80</strong></td>
<td>Bones</td>
<td>The Killers</td>
<td>Sam&#8217;s Town</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>81</strong></td>
<td>Going Places</td>
<td>Paul Weller</td>
<td>Illumination</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>82</strong></td>
<td>The Zephyr Song</td>
<td>Red Hot Chili Peppers</td>
<td>By The Way</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>83</strong></td>
<td>Go Crazy If I Don&#8217;t Go Crazy Tonight</td>
<td>U2</td>
<td>No Line On The Horizon</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>84</strong></td>
<td>Last Day Of The Miner&#8217;s Strike</td>
<td>Pulp</td>
<td>Hits</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>85</strong></td>
<td>To The Sea</td>
<td>Razorlight</td>
<td>Up All Night</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>86</strong></td>
<td>Valerie</td>
<td>The Zutons</td>
<td>Tired of Hanging Around</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>87</strong></td>
<td>Take Your Mama</td>
<td>Scissor Sisters</td>
<td>Scissor Sisters</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>88</strong></td>
<td>Set The Fire To The Third Bar</td>
<td>Snow Patrol Feat. Martha Wainwright</td>
<td>Eyes Open</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>89</strong></td>
<td>Kirby&#8217;s House</td>
<td>Razorlight</td>
<td>Help: A Day In The Life</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>90</strong></td>
<td>Grace</td>
<td>Supergrass</td>
<td>Supergrass Is 10: The Best Of 94-04</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>91</strong></td>
<td>Breathe</td>
<td>U2</td>
<td>No Line On The Horizon</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>92</strong></td>
<td>Modern Way</td>
<td>Kaiser Chiefs</td>
<td>Employment</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>93</strong></td>
<td>These Streets</td>
<td>Paolo Nutini</td>
<td>Live and Acoustic &#8211; EP</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>94</strong></td>
<td>Another Chance</td>
<td>Roger Sanchez</td>
<td>First Contact</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>95</strong></td>
<td>Rock &amp; Roll Queen</td>
<td>The Subways</td>
<td>Young For Eternity</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>96</strong></td>
<td>Walk Away</td>
<td>Franz Ferdinand</td>
<td>You Can Have It So Much Better With Franz Ferdinand</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>97</strong></td>
<td>Is It Any Wonder?</td>
<td>Keane</td>
<td>Under The Iron Sea</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>98</strong></td>
<td>A Man In A Purple Dress</td>
<td>The Who</td>
<td>Endless Wire</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>99</strong></td>
<td>All I Wanna Do (Is Be With You)</td>
<td>Paul Weller</td>
<td>22 Dreams</td>
</tr>
<tr style="height: 15pt;" height="20">
<td style="height: 15pt;" height="20" align="right"><strong>100</strong></td>
<td>Once And Never Again</td>
<td>The Long Blondes</td>
<td>NME Awards Winners 2006 &#8211; The Winners</td>
</tr>
</tbody>
</table>


<p>Related posts:<ol><li><a href='http://beaver6813.com/2009/10/under-construction/' rel='bookmark' title='Permanent Link: Under Construction!'>Under Construction!</a></li>
<li><a href='http://beaver6813.com/2009/10/new-project-vbulletin-bridge/' rel='bookmark' title='Permanent Link: New Project: vBulletin-Bridge'>New Project: vBulletin-Bridge</a></li>
<li><a href='http://beaver6813.com/2009/11/multipart-e-mail-code-for-php-text-and-html/' rel='bookmark' title='Permanent Link: MultiPart E-Mail Code for PHP (Text and HTML)'>MultiPart E-Mail Code for PHP (Text and HTML)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/12/the-alternative-top-100-songs-of-the-decade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
