<?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>acloudtree &#187; broadband</title>
	<atom:link href="http://www.acloudtree.com/tag/broadband/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.acloudtree.com</link>
	<description>Programming, Computers, Writing, Economics, and Life</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:03:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>bbbUM (BendBroadBand Usage Monitor)</title>
		<link>http://www.acloudtree.com/bbbum-bendbroadband-usage-monitor/</link>
		<comments>http://www.acloudtree.com/bbbum-bendbroadband-usage-monitor/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 01:36:54 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[OOP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[REGEX]]></category>
		<category><![CDATA[bend]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[capping]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[oregon]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=32</guid>
		<description><![CDATA[As of July 1st 2008, BendBroadBand (my ISP) now limits their customers monthly usage to 100GB. Should you go over this amount, they will charge you $1.50 per GB. In order to monitor this, BendBroadBand allows you to login to their website to track your usage. I was getting sick of logging in everyday, so [...]]]></description>
			<content:encoded><![CDATA[<p>As of July 1st 2008, BendBroadBand (my ISP) now limits their customers monthly usage to 100GB. Should you go over this amount, they will charge you $1.50 per GB. In order to monitor this, BendBroadBand allows you to login to their website to track your usage. I was getting sick of logging in everyday, so I decided to tackle the problem with some OOP (object oriented programming) using PHP5, PEAR::<em>Mail, </em>and some regular expressions. I ended up creating <strong>bbbUM</strong>, as in &#8220;Dude, I have to monitor my internet usage and I&#8217;m totally bbbUM&#8217;ed&#8221;. This sweet little program runs once a day as a cron job and sends a text message to my cell phone that contains my current usage.</p>
<p>The file that needs to be executed (should it not be obvious) is the <strong>bbbMail.php</strong>. For the sake of clarity, I have written the 3 variables that you will need to change in <strong>bold</strong>.</p>
<p><a href="http://acloudtree.com/wp-content/uploads/2008/07/bbbum.tar" title="bbbUM Version 1.0">bbbUM Version 1.0</a><br />
<code><br />
&lt;php<br />
&nbsp;<br />
//you need PEAR::Mail installed for this to work<br />
require_once('Mail.php');<br />
&nbsp;<br />
//path to the bbbClass.inc.php file<br />
require_once('bbbClass.inc.php');<br />
&nbsp;<br />
//create new bbb object<br />
$obj = new bbbUM;<br />
&nbsp;<br />
//email where you wish the message sent<br />
$obj-&gt;setEmail('<strong>5415551212@vtext.com</strong>');<br />
&nbsp;<br />
//bbb username/email<br />
$obj-&gt;setUserName('<strong>jdoe@bendbroadband.com</strong>');<br />
&nbsp;<br />
//password<br />
$obj-&gt;setPassword('<strong>123456</strong>');<br />
&nbsp;<br />
//method that sends mail<br />
$obj-&gt;bbbSend();<br />
&nbsp;<br />
?&gt;<br />
&nbsp;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/bbbum-bendbroadband-usage-monitor/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

