<?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>Blog.ubrious &#187; PHP</title>
	<atom:link href="http://blog.ubrio.us/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ubrio.us</link>
	<description>An Ordinary Web Developer's Blog</description>
	<lastBuildDate>Fri, 26 Mar 2010 21:00:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>get protected ical calendars in google calendar</title>
		<link>http://blog.ubrio.us/php/google-calendar-add-private-calendars-from-ical/</link>
		<comments>http://blog.ubrio.us/php/google-calendar-add-private-calendars-from-ical/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 15:26:13 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/osx/google-calendar-add-private-calendars-from-ical/</guid>
		<description><![CDATA[This is a short and sweet post. I was trying to merge and sync all my calendars (something I do every so often which leaves me frustrated, drunk and huddled in a corner crying) and decided on google calendar as a main point since I have my work Outlook synced up with it (using their [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short and sweet post. I was trying to merge and sync all my calendars (something I do every so often which leaves me frustrated, drunk and huddled in a corner crying) and decided on google calendar as a main point since I have my work Outlook synced up with it (using their outlook sync program). I setup a simple WebDAV url on my good ole&#8217; <a href='http://www.dreamhost.com/r.cgi?210778' title='low blow, i know' onclick="pageTracker._trackPageview('/outgoing/www.dreamhost.com/r.cgi?210778&amp;referer=');">dreamhost</a> and had a password protected directory to publish my schedule to from iCal.</p>
<p>iCal can publish to a password protected directory just fine &#8212; but to my surprise, google calendar could _not_ read from one&#8230; _only_ public urls. Wtf? I&#8217;m really hoping I overlooked something because this is just pathetic.</p>
<p>Anyway, the solution turned out to be dirt simple. Keep all protected calendars in a /private folder on my domain and have a public facing script to route stuff. So I went to work, and a few minutes later, here it is.</p>
<p>I tested this just now and google calendar can indeed read my password protected calendar so thats cool. It isn&#8217;t the best way I&#8217;m sure &#8212; but, hey, it only took a few minutes <small>(<strong>edit:</strong> less time than it took to write this post in fact)</small> and it gets the job done. (Plus I don&#8217;t exactly have a &#8220;personal&#8221; personal calendar, I&#8217;d just rather it not be public.)</p>
<p><strong class='note'>view the <a href='http://code.ubrio.us/projects/show/google-ical' onclick="pageTracker._trackPageview('/outgoing/code.ubrio.us/projects/show/google-ical?referer=');">protected ical calendars in google</a> project page</strong></p>
<p>Hope that can help someone. Or if there were any suggestions feel free to e-mail me <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/google-calendar-add-private-calendars-from-ical/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP5 With GD Support on OS X</title>
		<link>http://blog.ubrio.us/php/php5-with-gd-support-on-os-x/</link>
		<comments>http://blog.ubrio.us/php/php5-with-gd-support-on-os-x/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 02:39:15 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Because I'll Forget]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[gd]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/because-ill-forget/php5-with-gd-support-on-os-x/</guid>
		<description><![CDATA[Because I&#8217;ll Forget #15901:
Firstly, let me just say that compiling PHP has never been this difficult before. It shouldn&#8217;t be difficult at all actually. So heres the basic run down: I need SOAP, GD, SimpleXML and a few other miscellaneous extensions to make all my dev apps work properly &#8212; this went smoothly on the [...]]]></description>
			<content:encoded><![CDATA[<h3>Because I&#8217;ll Forget #15901:</h3>
<p>Firstly, let me just say that compiling PHP has never been this difficult before. It shouldn&#8217;t be difficult at all actually. So heres the basic run down: I need SOAP, GD, SimpleXML and a few other miscellaneous extensions to make all my dev apps work properly &#8212; this went smoothly on the ppc laptop, and I (stupidly) assumed that the Intel would be even easier. My first couple attempts were splattered with GD errors driving me to the brink of insanity as I scrambled up all the pre-requisites. Finally, I had all dependencies met and the configure script STILL would not quit barfing on me. I gave up and finally just installed PHP without GD support (naturally ruining the one project I&#8217;m working on currently). I gave up, until I felt feisty enough to give it another shot.</p>
<p>The configure script was choking on a linking error (<strong>GD build test failed. Please check the config.log for details.</strong>) and kept telling me to hunt config.log for some answers. It turns out that ./configure was attempting to link with shell variables that were empty. </p>
<p>Looks something like &#8220;<code>-L: directory name missing</code>&#8220;.</p>
<p><strong>The solution</strong></p>
<p>Hacking my way through the configure file you get to the culprit. </p>
<p><code class='prettyprint'>LIBS=" -L$GD_LIB $GD_SHARED_LIBADD  $LIBS"</code></p>
<p>Turns out that <code>echo $GD_LIB</code> is blank and being a major pain in the ass. To fix this, just edit the line to look more like: <code>LIBS=" $GD_SHARED_LIBADD  $LIBS"</code>. After that, try a <code>make clean</code>, <code>rm config.cache</code> and try to compile again.  Hopefully this will save you a couple hours of hating life.</p>
<p><strong>Resources:</strong></p>
<ul>
<li><a href="http://www.phpmac.com/articles.php?view=3" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.phpmac.com/articles.php?view=3&amp;referer=');">http://www.phpmac.com/articles.php?view=3</a> &#8212; good instructions for getting those GD dependencies.</li>
<li><a href="http://www.phpmac.com/articles.php?view=159" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.phpmac.com/articles.php?view=159&amp;referer=');">http://www.phpmac.com/articles.php?view=159</a> &#8212; more insight from the same site</li>
<li><a href="http://www.afp548.com/article.php?story=20041104230209410" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.afp548.com/article.php?story=20041104230209410&amp;referer=');">http://www.afp548.com/article.php?story=20041104230209410</a> &#8212; more about GD dependencies, and a little more insight into problems</li>
<li><a href="http://www.thescripts.com/forum/thread670263.html" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.thescripts.com/forum/thread670263.html?referer=');">http://www.thescripts.com/forum/thread670263.html</a> &#8212; explains the final solution in more depth</li>
</ul>
<p><strong>My Configure Script</strong><br />
<small>It might be beefed up in the future, but I&#8217;m just relieved to have it compiled &#038; working right now &#8212; I&#8217;m exhausted</small></p>
<pre class='prettyprint'>
./configure --prefix=/usr/local/php5 \
 --mandir=/usr/share/man \
 --infodir=/usr/share/info \
 --sysconfdir=/etc \
 --enable-cli \
 --enable-soap \
 --with-ldap=/usr \
 --with-xml \
 --with-libxml-dir=/usr/local \
 --with-zlib \
 --with-zlib-dir=/usr \
 --with-openssl \
 --enable-exif \
 --enable-ftp \
 --enable-mbstring \
 --enable-mbregex \
 --enable-dbx \
 --enable-sockets \
 --with-curl=/usr \
 --with-mysql=/usr/local/mysql \
 --with-mysqli=/usr/local/mysql/bin/mysql_config \
 --with-apxs \
 --with-gd \
 --with-jpeg-dir=/usr \
 --with-png-dir=/usr \
 --with-freetype-dir=/usr \
 --with-xpm-dir=/usr
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/php5-with-gd-support-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Descriptive Comments For The Angry Developer</title>
		<link>http://blog.ubrio.us/php/descriptive-comments-for-the-angry-developer/</link>
		<comments>http://blog.ubrio.us/php/descriptive-comments-for-the-angry-developer/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 16:17:50 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/code/descriptive-comments-for-the-angry-developer/</guid>
		<description><![CDATA[We all know that a picture is worth 1,000 words. We also know that programmers are lazy and typing comments is boring.  After reading the following post about &#8220;comments from a madman&#8221; on Worse Than Failure I started to realize the pure genius of it all.
Here are 3 &#8220;descriptive comments&#8221; for use whenever you [...]]]></description>
			<content:encoded><![CDATA[<p>We all know that a picture is worth 1,000 words. We also know that programmers are lazy and typing comments is boring.  After reading the following post about <a href="http://worsethanfailure.com/Articles/Comments-from-a-Madman.aspx" target="_blank" onclick="pageTracker._trackPageview('/outgoing/worsethanfailure.com/Articles/Comments-from-a-Madman.aspx?referer=');">&#8220;comments from a madman&#8221;</a> on <a href="http://worsethanfailure.com" target="_blank" onclick="pageTracker._trackPageview('/outgoing/worsethanfailure.com?referer=');">Worse Than Failure</a> I started to realize the pure genius of it all.</p>
<p>Here are 3 &#8220;descriptive comments&#8221; for use whenever you are frustrated and editing another person&#8217;s code. They can also be used to give co-workers a good laugh.</p>
<p>They are setup for use as a TextMate snippet &#8212; so ignore the $1/$0</p>
<p><strong>The formatting is a bit off on the webpage &#8212; use the SVN link below to grab the text file</strong><br />
<a href="http://public.svnme.com/ascii_comments/ascii_comments.txt" rel='iframe' title='Fun comments:: :: fullscreen: true' class='lightview' onclick="pageTracker._trackPageview('/outgoing/public.svnme.com/ascii_comments/ascii_comments.txt?referer=');">Public SVN: ascii_comments.txt</a><br />
<code>svn export http://svn.ubrio.us/public/ascii_comments .</code></p>
<p><strong>Skull &#038; Cross Bones</strong><br />
<em>Source:</em> WorseThanFailure commenter &#8220;<a href="http://worsethanfailure.com/Comments/Comments-from-a-Madman.aspx#142211" onclick="pageTracker._trackPageview('/outgoing/worsethanfailure.com/Comments/Comments-from-a-Madman.aspx_142211?referer=');">marlow4</a>&#8221;</p>
<pre class='prettyprint'>
/*************************************************************
 *       		  				     *
 *  .=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.       *
 *   |                     ______                     |      *
 *   |                  .-"      "-.                  |      *
 *   |                 /            \                 |      *
 *   |     _          |              |          _     |      *
 *   |    ( \         |,  .-.  .-.  ,|         / )    |      *
 *   |     > "=._     | )(__/  \__)( |     _.=" <     |      *
 *   |    (_/"=._"=._ |/     /\     \| _.="_.="\_)    |      *
 *   |           "=._"(_     ^^     _)"_.="           |      *
 *   |               "=\__|IIIIII|__/="               |      *
 *   |              _.="| \IIIIII/ |"=._              |      *
 *   |    _     _.="_.="\          /"=._"=._     _    |      *
 *   |   ( \_.="_.="     '--------'     "=._"=._/ )   |      *
 *   |    > _.="                            "=._ <    |      *
 *   |   (_/                                    \_)   |      *
 *   |                                                |      *
 *   '-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='      *
 *   	                                                     *
 *   WARNING:                                                *
 *	$1
 *   	                                                     *
 *************************************************************/
$0
</pre>
<p><strong>Smashing face into brick wall (we've all been there)</strong><br />
<em>Source:</em> <a href="http://www.ascii-art.de/ascii/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.ascii-art.de/ascii/?referer=');">http://www.ascii-art.de/ascii/</a> (can't remember under which name)</p>
<pre class='prettyprint'>
/*************************************
 *      ####  *                      *
 * BANG ##*# /                       *
 *      ###\ ___ ,- -                *
 * BANG ####/   \ ,- -     WHY?!@    *
 *      ####|-   | ,-                *
 * BANG ###/ \_  L_                  *
 *      ##*#  /'   \                 *
 *      ####_ ||    |                *
 *      ####_\|\ / /\                *
 *      ###(_`-./ /  \               *
 *      #### `-._/\   |              *
 *      ####      |   |              *
 *      ####      /   /              *
 *      ####     /   / \             *
 *      ####     |  |\  \            *
 *      ####     \  \ \  \           *
 *      ####     _\  \_\  \          *
 *      ####    (_____)____)         *
 *      ###########################  *
 *
 *	$1
 *
 ************************************/
$0
</pre>
<p><strong>W.T.F? Nothing else to be said.</strong><br />
<em>Source:</em> <a href="http://www.ascii-art.de/ascii/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.ascii-art.de/ascii/?referer=');">http://www.ascii-art.de/ascii/</a> (can't remember under which name)</p>
<pre class='prettyprint'>
/*******************************************
 *                        ,-------------.  *
 *                       ( 	WTF?!    ) *
 *               _     O  '-------------'  *
 *             ,'-'. o                     *
 *             :_ _:                       *
 *  ..._       \ _ /       _.,,            *
 *   '-.>.   _,-'-'-._   ,<,-'             *
 *     :  \ /         './  ;               *
 *      \  '              /                *
 *       \  ,|       |.  /                 *
 *        '' |       | ''		   *
 *           :_______:                     *
 *           |       |                     *
 *           |       |		           *
 *           |   .   |                     *
 *           |   |   |                     *
 *           |   |   |                     *
 *           |   |   |                     *
 *           |   |   |                     *
 *           |___:___|                     *
 *           /___/___\                     *
 *******************************************
 *
 *	$1
 *
 ******************************************/
$0
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/descriptive-comments-for-the-angry-developer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Boredom Strikes Again &#8211; Old PHP Fun Scrambling Functions</title>
		<link>http://blog.ubrio.us/php/boredom-strikes-again-old-php-fun-scrambling-functions/</link>
		<comments>http://blog.ubrio.us/php/boredom-strikes-again-old-php-fun-scrambling-functions/#comments</comments>
		<pubDate>Thu, 17 May 2007 23:34:57 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Nix]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/php/boredom-strikes-again-old-php-fun-scrambling-functions/</guid>
		<description><![CDATA[Found this while looking for something that isn&#8217;t this. It will take a normal string and convert it into numbers. There really is no point to it, I think it was written years ago as a learning exercise or because I was really bored. Anyways, I converted it really fast to a shell script instead [...]]]></description>
			<content:encoded><![CDATA[<p>Found this while looking for something that isn&#8217;t this. It will take a normal string and convert it into numbers. There really is no point to it, I think it was written years ago as a learning exercise or because I was really bored. Anyways, I converted it really fast to a shell script instead of its normal web script.</p>
<p><strong>Source</strong><br />
<a href="http://file.ubrio.us/code/numerize.phps" target="_blank" onclick="pageTracker._trackPageview('/outgoing/file.ubrio.us/code/numerize.phps?referer=');">http://file.ubrio.us/code/numerize.phps</a></p>
<p><strong>Usage:</strong></p>
<pre class='prettyprint'>
./numerize.php [option] [input]

        Options:
                -d      Denumerize
                -n      Numerize

        Input:  Input is either the numerized output
                or the string to numerize
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/boredom-strikes-again-old-php-fun-scrambling-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Easy To Use PHP Calendar Script</title>
		<link>http://blog.ubrio.us/php/simple-easy-to-use-php-calendar-script/</link>
		<comments>http://blog.ubrio.us/php/simple-easy-to-use-php-calendar-script/#comments</comments>
		<pubDate>Wed, 16 May 2007 21:46:51 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[calendar]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/php/simple-easy-to-use-php-calendar-script/</guid>
		<description><![CDATA[I keep finding fun scripts the more I look around. This one is from about a year ago, I used it in a small project so it isn&#8217;t the greatest. Regardless, it is very lightweight and is pretty flexible. It doesn&#8217;t include all that CRUD admin mumbo-jumbo because I&#8217;m being lazy, but it can be [...]]]></description>
			<content:encoded><![CDATA[<p>I keep finding fun scripts the more I look around. This one is from about a year ago, I used it in a small project so it isn&#8217;t the greatest. Regardless, it is very lightweight and is pretty flexible. It doesn&#8217;t include all that CRUD admin mumbo-jumbo because I&#8217;m being lazy, but it can be extended without too much trouble. (Notice I searched google for &#8216;php date ranges&#8217; &#8212; thats explained somewhere in the documentation.)</p>
<p><strong>Attachment</strong><br />
<a href="http://file.ubrio.us/code/calendar/class.calendar.zip" onclick="pageTracker._trackPageview('/outgoing/file.ubrio.us/code/calendar/class.calendar.zip?referer=');">file.ubrio.us/code/class.calendar.zip</a><br />
<em>Documentation &#038; example included in zip file</em></p>
<p><strong>Sample Usage</strong></p>
<pre class='prettyprint'>
$calendar = new calendar();

$my_events = array(
	8	=> "My birthday!",
	19	=> array(
			"#link-to-e-vite"
			=> "[time=12:00pm]Work BBQ @ Shore House"),
	31	=> array(
			"End of a great month",
			"Beginning of a good month")
	);

$calendar->events($my_events)->generate(05, 2007);
</pre>
<p><strong>Some Bugs</strong></p>
<ul>
<li>events array doesn&#8217;t like leading zeros for events &#8212; simple enough fix</li>
<li>php date bounds aren&#8217;t checked &#8212; simple enough fix</li>
<li>i forget</li>
</ul>
<p><strong>Screenshot <small>(Click for larger image)</small></strong><br />
<a href="http://pic.ubrio.us/code/calendar/calendar.jpg" rel="lightbox" title="Simple PHP Calendar Script" onclick="pageTracker._trackPageview('/outgoing/pic.ubrio.us/code/calendar/calendar.jpg?referer=');"><img src="http://pic.ubrio.us/code/calendar/thumb_calendar.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/simple-easy-to-use-php-calendar-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>99 Bottles of Beer Song (PHP5)</title>
		<link>http://blog.ubrio.us/php/99-bottles-of-beer-song-php5/</link>
		<comments>http://blog.ubrio.us/php/99-bottles-of-beer-song-php5/#comments</comments>
		<pubDate>Wed, 16 May 2007 19:03:43 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/php/99-bottles-of-beer-song-php5/</guid>
		<description><![CDATA[Found this while hunting for a file. It&#8217;s an old submission to the 99 bottles of beer website. I don&#8217;t think they ever posted it, but it was just a fun way to kill time.
Source

#!/usr/local/php5/bin/php
&#60;?
foreach(range((is_numeric($argv[1]) ? $argv[1] : 99),1,1) as $number)
	printf(
		"%1\\$d bottle%3\\$s of beer on the wall,
		%1\\$d bottle%3\\$s of beer.\\nTake one down, pass it around,
		%2\\$d [...]]]></description>
			<content:encoded><![CDATA[<p>Found this while hunting for a file. It&#8217;s an old submission to the <a href="http://99-bottles-of-beer.net" target="_blank" onclick="pageTracker._trackPageview('/outgoing/99-bottles-of-beer.net?referer=');">99 bottles of beer</a> website. I don&#8217;t think they ever posted it, but it was just a fun way to kill time.</p>
<p><strong>Source</strong></p>
<pre>
#!/usr/local/php5/bin/php
&lt;?
foreach(range((is_numeric($argv[1]) ? $argv[1] : 99),1,1) as $number)
	printf(
		"%1\\$d bottle%3\\$s of beer on the wall,
		%1\\$d bottle%3\\$s of beer.\\nTake one down, pass it around,
		%2\\$d bottle%4\\$s of beer on the wall.\\n\\n",
			$number,
			$number - 1,
			 ($number == 1 ? '' : 's'),
			($number - 1 == 1 ? '' : 's')
	);
echo "*BUUURP!*\\n";
?&gt;
</pre>
<p><strong>Usage</strong><br />
Nothing fancy. Just run change the shebang and <strong>chmod +x [filename];./[filename] [#]</strong></p>
<p>Was just curious to see if i could fit it all on 1 line. I&#8217;m sure it can be shortened, and if I get bored it might <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , but for right now, it is what it is.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/99-bottles-of-beer-song-php5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>funny php mail script to harass friends, co-workers, or anyone you wish</title>
		<link>http://blog.ubrio.us/php/funny-php-mail-script-to-harass-friends-co-workers-or-anyone-you-wish/</link>
		<comments>http://blog.ubrio.us/php/funny-php-mail-script-to-harass-friends-co-workers-or-anyone-you-wish/#comments</comments>
		<pubDate>Sun, 13 May 2007 19:21:53 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/php/funny-php-mail-script-to-harass-friends-co-workers-or-anyone-you-wish/</guid>
		<description><![CDATA[I was bored the other day and on the phone or on IM, something. I had a stupid idea to write a script that just annoys the hell out of people via PHP&#8217;s Mail function. Its basically useless and I&#8217;m not trying to promote pissing off your friends &#8212; but here it is.
Usage

Save the annoy_friends.php [...]]]></description>
			<content:encoded><![CDATA[<p>I was bored the other day and on the phone or on IM, something. I had a stupid idea to write a script that just annoys the hell out of people via <a href="http://php.net/mail" target="_blank" onclick="pageTracker._trackPageview('/outgoing/php.net/mail?referer=');">PHP&#8217;s Mail</a> function. Its basically useless and I&#8217;m not trying to promote pissing off your friends &#8212; but here it is.</p>
<p><strong>Usage</strong></p>
<ul>
<li>Save <a href="http://ubrio.us/misc/annoy_friends.phps" target="_blank" onclick="pageTracker._trackPageview('/outgoing/ubrio.us/misc/annoy_friends.phps?referer=');">the annoy_friends.php script</a> to wherever</li>
<li>edit the $_mail settings accordingly</li>
<li>chmod +x [filename]</li>
<li>./[filename]</li>
<li>giggle uncontrollably</li>
<li>wait for $_mail['to'] to come and punch you in the face</li>
<li>rinse and repeat</li>
</ul>
<p><strong>disclaimer</strong><br />
Don&#8217;t <em>actually</em> run this, and especially don&#8217;t run this on my e-mail address <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/funny-php-mail-script-to-harass-friends-co-workers-or-anyone-you-wish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Plugin for Relative Digg Content</title>
		<link>http://blog.ubrio.us/php/wordpress-plugin-for-relative-digg-content/</link>
		<comments>http://blog.ubrio.us/php/wordpress-plugin-for-relative-digg-content/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 16:49:37 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/web/wordpress-plugin-for-relative-digg-content/</guid>
		<description><![CDATA[MOVED: http://ubrio.us/plugins

Relative Digg Wordpress Plugin &#8211; Add related digg story links to the bottom of your post based on keywords
Note (5/13/07):
I just looked over this code and I made a lot of mistakes. Just use it as an example/reference or clean it up. I hacked it together pretty quick when I was bored at work, [...]]]></description>
			<content:encoded><![CDATA[<h3>MOVED: <a href="http://ubrio.us/plugins" onclick="pageTracker._trackPageview('/outgoing/ubrio.us/plugins?referer=');">http://ubrio.us/plugins</a></h3>
<p><br/></p>
<p><strong><a href="http://blog.ubrio.us/wp-content/uploads/2006/11/relative_digg-php.zip">Relative Digg Wordpress Plugin</a> &#8211; Add related digg story links to the bottom of your post based on keywords</a></strong></p>
<p><strong>Note (5/13/07):</strong><br />
I just looked over this code and I made a lot of mistakes. Just use it as an example/reference or clean it up. I hacked it together pretty quick when I was bored at work, so use your judgement.</p>
<p>Well, as you can tell by the post dates on the past few articles, I&#8217;m being lazy. This all changed the other day when I was messing around in a project with PHP and XML. Normally I think XML/PHP is the devil, but I remembered the SimpleXML classes in PHP5. This pretty much inspired me to write a little plugin for wordpress &#8211; well, that and my love for digg &#8211; that will add relative digg stories to the bottom of each post depending on the keywords you provide.</p>
<p>Its still in Beta mode, but if you guys are savvy enough to get it working I would greatly appreciate some feedback. </p>
<p><strong>What you need in order to run this, as of right now</strong></p>
<ol>
<li>PHP5 (should come with SimpleXML natively, but if not, you need this)</li>
<li>FOPEN (some servers don&#8217;t support this)</li>
</ol>
<p>I will probably re-write this to use cURL in the future to get around the FOPEN problem, and maybe even to get around SimpleXML.  Either way, this is just up here to test the waters on the idea and get some general feedback.</p>
<p>(Ps: If your server doesn&#8217;t run PHP5 or allow FOPEN, be a man and get in that shell and roll your own <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>How To Install (almost the exact same procedure as my <a href="http://blog.ubrio.us/php/youtube-wordpress-plugin-with-technorati-tags/">YouTube PlugIn</a>)</strong></p>
<ol>
<li>Upload &#8220;relative_digg.php&#8221; to your /wp-content/plugins/ folder</li>
<li>In admin panel, go to: Plugins -> Relative Digg Stories -> Activate</li>
<li>Switch over to Presentation -> Theme Editor -> (edit) Single Post</li>
<li>Somewhere in there add <code>&lt;?php relative_digg(); ?&gt;</code>
<ul>
<li>Note: you can hardcode the tag using <code>relative_digg('tagname');</code></li>
<li>Note: param setup: <code>relative_digg('tagname', number_of_results, story_age, 'title');</code></li>
</ul>
</li>
<li>In your new post, somewhere near the bottom add: <code>&lt;!--digg:TAG--&gt;</code></li>
</ol>
<p>Let me know whatsup &#8211; hopefully some of you find this useful. Its terribly slow also, so I will have to check into that. Feedback is appreciated, yadda, yadda, etc.</p>
<p>Thanks</p>
<p>-rob</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/wordpress-plugin-for-relative-digg-content/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>YouTube Wordpress Plugin With Technorati Tags</title>
		<link>http://blog.ubrio.us/php/youtube-wordpress-plugin-with-technorati-tags/</link>
		<comments>http://blog.ubrio.us/php/youtube-wordpress-plugin-with-technorati-tags/#comments</comments>
		<pubDate>Thu, 21 Sep 2006 18:44:55 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/web/youtube-wordpress-plugin-with-technorati-tags/</guid>
		<description><![CDATA[I&#8217;m no longer supporting this, and I&#8217;m unsure if the old YouTube API is still in place.


Download
Usage
Features
Change Log


Hey all, I was asked to write a simple plugin that will make use of the YouTube API to generate videos based on specific post tags.

Downloads

YouTube Wordpress Plugin
svn export http://public.svnme.com/youtubevideos .


Usage

open the .PHP file in a text editor, [...]]]></description>
			<content:encoded><![CDATA[<div class='error'>I&#8217;m no longer supporting this, and I&#8217;m unsure if the old YouTube API is still in place.</div>
<div id='sections' class='clearfix'>
<ul>
<li><a href='#download'>Download</a></li>
<li><a href='#usage'>Usage</a></li>
<li><a href='#features'>Features</a></li>
<li><a href='#changelog'>Change Log</a></li>
</ul>
</div>
<p>Hey all, I was asked to write a simple plugin that will make use of the YouTube API to generate videos based on specific post tags.</p>
<p><a name='download'></a></p>
<h3>Downloads</h3>
<ol>
<li><a href="http://public.svnme.com/youtubevideos/youtube-videos.php.zip" onclick="pageTracker._trackPageview('/outgoing/public.svnme.com/youtubevideos/youtube-videos.php.zip?referer=');">YouTube Wordpress Plugin</a></li>
<li><tt>svn export http://public.svnme.com/youtubevideos .</tt></li>
</ol>
<p><a name='usage'></a></p>
<h3>Usage</h3>
<ol>
<li>open the .PHP file in a text editor, on the line <code>$dev_id = "???"</code> insert your developer ID</li>
<li>upload the PHP file to wp-content/plugins/</li>
<li>activate the plugin from the Dashboard, Plugins menu</li>
<li>go to Presentation, Template Editor, Single Post and/or Main Index. Insert this<br />
code where you want the video to appear:<br />
<code>&lt;? youtubevideos(); ?&gt;</code></li>
<li>when you post, use the code: <code>&lt;!--youtube:YourTagHere--></code> to tell the plugin what video topic you want to show. For example, if you want a video on horses, put <code>&lt;!--youtube:horses--></code> at the end of your post. </li>
<li>that&#8217;s it. To change the number of videos shown or to tweak the filter settings, you have to modify that within the plugin PHP file itself.</li>
<li>Let me know of any bugs you find, or any tweaks you have made (this is a community after all <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</li>
</ol>
<p><a name='features'></a></p>
<h3>Features</h3>
<ol>
<li>Set how many videos to show, could be 1, could be 1,000</li>
<li>Setup filters to block videos that contain bad keywords and keep your blog respectable</li>
<li>Change the output template to display the videos any way you want to better incorporate it with your blog</li>
<li>Manually add your own taggings to show videos you want.</li>
</ol>
<p><a name='changelog'></a></p>
<h3>Change Log</h3>
<ul>
<li><em>May 13</em> I just looked through this code and it is pretty sloppy, sorry. Use this as an example or starting point for your own plugin &#8212; or, if it still works, use it. Just a heads up (don&#8217;t judge me by that code <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )
<li><em>Oct 4</em> the new version needs to be tested &#8211; ill try to get to that today</li>
<li><em>Oct 4</em> Thanks to Mr. Nuck Chorris, the SimpleTags is now phased out, I have updated the file.</li>
<li><em>Oct 3</em> I removed the YouTube Developer ID, please use your own <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li><em>Oct 3</em> I am going to work on this again now that I am back. If you found bugs or have ideas for it, please send me an email and I will try to include them. </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/youtube-wordpress-plugin-with-technorati-tags/feed/</wfw:commentRss>
		<slash:comments>86</slash:comments>
		</item>
		<item>
		<title>Php5 on Dreamhost</title>
		<link>http://blog.ubrio.us/php/php5-on-dreamhost/</link>
		<comments>http://blog.ubrio.us/php/php5-on-dreamhost/#comments</comments>
		<pubDate>Sat, 22 Jul 2006 19:17:04 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Nix]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/?p=4</guid>
		<description><![CDATA[Im pretty satisfied with DreamHost so far, although it kind of urked me that they did not support native php SOAP. Why not? It seems like it would be a pretty popular thing.. Anyway, I&#8217;m not a big fan of NuSoap or any of the other SOAP libraries written in PHP so I started on [...]]]></description>
			<content:encoded><![CDATA[<p>Im pretty satisfied with <a href="http://www.dreamhost.com/r.cgi?210778" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.dreamhost.com/r.cgi?210778&amp;referer=');">DreamHost</a> so far, although it kind of urked me that they did not support <a href="http://www.zend.com/php5/articles/php5-SOAP.php" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.zend.com/php5/articles/php5-SOAP.php?referer=');">native php SOAP.</a> Why not? It seems like it would be a pretty popular thing.. Anyway, I&#8217;m not a big fan of <a href="http://dietrich.ganx4.com/nusoap/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/dietrich.ganx4.com/nusoap/?referer=');">NuSoap</a> or any of the other SOAP libraries written in PHP so I started on my journey to custom install PHP5. All in all it went well, and only took roughly an hour. I can now host all my <a href="http://google.com/apis/adwords" target="_blank" onclick="pageTracker._trackPageview('/outgoing/google.com/apis/adwords?referer=');">Google API</a> goodies here which is basically the point of the install <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p><strong>Heres how to run the install [on Mac OsX]: &#8211; Elaboration on <a href="http://www.dreamhost.com/r.cgi?210778" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.dreamhost.com/r.cgi?210778&amp;referer=');">DreamHost</a> Wiki [<a href="http://wiki.dreamhost.com/index.php/Installing_PHP5" onclick="pageTracker._trackPageview('/outgoing/wiki.dreamhost.com/index.php/Installing_PHP5?referer=');">Full Article</a>] </strong></p>
<ol>
<li>Open your favorite text editor and paste in the script below &#8211; MAKE SURE TO CHANGE YOUR DOMAIN on line 4</li>
<li>save as &#8220;installscript&#8221; to your Desktop, or wherver else &#8211; just as long as you can find it in the terminal</li>
<li>Open your terminal (/Applications/Utilities) and navigate to your Desktop (<code>cd ~/Desktop - or CD Desktop</code>)</li>
<li>[client side] Type &#8220;<code>scp installscript {USER}@{DOMAIN}:</code>&#8220;</li>
<li>[client side] Type &#8220;<code>ssh {USER}@{DOMAIN}</code>&#8221; to log into your account</li>
<li>[server-side] Type &#8220;<code>chmod +x installscript</code>&#8221; now make sure your directory is clear of the directories &#8220;php5, source, dist&#8221; if they are in there for some reason other than this install, run &#8220;<code>rm -rf {DIRNAME}</code>&#8221; to get rid of them. The install script will error if those directories are in place.</li>
<li>[server-side] Type &#8220;<code>./installscript</code>&#8221; &#8211; then grab a beer and watch T.V.</li>
<li>[server-side] Type &#8220;<code>cd {DOMAIN}</code>&#8221; then create an .htaccess file containing something like
<pre>AddHandler php-cgi .php Action php-cgi /cgi-bin/php.cgi</pre>
</li>
<li>Now you should be in business, try a script to see if everything is enabled that you need.. if not, modify the script below to add/remove any extras that you want</li>
<li>*Read the bottom for notes on how to keep things clean &#038; simple</li>
</ol>
<p><strong>The Script</strong></p>
<pre>
#!/bin/bash

# Abort on any errors
set -e

# The domain in which to install the PHP CGI script.
export DOMAIN="{YOUR DOMAIN HERE}"

# Where do you want all this stuff built? I'd recommend picking a local
# filesystem.
# ***Don't pick a directory that already exists!***  We clean up after
# ourselves at the end!
SRCDIR=${HOME}/source

# And where should it be installed?
INSTALLDIR=${HOME}/php5

# Set DISTDIR to somewhere persistent, if you plan to muck around with this
# script and run it several times!
DISTDIR=${HOME}/dist

# Update version information here.
PHP5="php-5.1.4"
LIBICONV="libiconv-1.10"
LIBMCRYPT="libmcrypt-2.5.7"
LIBXML2="libxml2-2.6.26"
LIBXSLT="libxslt-1.1.17"
MHASH="mhash-0.9.7"
ZLIB="zlib-1.2.3"
CURL="curl-7.15.4"
LIBIDN="libidn-0.6.3"
CCLIENT="c-client"
CCLIENT_DIR="imap-2004g" # Another pest!

# What PHP features do you want enabled?
PHPFEATURES="--prefix=${INSTALLDIR}
 --with-config-file-path=${INSTALLDIR}/etc/php5/${DOMAIN}
 --enable-force-cgi-redirect
 --with-xml
 --with-libxml-dir=${INSTALLDIR}
 --enable-soap
 --with-openssl=/usr
 --with-mhash=${INSTALLDIR}
 --with-mcrypt=${INSTALLDIR}
 --with-zlib-dir=${INSTALLDIR}
 --with-jpeg-dir=/usr
 --with-png-dir=/usr
 --with-gd
 --enable-gd-native-ttf
 --enable-ftp
 --with-exif
 --enable-sockets
 --enable-wddx
 --with-iconv=${INSTALLDIR}
 --enable-sqlite-utf8
 --enable-calendar
 --with-curl=${INSTALLDIR}
 --enable-mbstring
 --enable-mbregex
 --with-mysql=/usr
 --with-mysqli
 --without-pear
 --with-gettext
 --with-imap=${INSTALLDIR}
 --with-imap-ssl=/usr"

# ---- end of user-editable bits. Hopefully! ----

# Push the install dir's bin directory into the path
export PATH=${INSTALLDIR}/bin:$PATH

#setup directories
mkdir -p ${SRCDIR}
mkdir -p ${INSTALLDIR}
mkdir -p ${DISTDIR}
cd ${DISTDIR}

# Get all the required packages
wget -c http://us3.php.net/distributions/${PHP5}.tar.gz
wget -c http://ftp.gnu.org/pub/gnu/libiconv/${LIBICONV}.tar.gz
wget -c http://easynews.dl.sourceforge.net/sourceforge/mcrypt/${LIBMCRYPT}.tar.gz
wget -c http://ftp.acc.umu.se/pub/GNOME/sources/libxml2/2.6/${LIBXML2}.tar.gz
wget -c http://ftp.acc.umu.se/pub/GNOME/sources/libxslt/1.1/${LIBXSLT}.tar.gz
wget -c http://easynews.dl.sourceforge.net/sourceforge/mhash/${MHASH}.tar.gz
#wget -c http://www.zlib.net/${ZLIB}.tar.gz
wget -c http://easynews.dl.sourceforge.net/sourceforge/libpng/${ZLIB}.tar.gz
wget -c http://curl.haxx.se/download/${CURL}.tar.gz
wget -c ftp://alpha.gnu.org/pub/gnu/libidn/${LIBIDN}.tar.gz
wget -c ftp://ftp.cac.washington.edu/imap/${CCLIENT}.tar.Z

echo ---------- Unpacking downloaded archives. This process may take several minutes! ----------

cd ${SRCDIR}
# Unpack them all
tar xzf ${DISTDIR}/${PHP5}.tar.gz
tar xzf ${DISTDIR}/${LIBICONV}.tar.gz
tar xzf ${DISTDIR}/${LIBMCRYPT}.tar.gz
tar xzf ${DISTDIR}/${LIBXML2}.tar.gz
tar xzf ${DISTDIR}/${LIBXSLT}.tar.gz
tar xzf ${DISTDIR}/${MHASH}.tar.gz
tar xzf ${DISTDIR}/${ZLIB}.tar.gz
tar xzf ${DISTDIR}/${CURL}.tar.gz
tar xzf ${DISTDIR}/${LIBIDN}.tar.gz
uncompress -cd ${DISTDIR}/${CCLIENT}.tar.Z |tar x

# Build them in the required order to satisfy dependencies.

#libiconv
cd ${SRCDIR}/${LIBICONV}
./configure --enable-extra-encodings --prefix=${INSTALLDIR}
# make clean
make
make install

#libxml2
cd ${SRCDIR}/${LIBXML2}
./configure --with-iconv=${INSTALLDIR} --prefix=${INSTALLDIR}
# make clean
make
make install

#libxslt
cd ${SRCDIR}/${LIBXSLT}
./configure --prefix=${INSTALLDIR}
 --with-libxml-prefix=${INSTALLDIR}
 --with-libxml-include-prefix=${INSTALLDIR}/include/
 --with-libxml-libs-prefix=${INSTALLDIR}/lib/
# make clean
make
make install

#zlib
cd ${SRCDIR}/${ZLIB}
./configure --shared --prefix=${INSTALLDIR}
# make clean
make
make install

#libmcrypt
cd ${SRCDIR}/${LIBMCRYPT}
./configure --disable-posix-threads --prefix=${INSTALLDIR}
# make clean
make
make install

#libmcrypt lltdl issue!!
cd  ${SRCDIR}/${LIBMCRYPT}/libltdl
./configure --prefix=${INSTALLDIR} --enable-ltdl-install
make
make install

#mhash
cd ${SRCDIR}/${MHASH}
./configure --prefix=${INSTALLDIR}
# make clean
make
make install

#libidn
cd ${SRCDIR}/${LIBIDN}
./configure --with-iconv-prefix=${INSTALLDIR} --prefix=${INSTALLDIR}
# make clean
make
make install

#cURL
cd ${SRCDIR}/${CURL}
./configure --with-ssl=${INSTALLDIR} --with-zlib=${INSTALLDIR}
  --with-libidn=${INSTALLDIR} --enable-ipv6 --enable-cookies
  --enable-crypto-auth --prefix=${INSTALLDIR}
# make clean
make
make install

# c-client
cd ${SRCDIR}/${CCLIENT_DIR}
make ldb
# Install targets are for wusses!
cp c-client/c-client.a ${INSTALLDIR}/lib/libc-client.a
cp c-client/*.h ${INSTALLDIR}/include

#PHP 5
cd ${SRCDIR}/${PHP5}
./configure ${PHPFEATURES}
# make clean
make
make install

#copy config file
mkdir -p ${INSTALLDIR}/etc/php5/${DOMAIN};
cp ${SRCDIR}/${PHP5}/php.ini-dist ${INSTALLDIR}/etc/php5/${DOMAIN}/php.ini

#copy PHP CGI
mkdir -p ${HOME}/${DOMAIN}/cgi-bin
chmod 0755 ${HOME}/${DOMAIN}/cgi-bin
cp ${INSTALLDIR}/bin/php ${HOME}/${DOMAIN}/cgi-bin/php.cgi
echo ---------- INSTALL COMPLETE! ----------
</pre>
<p><strong>Notes to keep things clean</strong><br />
This install will only configure the 1 website right off the bat, but say you want to toggle between the PHP4/PHP5 DreamHostoptions, or your custom configured PHP5 install &#8211; on a PER-SITE basis. Its actually dead simple. Heres the ‘basic’ process that I use to get this done.</p>
<p>When you run this install PHP creates a {DOMAIN}/cgi-bin/ which is good and all, but since you want to keep the option of using a custom install dynamic this isn’t as good as we want it.</p>
<p>What i did was to make a ~/cgi-bin/ in your home directory and link whore it out. To do this just get in your terminal again and get to your {DOMAIN}s root directory and type “mv cgi-bin/ ~/cgi-bin/” then without leaving your domain’s root type “ln -s ~/cgi-bin/ cgi-bin” to create a symbolic link. Now if you want to shut off the custom php5 you can “rm cgi-bin” and take those 2 lines out of your .htaccess file.</p>
<p>For every other domain you want to have this install run on is 1 step off from just “cd {DOMAiN}“, “ln -s ~/cgi-bin/ cgi-bin“, “vim .htaccess” (putting in those 2 lines from above). For each new domain you need to create a php.ini file (or folder at least) in the ~/php5/etc/php5/ dir. You can again use a symbolic link here if nothing is changing. Just copy it from your default {DOMAIN} folder back to the ~/php5/etc/php5/ folder and symbolic link it to each new directory you create. Of course, for unique .inis you would need to copy it and modify it.</p>
<p>I hope that helps anyone out there keep their custom php5 install under wraps. Now if they would just enable those few extra modules so i don’t have to keep updating php manually <img src='http://blog.ubrio.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/php/php5-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
