<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>UltraMega Blog</title>
	
	<link>http://www.ultramegatech.com/blog</link>
	<description>Web development blog from UltraMega Tech.</description>
	<lastBuildDate>Tue, 27 Jul 2010 20:44:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ultramegatech" /><feedburner:info uri="ultramegatech" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><item>
		<title>Create Callbacks Using __invoke</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/qfaFb5tr3j8/</link>
		<comments>http://www.ultramegatech.com/blog/2010/07/create-callbacks-using-invoke/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 20:44:19 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[callback]]></category>
		<category><![CDATA[invoke]]></category>
		<category><![CDATA[magic methods]]></category>
		<category><![CDATA[OOP]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=856</guid>
		<description>The __invoke magic method (available as of PHP 5.3) is used to make an object callable as if it were a regular function. The combines the usefulness of objects with the simplicity of functions. One application of this feature is creating callback functions that can be passed around like objects. This is common practice in [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jTianQ052_KuBbyTsTqdKr_fSpU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jTianQ052_KuBbyTsTqdKr_fSpU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jTianQ052_KuBbyTsTqdKr_fSpU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jTianQ052_KuBbyTsTqdKr_fSpU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/qfaFb5tr3j8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/07/create-callbacks-using-invoke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2010/07/create-callbacks-using-invoke/</feedburner:origLink></item>
		<item>
		<title>Deciphering Magic Methods in PHP</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/YqmtzolF6VI/</link>
		<comments>http://www.ultramegatech.com/blog/2010/07/deciphering-magic-methods-in-php/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 18:36:31 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[magic methods]]></category>
		<category><![CDATA[OOP]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=843</guid>
		<description>Deciphering Magic Methods in PHP &amp;#124; Nettuts+ PHP provides a number of ‘magic’ methods that allow you to do some pretty neat tricks in object oriented programming. These methods, identified by a two underscore prefix (__), function as interceptors that are automatically called when certain conditions are met. Magic methods provide some extremely useful functionality, [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OsUiTCq8W7CWzbnBb3WrqlhRxp8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OsUiTCq8W7CWzbnBb3WrqlhRxp8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OsUiTCq8W7CWzbnBb3WrqlhRxp8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OsUiTCq8W7CWzbnBb3WrqlhRxp8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/YqmtzolF6VI" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/07/deciphering-magic-methods-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2010/07/deciphering-magic-methods-in-php/</feedburner:origLink></item>
		<item>
		<title>Round Robin Tournament Scheduler</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/4TOehJVwtuU/</link>
		<comments>http://www.ultramegatech.com/blog/2010/05/round-robin-tournament-scheduler/#comments</comments>
		<pubDate>Tue, 04 May 2010 21:07:13 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[round robin]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[tournament]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=829</guid>
		<description>Here's a snippet I wrote for a project that I thought might come in handy for someone else. It generates a schedule for a round robin tournament. I found some other snippets to do this, but I found them overly complicated or lacking in other ways. Here's an example of what this code does: &amp;#60;?php [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7fUxuH9BsnyxrfNBOi9ea1kEeUI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7fUxuH9BsnyxrfNBOi9ea1kEeUI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7fUxuH9BsnyxrfNBOi9ea1kEeUI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7fUxuH9BsnyxrfNBOi9ea1kEeUI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/4TOehJVwtuU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/05/round-robin-tournament-scheduler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2010/05/round-robin-tournament-scheduler/</feedburner:origLink></item>
		<item>
		<title>PHP: Recursive Functions</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/nciIDJ-wZj4/</link>
		<comments>http://www.ultramegatech.com/blog/2010/02/php-recursive-functions/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 01:16:42 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[recursive function]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=820</guid>
		<description>A recursive function is a function that calls itself. This is useful for certain applications. This short tutorial will show an example of a recursive function in action. Let's say we have the following array of categories. Normally this might be stored in a database, but we'll use an array here for simplicity. /* Example [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7n1xb5GahegbnzJA2O5s3YBKty4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7n1xb5GahegbnzJA2O5s3YBKty4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7n1xb5GahegbnzJA2O5s3YBKty4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7n1xb5GahegbnzJA2O5s3YBKty4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/nciIDJ-wZj4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/02/php-recursive-functions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2010/02/php-recursive-functions/</feedburner:origLink></item>
		<item>
		<title>Using a PHP Class to Store Configuration</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/NhuiSvsqdEo/</link>
		<comments>http://www.ultramegatech.com/blog/2010/02/php-class-to-store-configuration/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 00:20:11 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[objects]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=817</guid>
		<description>In a comment on my post listing 5 Tips for Writing Cleaner PHP Code, some good arguments were made against using constants to store configuration variables. The main arguments is that it pollutes the global namespace, which can lead to collisions when implementing other code, and the way it handles typos. This article demonstrates some [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HM5I6W68Wp6PXhMlJIPSrbIiqgU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HM5I6W68Wp6PXhMlJIPSrbIiqgU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HM5I6W68Wp6PXhMlJIPSrbIiqgU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HM5I6W68Wp6PXhMlJIPSrbIiqgU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/NhuiSvsqdEo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/02/php-class-to-store-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2010/02/php-class-to-store-configuration/</feedburner:origLink></item>
		<item>
		<title>Using SSH in PHP</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/_zeEMbRit4U/</link>
		<comments>http://www.ultramegatech.com/blog/2010/01/using-ssh-in-php/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 23:19:38 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[SSH]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=810</guid>
		<description>This tutorial will show you how to use the SSH2 functions in PHP to execute commands over SSH. This requires the SSH2 PECL extension to be installed on your server (installation instructions). Keep in mind that as of this time, the extension is in a beta state, so stability is not guaranteed. Sending commands is [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NHwlYgDXpkY7an_fiil1lDHuMJM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NHwlYgDXpkY7an_fiil1lDHuMJM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NHwlYgDXpkY7an_fiil1lDHuMJM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NHwlYgDXpkY7an_fiil1lDHuMJM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/_zeEMbRit4U" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2010/01/using-ssh-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2010/01/using-ssh-in-php/</feedburner:origLink></item>
		<item>
		<title>Snippet: Fetch Twitter Feed (With Retweets) in PHP</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/fvupCQLdULY/</link>
		<comments>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 21:19:17 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[twitter]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=805</guid>
		<description>Here is a PHP that fetches a Twitter stream for a specified user. It also combines retweets with the regular updates. This puts them all in an array to make it easy to output them however you want. This snippet uses APC to cache the data, but you can use any caching method such as [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0xtycQ8VvjMqtd_2-9bLsuvVgd8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0xtycQ8VvjMqtd_2-9bLsuvVgd8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0xtycQ8VvjMqtd_2-9bLsuvVgd8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0xtycQ8VvjMqtd_2-9bLsuvVgd8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/fvupCQLdULY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2009/12/snippet-fetch-twitter-feed-with-retweets-in-php/</feedburner:origLink></item>
		<item>
		<title>TempServers Finally Out of Beta</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/e2HQgXGCAIU/</link>
		<comments>http://www.ultramegatech.com/blog/2009/12/tempservers-finally-out-of-beta/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 19:16:01 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[TempServers]]></category>
		<category><![CDATA[game servers]]></category>
		<category><![CDATA[project]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=798</guid>
		<description>After almost a year since being announced, TempServers is finally out of beta. The system has been stable for months now, and it is ready to go live. The price is set at just 99 cents per hour for all games. No major changes have been made since the previous announcement, other than some back-end [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uZNxWY3fHDPjGFJofMuxTNGjZGg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uZNxWY3fHDPjGFJofMuxTNGjZGg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uZNxWY3fHDPjGFJofMuxTNGjZGg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uZNxWY3fHDPjGFJofMuxTNGjZGg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/e2HQgXGCAIU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/12/tempservers-finally-out-of-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2009/12/tempservers-finally-out-of-beta/</feedburner:origLink></item>
		<item>
		<title>PHP in the Shell</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/sVS3wvE4J1w/</link>
		<comments>http://www.ultramegatech.com/blog/2009/12/php-in-the-shell/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 00:38:04 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tutorials]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=787</guid>
		<description>PHP may be most commonly used within a web server to produce web pages, but it is a powerful scripting engine by itself. PHP is an amazingly useful multipurpose tool when used from the command line. This post will show you how to use the PHP Command Line Interface (CLI). Some of the information here [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/u_dJnh5d8LV6mrgDJgfCiPL3rO4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u_dJnh5d8LV6mrgDJgfCiPL3rO4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/u_dJnh5d8LV6mrgDJgfCiPL3rO4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u_dJnh5d8LV6mrgDJgfCiPL3rO4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/sVS3wvE4J1w" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/12/php-in-the-shell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2009/12/php-in-the-shell/</feedburner:origLink></item>
		<item>
		<title>TempServers Is Looking for a Home</title>
		<link>http://feedproxy.google.com/~r/ultramegatech/~3/0UEQcz3QKHc/</link>
		<comments>http://www.ultramegatech.com/blog/2009/12/tempservers-is-looking-for-a-home/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 00:05:34 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[TempServers]]></category>
		<category><![CDATA[for sale]]></category>
		<category><![CDATA[game servers]]></category>
		<category><![CDATA[gsp]]></category>
		<category><![CDATA[project]]></category>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=784</guid>
		<description>TempServers, the hourly game server rental service, is now for sale. I've been working on this project independently for about a year now and it is very close to being out of beta. The decision to sell was made for a number of reasons. As a freelance Web developer, I simply don't have the time [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FwYuTqfKedRwO3eyZZvMCkp6WZo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FwYuTqfKedRwO3eyZZvMCkp6WZo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FwYuTqfKedRwO3eyZZvMCkp6WZo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FwYuTqfKedRwO3eyZZvMCkp6WZo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ultramegatech/~4/0UEQcz3QKHc" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://www.ultramegatech.com/blog/2009/12/tempservers-is-looking-for-a-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.ultramegatech.com/blog/2009/12/tempservers-is-looking-for-a-home/</feedburner:origLink></item>
	</channel>
</rss>
