<?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>Tue, 09 Mar 2010 14:56:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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 [...]


No related posts.]]></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>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2010/03/jokepants/feed/</wfw:commentRss>
		<slash:comments>0</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 &#8216;09 and completed with [...]


No related posts.]]></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 &#8216;09 and completed with version 1.0.2 in February &#8216;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 approached by Dan Todalen and his associate Dave Eary 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! Dan (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>No related posts.</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 [...]


No related posts.]]></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>No related posts.</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>
		<item>
		<title>Case of the missing/hidden IE8 Developer Tools window</title>
		<link>http://beaver6813.com/2009/11/case-of-the-missinghidden-ie8-developer-tools-window/</link>
		<comments>http://beaver6813.com/2009/11/case-of-the-missinghidden-ie8-developer-tools-window/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 14:14:02 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[developer tools]]></category>
		<category><![CDATA[hidden]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[window]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=120</guid>
		<description><![CDATA[Whilst working on a current project I was trying to get cross-browser compatability working nicely. However when I came to load up IE&#8217;s Developer Tools I found it was loading up the window but nothing was there! I&#8217;m running Windows 7 and this seems to be the only version of windows the problem is affecting:

The [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Whilst working on a current project I was trying to get cross-browser compatability working nicely. However when I came to load up IE&#8217;s Developer Tools I found it was loading up the window but nothing was there! I&#8217;m running Windows 7 and this seems to be the only<span id="more-120"></span> version of windows the problem is affecting:<br />
<a href="http://beaver6813.com/wp-content/uploads/2009/11/missingdev.png"><img class="size-full wp-image-121 aligncenter" title="Missing/Hidden Developer Tools" src="http://beaver6813.com/wp-content/uploads/2009/11/missingdev.png" alt="Missing/Hidden Developer Tools" width="468" height="263" /></a></p>
<p style="text-align: left;">The solution I found is actually very simple, right click on that hidden window thumbnail and click maximise. If that fails then you could always try a solution outlined on <a href="http://stackoverflow.com/questions/960683/why-isnt-my-ie8-developer-tools-working">StackOverflow</a>. The best solutions are often the most simple!!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/11/case-of-the-missinghidden-ie8-developer-tools-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email to SMS / Email to Mobile, Free Database</title>
		<link>http://beaver6813.com/2009/11/email-to-sms-email-to-mobile-free-database/</link>
		<comments>http://beaver6813.com/2009/11/email-to-sms-email-to-mobile-free-database/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 00:37:03 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[carriers]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email to sms]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=111</guid>
		<description><![CDATA[Heres another one of my general snippets in part of coding a new project. This database has been created solely using data from Wikipedia. I&#8217;ve edited the list, removed those which are either commercial, don&#8217;t provide actual email addresses or those that I can visibly see don&#8217;t work. The list on Wikipedia may be slightly [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Heres another one of my general snippets in part of coding a new project. This database has been created solely using data from <a href="http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit">Wikipedia</a>. I&#8217;ve edited the list, removed those which are either commercial, don&#8217;t provide actual email addresses or those that I can visibly see don&#8217;t work. The list on Wikipedia may be slightly out of date so let me know if any carriers have changed/updated their system.</p>
<p>The database is in CSV format. <em>To download</em>, &#8220;right click -&gt; save link as&#8230; &#8221; as the link below and remove the &#8220;_.txt&#8221;. You can then import into MySQL or whatever.</p>
<p style="text-align: center;"><strong><a href="http://beaver6813.com/wp-content/uploads/2009/11/carriersemailtosms.csv_.txt">Email to SMS Database</a></strong></p>
<p style="text-align: left;">

<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('p111code2'); return false;">View Code</a> CSV</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1112"><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
</pre></td><td class="code" id="p111code2"><pre class="csv" style="font-family:monospace;">Carrier,Region,Email,Message Format
Aircel,&quot;[18 circles], India&quot;,number@aircel.co.in,text
Airtel,&quot;Andhra Pradesh, India&quot;,number@airtelap.com,text
Airtel,&quot;Karnataka, India&quot;,number@airtelkkk.com,text
Alaska Communications Systems,USA,number@msg.acsalaska.net,text
Alltel Wireless (presently merging with Verizon Wireless),USA,number@message.Alltel.com,text
Alltel Wireless Alternative,USA,number@text.wireless.alltel.com,text
AT&amp;T Wireless,USA,number@txt.att.net,emailaddress text
Older AT&amp;T Wireless,USA,number@mmode.com,emailaddress text
AT&amp;T Mobility (formerly Cingular),USA,number@txt.att.net ,text
Cingular (Now AT&amp;T),USA,number@cingularme.com,text
AT&amp;T Enterprise Paging,USA,number@page.att.net,text
Bell Mobility &amp; Solo Mobile,Canada,number@txt.bell.ca,text
Bell Mobility Alternative,Canada,number@txt.bellmobility.ca,text
Boost Mobile,USA,number@boostmobile.com,text
Bouygues Télécom,France,number@mms.bouyguestelecom.fr,text
Loop (BPL Mobile),&quot;Mumbai, India&quot;,number@bplmobile.com,text
Cellular One (Dobson),USA,number@mobile.celloneusa.com,text
Cingular (Postpaid),USA,number@cingular.com,text
Centennial Wireless,&quot;USA, Puerto Rico, and the U.S. Virgin Islands&quot;,number@cwemail.com,text
Cincinnati Bell,USA,number@gocbw.com,text
Cingular (GoPhone prepaid),USA,number@cingulartext.com,text
Claro (Brasil),Brasil,number@clarotorpedo.com.br,text
Claro (Nicaragua),Nicaragua,number@ideasclaro-ca.com,text
Comcel,Colombia,number@comcel.com.co,text
Cricket,,number@sms.mycricket.com,text
CTI Móvil (Now Claro),Argentina,number@sms.ctimovil.com.ar,text
Emtel,Mauritius,number@emtelworld.net,text
Fido,Canada,number@fido.ca,text
General Communications Inc.,Alaska,number@mobile.gci.net,text
Globalstar (satellite),,number@msg.globalstarusa.com,text
Helio,,number@myhelio.com,text
Iridium,,number@msg.iridium.com[6],text
i wireless (T-Mobile),,number.iws@iwspcs.net,text
i-wireless (Sprint PCS),,number@iwirelesshometext.com,text
Koodo Mobile,Canada,number@msg.telus.com,text
Mero Mobile,Nepal,+977number@sms.spicenepal.com,text
MetroPCS,,number@mymetropcs.com,text
Movicom,,number@movimensaje.com.ar,text
Mobitel,Sri Lanka,number@sms.mobitel.lk,text
Movistar,Colombia,number@movistar.com.co,text
MTN,South Africa,number@sms.co.za,text
MTS Mobility,Canada,number@text.mtsmobility.com,text
Nextel ,United States,number@messaging.nextel.com,text
Nextel,México,number@msgnextel.com.mx,text
Nextel,Argentina,number@nextel.net.ar,text
Orange Polska,Poland,number@orange.pl,text
Plus,Poland,+48number@text.plusgsm.pl,text
PC Telecom,Canada,number@mobiletxt.ca,text
Qwest Wireless,USA,number@qwestmp.com,text
Rogers Wireless,Canada,number@pcs.rogers.com,text
SaskTel,Canada,number@sms.sasktel.com,text
Setar Mobile,Aruba,+297number@mas.aw,text
Sprint (PCS),USA,number@messaging.sprintpcs.com,text
Sprint (Nextel),USA,number@page.nextel.com,text
Suncom,,number@tms.suncom.com,text
Sunrise Communications,Switzerland,number@gsm.sunrise.ch,text
Syringa Wireless,USA,number@rinasms.com,text
T-Mobile,USA,+1number@tmomail.net,text
T-Mobile,Austria,number@sms.t-mobile.at,text
T-Mobile,Croatia,+385number@sms.t-mobile.hr,emailaddress##subject#text
Telus Mobility,Canada,number@msg.telus.com,text
Tigo (Formerly Ola),Colombia,number@sms.tigo.com.co,text
Tracfone (prepaid),,number@mmst5.tracfone.com,text
Unicel,USA,number@utext.com,text
US Cellular,USA,number@email.uscc.net,text
Verizon,USA,number@vtext.com,text
Viaero,USA,number@viaerosms.com,text
Virgin Mobile,Canada,number@vmobile.ca,text
Virgin Mobile,USA,number@vmobl.com,text</pre></td></tr></table></div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/11/email-to-sms-email-to-mobile-free-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MultiPart E-Mail Code for PHP (Text and HTML)</title>
		<link>http://beaver6813.com/2009/11/multipart-e-mail-code-for-php-text-and-html/</link>
		<comments>http://beaver6813.com/2009/11/multipart-e-mail-code-for-php-text-and-html/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 15:53:26 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[compatability]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[mime]]></category>
		<category><![CDATA[multipart]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[updated]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=88</guid>
		<description><![CDATA[Whilst trawling through some of my ultra-old posts on various forums I&#8217;ve found this nifty little piece of code that enables you to send in both HTML and TEXT form. This is useful for clients that cant display HTML (they will display the text instead). I developed it back in 2007 so it may need [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Whilst trawling through some of my ultra-old posts on various forums I&#8217;ve found this nifty little piece of code that enables you to send in both HTML and TEXT form. This is useful for clients that cant display HTML (they will display the text instead). I developed it back in 2007 so it may need updating but its a useful bit of code!<br />
<em>UPDATE: Peter Mills recently emailed me with a problem with this script and compatability with gmail, I have managed to fix this. It seems that gmails parser has gotten even more strict, there were stray line breaks where there shouldnt have been and the initial boundary declaration in the headers was not wrapped properly in double quotes! Cheers for finding this bug Peter and hopefully its all working again now!</em><br/></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('p88code4'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p884"><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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
</pre></td><td class="code" id="p88code4"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Sam Cleaver aka Beaver6813 (http://www.beaver6813.com)
Mutlipart Email Script, Sends In Both Plain And HTML For Compatibility
Which Works With MIME 1.0+ Supporting Software.
Email: samcleaver.beaver[-at]gmail[-dot]com
Copyright (C) 2007  Beaver6813
Updated November 2009. Thanks to Peter Mills for his help in recognising
the recent problem the script had with GMail!
--------------------------------------------------------------
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
--------------------------------------------------------------
*/</span>
<span style="color: #666666; font-style: italic;">/*
 CHANGES:
 -- Is Now Compatible With GMail
 -- Encrypts Messages In Base64 For Easier Transportation
 -- 03/11/09 - Changed to work with changes in GMail, removed now unnecessary base64 encoding
 NOTES:
 -- From experience with different mail services i've discovered some key pointers
 when sending html or any type of email:
  * DO NOT link to external CSS stylesheets, most of the time these are either filtered out
  or do not load properly
  * As discovered in GMail it strips out any stylesheets completely, even inline ones so you're
  going to have to use the style='' tags on any div's etc you want to make look pretty
  * Bear in mind linking to any external resources will bring up a warning on the clients
  end and they can choose to or not to load external resources.
  * Keep HTML resources as simple as possible, most of the time they aren't loaded as well as
  they would in firefox and so can be really mucked up if you do some complicated magic with
  them.
 COMING SOON:
 -- Will be turned into a class making it easier to send emails :)
*/</span>
<span style="color: #666666; font-style: italic;"># Is the OS Windows or Mac or Linux
</span><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/strtoupper"><span style="color: #990000;">strtoupper</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">PHP_OS</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #0000ff;">'WIN'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$eol</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</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/strtoupper"><span style="color: #990000;">strtoupper</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">PHP_OS</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">==</span><span style="color: #0000ff;">'MAC'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$eol</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span>&quot;</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: #000088;">$eol</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: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$_emailer_subject</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;My First Email Yay!&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//The subject of the email... duh</span>
<span style="color: #000088;">$_emailer_to</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;sam@beaver6813.com&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//You can make this even easier for the</span>
 <span style="color: #666666; font-style: italic;">//email client by specifying the actual name of the person as well, but for</span>
 <span style="color: #666666; font-style: italic;">//simplicities sake we'll just give the email</span>
<span style="color: #000088;">$_emailer_from</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;test@localhost&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Again, you can do to this what</span>
<span style="color: #666666; font-style: italic;">//i said above</span>
<span style="color: #000088;">$_emailer_reply_to</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;test@localhost&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$_emailer_cc</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Optional</span>
<span style="color: #000088;">$_emailer_bcc</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//Optional</span>
<span style="color: #666666; font-style: italic;">//Okay what do you want to appear if it displays the plain text version?</span>
<span style="color: #000088;">$email_html</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&lt;h1&gt;HTML E-mail&lt;/h1&gt;
&lt;p&gt;This is an &lt;b&gt;HTML&lt;/b&gt; e-mail.&lt;/p&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//Okay what do you want to appear if it displays the HTML version?</span>
<span style="color: #000088;">$email_plain</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;HTML E-mail<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>This is the text portion of an HTML e-mail<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* YOU NEED CONFIGURE NOTHING MORE!!!! (Apart from the respond at the very bottom of this script!) */</span>
<span style="color: #000088;">$_emailer_subject</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_emailer_subject</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">''</span> ? <span style="color: #0000ff;">'No Subject'</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$_emailer_subject</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Must have a subject</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</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;">$_emailer_cc</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #000088;">$_emailer_cc_do</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Cc: &quot;</span><span style="color: #339933;">.</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_emailer_cc</span> <span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Remove the trailing &quot;, &quot;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</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;">$_emailer_bcc</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #000088;">$_emailer_bcc_do</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Bcc: &quot;</span><span style="color: #339933;">.</span><a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$_emailer_bcc</span> <span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$_emailer_reply_to</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_emailer_reply_to</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">''</span> ? <span style="color: #000088;">$_emailer_from</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$_emailer_reply_to</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$mid</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/md5"><span style="color: #990000;">md5</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/uniqid"><span style="color: #990000;">uniqid</span></a><span style="color: #009900;">&#40;</span> <a href="http://www.php.net/time"><span style="color: #990000;">time</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Generate a unique id for the email</span>
<span style="color: #000088;">$host</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: #0000ff;">'www'</span> <span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_HOST'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Remove the www for an &quot;email address&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//add From: header</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;From: <span style="color: #006699; font-weight: bold;">$_emailer_from</span><span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//specify MIME version 1.0</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;Return-Path: <span style="color: #006699; font-weight: bold;">$_emailer_reply_to</span><span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$_emailer_cc_do</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$_emailer_bcc_do</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;MIME-Version: 1.0<span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;Message-ID: &lt;<span style="color: #006699; font-weight: bold;">$mid</span>@<span style="color: #006699; font-weight: bold;">$host</span>&gt;<span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;X-Priority: 3<span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;X-MSMail-Priority: Normal<span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;X-Mailer: PHP<span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;X-MimeOLE: Generated By Beaver6813s MultiPart Mail Script<span style="color: #006699; font-weight: bold;">$eol</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;Date: &quot;</span> <span style="color: #339933;">.</span> <a href="http://www.php.net/gmdate"><span style="color: #990000;">gmdate</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'D, d M Y H:i:s Z'</span> <span style="color: #339933;">,</span> <a href="http://www.php.net/time"><span style="color: #990000;">time</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//unique boundary this can be whatever you want... but try and make it imaginative :)</span>
<span style="color: #000088;">$boundary</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/uniqid"><span style="color: #990000;">uniqid</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;BEAVER6813&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//tell e-mail client this e-mail contains//alternate versions</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;Content-type: multipart/alternative; boundary=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$boundary</span><span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//plain text version of message</span>
<span style="color: #000088;">$body</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;--<span style="color: #006699; font-weight: bold;">$boundary</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;Content-Type: text/plain; charset=<span style="color: #000099; font-weight: bold;">\&quot;</span>iso-8859-1<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;Content-transfer-encoding: 8bit&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$body</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/chunk_split"><span style="color: #990000;">chunk_split</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$email_plain</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//HTML version of message</span>
<span style="color: #000088;">$body</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;--<span style="color: #006699; font-weight: bold;">$boundary</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;Content-Type: text/html; charset=<span style="color: #000099; font-weight: bold;">\&quot;</span>iso-8859-1<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;Content-Transfer-Encoding: quoted-printable&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$body</span> <span style="color: #339933;">.=</span> <a href="http://www.php.net/chunk_split"><span style="color: #990000;">chunk_split</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$email_html</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;"># Finished
</span><span style="color: #000088;">$body</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;--<span style="color: #006699; font-weight: bold;">$boundary</span>--&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">.</span><span style="color: #000088;">$eol</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// finish with two eol's for better security.</span>
<span style="color: #666666; font-style: italic;">//send message</span>
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mail"><span style="color: #990000;">mail</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_emailer_to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_emailer_subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$body</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</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;">$result</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;MAIL SENT SUCCESSFULLY. YOU'RE A WINNER!&quot;</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;SOME WEIRD ERROR :S. YOU LOSE&quot;</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>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/11/multipart-e-mail-code-for-php-text-and-html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[PHP] Get current time in milliseconds</title>
		<link>http://beaver6813.com/2009/10/php-get-current-time-in-milliseconds/</link>
		<comments>http://beaver6813.com/2009/10/php-get-current-time-in-milliseconds/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 17:59:31 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[milliseconds]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timer]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=100</guid>
		<description><![CDATA[I recently needed to get the current time in milliseconds, of course this can easily be retrieved using microtime() however I needed the entire number in digits, not in decimals with seconds seperately etc. Heres how:

?View Code PHP1
2
3
$timeparts = explode&#40;&#34; &#34;,microtime&#40;&#41;&#41;;
$currenttime = bcadd&#40;&#40;$timeparts&#91;0&#93;*1000&#41;,bcmul&#40;$timeparts&#91;1&#93;,1000&#41;&#41;;
echo $currenttime;

NOTE: PHP5 is required for this function due to the improvements with [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I recently needed to get the current time in milliseconds, of course this can easily be retrieved using microtime() however I needed the entire number in digits, not in decimals with seconds seperately etc. Heres how:</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('p100code6'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1006"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p100code6"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$timeparts</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><a href="http://www.php.net/microtime"><span style="color: #990000;">microtime</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$currenttime</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/bcadd"><span style="color: #990000;">bcadd</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$timeparts</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">*</span><span style="color: #cc66cc;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><a href="http://www.php.net/bcmul"><span style="color: #990000;">bcmul</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$timeparts</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$currenttime</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><em>NOTE: PHP5 is required for this function due to the improvements with microtime() and the bc math module is also required (as we&#8217;re dealing with large numbers, you can check if you have the module in phpinfo).</em></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/10/php-get-current-time-in-milliseconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash, Bad Interpreter</title>
		<link>http://beaver6813.com/2009/10/bash-bad-interpreter/</link>
		<comments>http://beaver6813.com/2009/10/bash-bad-interpreter/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 15:42:42 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[bad]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[interpreter]]></category>
		<category><![CDATA[remedy]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=84</guid>
		<description><![CDATA[I recently came across:
/bin/bash^M: bad interpreter: No such file or directory
When trying to run a bash script that someone else had edited. This most commonly happens on UNIX systems if the file has been edited on MS-DOS or Mac. The cure for this is to run a simple perl script:

?View Code BASH#!/usr/bin/perl -pi
s/\n/\r\n/;

Save as unix2dos.pl, [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I recently came across:</p>
<p>/bin/bash^M: bad interpreter: No such file or directory</p>
<p>When trying to run a bash script that someone else had edited. This most commonly happens on UNIX systems if the file has been edited on MS-DOS or Mac. The cure for this is to run a simple perl script:</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><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('p84code8'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p848"><td class="code" id="p84code8"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl -pi</span>
s<span style="color: #000000; font-weight: bold;">/</span>\n<span style="color: #000000; font-weight: bold;">/</span>\r\n<span style="color: #000000; font-weight: bold;">/</span>;</pre></td></tr></table></div>

<p>Save as unix2dos.pl, chmod +x unix2dos.pl and then run like:</p>
<p>./unix2dos.pl filetoconvert.txt</p>
<p>Simples!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/10/bash-bad-interpreter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Project: vBulletin-Bridge</title>
		<link>http://beaver6813.com/2009/10/new-project-vbulletin-bridge/</link>
		<comments>http://beaver6813.com/2009/10/new-project-vbulletin-bridge/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 14:18:39 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[bridge]]></category>
		<category><![CDATA[fetchmp3]]></category>
		<category><![CDATA[membership system]]></category>
		<category><![CDATA[vbulletin]]></category>
		<category><![CDATA[vbulletin-bridge]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=77</guid>
		<description><![CDATA[Whilst working on FetchMP3 I wanted to create a bridge between the forum membership system and that of the main site&#8217;s. So a lot of writing later the vbulletin bridge was born. It has many of the features any membership system would need such as:


Register new member (requiring activation)
Process activation from email
Process activation manually
Update user [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<div id="attachment_78" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-78" title="vbbridgelogo" src="http://beaver6813.com/wp-content/uploads/2009/10/vbbridgelogo.png" alt="vBulletin-Bridge Logo" width="250" height="200" /><p class="wp-caption-text">vBulletin-Bridge Logo</p></div>
<p>Whilst working on <a href="http://beaver6813.com/2009/10/fetchmp3-com/">FetchMP3</a> I wanted to create a bridge between the forum membership system and that of the main site&#8217;s. So a lot of writing later the vbulletin bridge was born. It has many of the features any membership system would need such as:</p>
<p><span id="more-77"></span></p>
<ul>
<li>Register new member (requiring activation)</li>
<li>Process activation from email</li>
<li>Process activation manually</li>
<li>Update user details</li>
<li>Delete a user (would not reccomend for general use)</li>
<li>Login</li>
<li>Logout</li>
<li>Lost Password</li>
<li>Change Password (can tie in with Lost Password)</li>
</ul>
<p>All of the functions above intergrate with vBulletin, think of the class as a mini-api. Its currently released as a first version, if I get any interest in it I will of course make additions and changes as needed!</p>
<p>Check it out here: <a title="Visit vBulletin-Bridge" href="http://code.google.com/p/vbulletin-bridge/" target="_blank">http://code.google.com/p/vbulletin-bridge/</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/10/new-project-vbulletin-bridge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Under Construction!</title>
		<link>http://beaver6813.com/2009/10/under-construction/</link>
		<comments>http://beaver6813.com/2009/10/under-construction/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 16:32:10 +0000</pubDate>
		<dc:creator>Beaver6813</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[in progress]]></category>
		<category><![CDATA[under construction]]></category>

		<guid isPermaLink="false">http://beaver6813.com/?p=71</guid>
		<description><![CDATA[Its been a long time coming but I&#8217;m finally re-developing my site, I&#8217;ve been pre-occupied recently with the latest project I worked on, FetchMP3, but I&#8217;m now finally getting my act together and adding content etc. Most of the portfolio has been updated now but the main content is still being written. Stay tuned!  [...]


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>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_72" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-72" title="Under Construction" src="http://beaver6813.com/wp-content/uploads/2009/10/underconstruction.png" alt="Its Almost Done!" width="250" height="200" /><p class="wp-caption-text">Its Almost Done!</p></div>
<p>Its been a long time coming but I&#8217;m finally re-developing my site, I&#8217;ve been pre-occupied recently with the latest project I worked on, <a href="http://beaver6813.com/2009/10/fetchmp3-com/">FetchMP3</a>, but I&#8217;m now finally getting my act together and adding content etc. Most of the portfolio has been updated now but the main content is still being written. Stay tuned! <img src='http://beaver6813.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<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>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://beaver6813.com/2009/10/under-construction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
