<?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>Ordering Disorder &#187; php</title>
	<atom:link href="http://www.orderingdisorder.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.orderingdisorder.com</link>
	<description>Creating order from chaos</description>
	<lastBuildDate>Tue, 27 Jul 2010 06:41:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP Slicehost API</title>
		<link>http://www.orderingdisorder.com/2009/09/08/php-slicehost-api/</link>
		<comments>http://www.orderingdisorder.com/2009/09/08/php-slicehost-api/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 01:26:41 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[slicehost]]></category>

		<guid isPermaLink="false">http://www.orderingdisorder.com/?p=125</guid>
		<description><![CDATA[A couple of days ago I added a bunch of features to my Slicehost API interface class (for PHP).  Most of you are about to say &#8220;Uh, what&#8217;s Slicehost?&#8221;  Click here.  (They&#8217;re the server hosting company I use.  If you sign up, please use this referral link or put &#8220;heron@xnapid.com&#8221; as the referrer so I [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago I added a bunch of features to my Slicehost API interface class (for PHP).  Most of you are about to say &#8220;Uh, what&#8217;s Slicehost?&#8221;  Click <a href="http://www.slicehost.com/" target="_blank">here</a>.  (They&#8217;re the server hosting company I use.  If you sign up, please use <a href="https://manage.slicehost.com/customers/new?referrer=704c731a174e19ab29cebc0a39d16b80" target="_blank">this referral link</a> or put &#8220;heron@xnapid.com&#8221; as the referrer so I get a referral bonus <img src='http://www.orderingdisorder.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p>Slicehost provides an application programming interface to let you control your hosted servers (&#8220;slices&#8221;).  This API can do everything from creating a new slice, to restoring a slice from a backup, to deleting a slice, to managing the domain name resolution settings on your account.  (So when I bought orderingdisorder.com, I used the API to automatically add the DNS entries to my slicehost account so &#8220;the internet&#8221; would know where to find this site, rather than adding the entries manually.)</p>
<p>Anyway, my PHP interface class is just a PHP class that lets you conveniently access your Slicehost account from the convenience of a PHP script.  My last update added the ability to create, reimage, reboot, or rename slices.</p>
<p>If you find yourself needing the class, you can download it here:</p>
<p><a href="http://sourceforge.net/projects/php-sliceapi/" target="_blank">http://sourceforge.net/projects/php-sliceapi/</a></p>
<p>Or, you can grab it from the Subversion repository, if you&#8217;re into that sort of thing:</p>
<p>https://php-sliceapi.svn.sourceforge.net/svnroot/php-sliceapi/trunk</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.orderingdisorder.com%2F2009%2F09%2F08%2Fphp-slicehost-api%2F&amp;t=PHP%20Slicehost%20API" id="facebook_share_both_125" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; padding:2px 0 0 20px; height:16px; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top left;">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_125') || document.getElementById('facebook_share_icon_125') || document.getElementById('facebook_share_both_125') || document.getElementById('facebook_share_button_125');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_125') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.orderingdisorder.com/2009/09/08/php-slicehost-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
