<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Brock Angelo &#187; PHP</title>
	<atom:link href="http://brockangelo.com/category/code/php-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://brockangelo.com</link>
	<description>cool little projects</description>
	<lastBuildDate>Wed, 01 Sep 2010 17:07:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Redirect Users Back to Page They Were On</title>
		<link>http://brockangelo.com/2009/12/17/redirect-users-back-to-page-they-were-on/</link>
		<comments>http://brockangelo.com/2009/12/17/redirect-users-back-to-page-they-were-on/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 14:09:59 +0000</pubDate>
		<dc:creator>brockangelo</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[back]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[intranet]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://brockangelo.com/?p=1312</guid>
		<description><![CDATA[How to redirect users back to the page they were on when they clicked "login".


Related posts:<ol><li><a href='http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/' rel='bookmark' title='Permanent Link: Using PHP code in Posts &#038; Pages'>Using PHP code in Posts &#038; Pages</a></li><li><a href='http://brockangelo.com/2008/09/21/removing-categories-from-your-rss-feed/' rel='bookmark' title='Permanent Link: Removing Categories from your RSS feed'>Removing Categories from your RSS feed</a></li><li><a href='http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/' rel='bookmark' title='Permanent Link: Aligning Navbar to both Left and Right'>Aligning Navbar to both Left and Right</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I am a fan of most things WordPress, but one thing I am not a fan of is the way that everyone gets sent to the Dashboard whenever they log in. Not everyone who logs into your site will write posts or administer the site. And for an intranet, this is a drag.</p>
<p>What I&#8217;ve always wanted was a way to reload the current page after I have logged in. So if I&#8217;m on the &#8220;Search&#8221; page, I just want to go to the login page, then go back to the page I was on when I clicked the &#8220;Login&#8221; link. Finally &#8211; a solution!</p>
<p>Thanks to <a href="http://davidchambersdesign.com/wordpress-login-redirect/">David Chambers</a> &#8211; it is as easy as changing the url that the &#8220;login&#8221; link points to. </p>
<pre class="brush: php;">&lt;a href=&quot;&lt;?php echo get_option('siteurl'); ?&gt;/wp-login.php?redirect_to=&lt;?php echo urlencode($_SERVER['REQUEST_URI']); ?&gt;&quot;&gt;log in&lt;/a&gt;</pre>
<p>He calls it WordPress Login Redirect. I would imagine that this would be a handy plugin for a lot of people. On an intranet, you may want to provide a link to the dashboard if they are an admin, or a link to logout if they are not. I have been using a very simple conditional statement that determines what to put in place of the login link after you are logged in.</p>
<pre class="brush: php;">&lt;?php
	global $current_user;
	get_currentuserinfo();

	if (!(is_user_logged_in())) { ?&gt;
		&lt;a href=&quot;&lt;?php echo get_option('siteurl'); ?&gt;/wp-login.php?redirect_to=&lt;?php echo urlencode($_SERVER['REQUEST_URI']); ?&gt;&quot;&gt;Log in&lt;/a&gt;
	&lt;?php } elseif
		(
		(($current_user-&gt;user_login) == &quot;brock&quot;) 	||
		(($current_user-&gt;user_login) == &quot;admin&quot;)
		)
		{
			echo &quot;&lt;a href=\&quot;&quot;;
			echo get_option('siteurl');
			echo &quot;/wp-admin/\&quot;&gt;Dashboard&lt;/a&gt;&quot;;
			} else { ?&gt;
			&lt;a href=&quot;&lt;?php echo wp_logout_url( get_permalink() ); ?&gt;&quot; title=&quot;Logout&quot;&gt;Logout&lt;/a&gt;
			&lt;?php
		}
?&gt;
</pre>


<p>Related posts:<ol><li><a href='http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/' rel='bookmark' title='Permanent Link: Using PHP code in Posts &#038; Pages'>Using PHP code in Posts &#038; Pages</a></li><li><a href='http://brockangelo.com/2008/09/21/removing-categories-from-your-rss-feed/' rel='bookmark' title='Permanent Link: Removing Categories from your RSS feed'>Removing Categories from your RSS feed</a></li><li><a href='http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/' rel='bookmark' title='Permanent Link: Aligning Navbar to both Left and Right'>Aligning Navbar to both Left and Right</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://brockangelo.com/2009/12/17/redirect-users-back-to-page-they-were-on/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display the Contents of a File Using PHP</title>
		<link>http://brockangelo.com/2009/06/07/display-the-contents-of-a-file-using-php/</link>
		<comments>http://brockangelo.com/2009/06/07/display-the-contents-of-a-file-using-php/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 12:00:00 +0000</pubDate>
		<dc:creator>brockangelo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[file contents]]></category>
		<category><![CDATA[file_get_contents]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[text file]]></category>

		<guid isPermaLink="false">http://brockangelo.com/?p=873</guid>
		<description><![CDATA[How to Display the Contents of a File Using PHP
PHP has a built in function to display the contents of a file. This is helpful if you want to update a webpage to reflect some data that is regularly updated or output to a file. It is also helpful if you have access to the [...]


Related posts:<ol><li><a href='http://brockangelo.com/2009/06/05/how-to-display-your-uptime-using-bash/' rel='bookmark' title='Permanent Link: How to Display Your &#8220;Uptime&#8221; using Bash'>How to Display Your &#8220;Uptime&#8221; using Bash</a></li><li><a href='http://brockangelo.com/2010/02/03/april-fools-batch-file/' rel='bookmark' title='Permanent Link: April Fool&#8217;s Batch File'>April Fool&#8217;s Batch File</a></li><li><a href='http://brockangelo.com/2009/07/14/run-a-batch-file-invisibly/' rel='bookmark' title='Permanent Link: Run a Batch File Invisibly'>Run a Batch File Invisibly</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><strong>How to Display the Contents of a File Using PHP</strong></p>
<p>PHP has a built in function to display the <em>contents</em> of a file. This is helpful if you want to update a webpage to reflect some data that is regularly updated or output to a file. It is also helpful if you have access to the web server and it is easier for you to update a text file than it is to edit html. Simply point your webpage to the text file and the contents of the webpage get updated automatically.</p>
<p>Here&#8217;s how it works:</p>
<pre class="brush: php;">&lt;?php
echo file_get_contents('http://brockangelo.com/uptime.txt');
?&gt;</pre>
<p>Easy enough. I used to have a message in the footer of this webpage that said &#8220;This server has been up for 14 days, 7 hours, 22 minutes.&#8221; All that was doing was reading the contents of the text file that got updated every hour.</p>


<p>Related posts:<ol><li><a href='http://brockangelo.com/2009/06/05/how-to-display-your-uptime-using-bash/' rel='bookmark' title='Permanent Link: How to Display Your &#8220;Uptime&#8221; using Bash'>How to Display Your &#8220;Uptime&#8221; using Bash</a></li><li><a href='http://brockangelo.com/2010/02/03/april-fools-batch-file/' rel='bookmark' title='Permanent Link: April Fool&#8217;s Batch File'>April Fool&#8217;s Batch File</a></li><li><a href='http://brockangelo.com/2009/07/14/run-a-batch-file-invisibly/' rel='bookmark' title='Permanent Link: Run a Batch File Invisibly'>Run a Batch File Invisibly</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://brockangelo.com/2009/06/07/display-the-contents-of-a-file-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing Categories from your RSS feed</title>
		<link>http://brockangelo.com/2008/09/21/removing-categories-from-your-rss-feed/</link>
		<comments>http://brockangelo.com/2008/09/21/removing-categories-from-your-rss-feed/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 00:47:04 +0000</pubDate>
		<dc:creator>brockangelo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://brockangelo.com/?p=154</guid>
		<description><![CDATA[Removing Categories from your RSS feed: It&#8217;s pretty straightforward. Just go into your feed files and add a filter saying: &#8220;if the post is in one of these categories, don&#8217;t include it in the feed&#8221;. Well, that&#8217;s the basic concept. Here are the details:I edited the /wp-includes/feed-rss.php &#38; /wp-includes/feed-rss2.php You probably should also do the [...]


Related posts:<ol><li><a href='http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/' rel='bookmark' title='Permanent Link: Using PHP code in Posts &#038; Pages'>Using PHP code in Posts &#038; Pages</a></li><li><a href='http://brockangelo.com/2009/12/17/redirect-users-back-to-page-they-were-on/' rel='bookmark' title='Permanent Link: Redirect Users Back to Page They Were On'>Redirect Users Back to Page They Were On</a></li><li><a href='http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/' rel='bookmark' title='Permanent Link: Aligning Navbar to both Left and Right'>Aligning Navbar to both Left and Right</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Removing Categories from your RSS feed</strong>: <br />It&#8217;s pretty straightforward. Just go into your feed files and add a filter saying: &#8220;if the post is in one of these categories, don&#8217;t include it in the feed&#8221;. Well, that&#8217;s the basic concept. Here are the details:I edited the <code>/wp-includes/feed-rss.php</code> &amp; <code>/wp-includes/feed-rss2.php</code> You probably should also do the atomfeeds and others found inside wp-includes, but everyone who is subscribed to our blog uses Google Reader, and afaik, Google uses RSS, so I didn&#8217;t bother. I added the following lines just after the beginning of the loop and right after the </p>
<pre class="brush: php;">while have_posts : the_post:</pre>
<p>Add this php code:</p>
<pre class="brush: php;">if ((!(in_category(53))) &amp;amp;&amp;amp; (!(in_category(55))) &amp;amp;&amp;amp; (!(in_category(56)))) : {
</pre>
<p>Where 53, 55 &#038; 56 are categories that you don&#8217;t want in your feed. Notice that this is an <em>if</em> statement and this ends with an <em>opening</em> curly brace. So all you have to do is close this if statement.</p>
<p>You must close the if statement at the bottom of the file by issuing a <em>closing</em> curly brace and an <code>endif</code> statement just before the <code>endwhile</code>. So the bottom of my &#8220;feed-rss.php&#8221; looks like this:</p>
<pre class="brush: php;">
&amp;lt;?php while (have_posts()) : the_post(); ?&amp;gt;
&amp;lt;?php if ((!(in_category(53))) &amp;amp;&amp;amp; (!(in_category(55))) &amp;amp;&amp;amp; (!(in_category(56)))) : { ?&amp;gt;
&amp;lt;item&amp;gt;
&amp;lt;title&amp;gt;&amp;lt;?php the_title_rss() ?&amp;gt;&amp;lt;/title&amp;gt;
&amp;lt;?php if (get_option('rss_use_excerpt')) { ?&amp;gt;
&amp;lt;description&amp;gt;&amp;lt;![CDATA[&amp;lt;?php the_excerpt_rss() ?&amp;gt;]]&amp;gt;&amp;lt;/description&amp;gt;
&amp;lt;?php } else { // use content ?&amp;gt;
&amp;lt;description&amp;gt;&amp;lt;?php the_content_rss(”, 0, ”, get_option(’rss_excerpt_length’)) ?&amp;gt;&amp;lt;/description&amp;gt;
&amp;lt;?php } ?&amp;gt;
&amp;lt;link&amp;gt;&amp;lt;?php permalink_single_rss() ?&amp;gt;&amp;lt;/link&amp;gt;
&amp;lt;?php do_action(’rss_item’); ?&amp;gt;
&amp;lt;/item&amp;gt;
&amp;lt;?php } endif; ?&amp;gt;
&amp;lt;?php endwhile; ?&amp;gt;
&amp;lt;/channel&amp;gt;
&amp;lt;/rss&amp;gt;
</pre>
<p>The Codex article can be found here: <a href="http://codex.wordpress.org/Customizing_Feeds">Customizing Feeds</a>.</p>


<p>Related posts:<ol><li><a href='http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/' rel='bookmark' title='Permanent Link: Using PHP code in Posts &#038; Pages'>Using PHP code in Posts &#038; Pages</a></li><li><a href='http://brockangelo.com/2009/12/17/redirect-users-back-to-page-they-were-on/' rel='bookmark' title='Permanent Link: Redirect Users Back to Page They Were On'>Redirect Users Back to Page They Were On</a></li><li><a href='http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/' rel='bookmark' title='Permanent Link: Aligning Navbar to both Left and Right'>Aligning Navbar to both Left and Right</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://brockangelo.com/2008/09/21/removing-categories-from-your-rss-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aligning Navbar to both Left and Right</title>
		<link>http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/</link>
		<comments>http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 21:07:08 +0000</pubDate>
		<dc:creator>brockangelo</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[navbar]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://brockangelo.com/?p=239</guid>
		<description><![CDATA[Aligning a Navigation Bar to both the Left side and the Right sides:
I have always thought it would be nice to have a navigation bar that aligns text to both the left and the right, so I finally took the time to get this working. Once I figured it out, it was very simple to [...]


Related posts:<ol><li><a href='http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/' rel='bookmark' title='Permanent Link: Using PHP code in Posts &#038; Pages'>Using PHP code in Posts &#038; Pages</a></li><li><a href='http://brockangelo.com/2009/04/27/how-to-bulk-import-into-a-mysql-database/' rel='bookmark' title='Permanent Link: How to Bulk Import into a MySQL Database'>How to Bulk Import into a MySQL Database</a></li><li><a href='http://brockangelo.com/2009/12/17/redirect-users-back-to-page-they-were-on/' rel='bookmark' title='Permanent Link: Redirect Users Back to Page They Were On'>Redirect Users Back to Page They Were On</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Aligning a Navigation Bar to both the Left side and the Right sides</strong>:</p>
<p>I have always thought it would be nice to have a navigation bar that aligns text to both the left and the right, so I finally took the time to get this working. Once I figured it out, it was very simple to setup. </p>
<p>So on the left you&#8217;ll have this:<br />
<center><br />
<blockquote><img src="http://brockangelo.com/wp-content/uploads/2008/09/left.jpg" alt="" title="left" width="366" height="54" class="aligncenter size-full wp-image-242" /></p></blockquote>
<p></center></p>
<p>And on the right you&#8217;ll have this:<br />
<center><br />
<blockquote><img src="http://brockangelo.com/wp-content/uploads/2008/09/right.jpg" alt="" title="right" width="281" height="66" class="aligncenter size-full wp-image-241" /></p></blockquote>
<p></center></p>
<p>It is as simple as an html table. Yep. Just think about it. Your navigation bar is a single row, with two columns. I set my left column to 70% and my right column to 30%. Then I can align each table to the left or right. </p>
<p>I set the entire table inside an unordered list, then each page link is just an <code>li</code> or a <em>list item</em>. Your header.php file will probably look similar to mine, but without the table. What you choose to do with your newly-balanced right side is up to you. I am displaying the current time with a greeting depending on the time of day. At my office we are displaying the visitors IP address (very handy on a LAN).</p>
<pre class="brush: php;">
&lt;div id=&quot;navbar&quot;&gt;
	&lt;ul&gt;
		&lt;table width=&quot;100%&quot;&gt;
			&lt;tr&gt;
		&lt;td width=&quot;80%&quot;&gt;&lt;li&gt;&lt;a href=&quot;&lt;?php echo get_settings('home'); ?&gt;&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
		&lt;?php wp_list_pages(); ?&gt;
		&lt;?php wp_list_categories(); ?&gt;
		&lt;/td&gt;
		&lt;td width=&quot;20%&quot; align=&quot;right&quot;&gt;&lt;div id=&quot;txt&quot;&gt;&lt;/div&gt;&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;
	&lt;/ul&gt;
&lt;/div&gt;
</pre>


<p>Related posts:<ol><li><a href='http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/' rel='bookmark' title='Permanent Link: Using PHP code in Posts &#038; Pages'>Using PHP code in Posts &#038; Pages</a></li><li><a href='http://brockangelo.com/2009/04/27/how-to-bulk-import-into-a-mysql-database/' rel='bookmark' title='Permanent Link: How to Bulk Import into a MySQL Database'>How to Bulk Import into a MySQL Database</a></li><li><a href='http://brockangelo.com/2009/12/17/redirect-users-back-to-page-they-were-on/' rel='bookmark' title='Permanent Link: Redirect Users Back to Page They Were On'>Redirect Users Back to Page They Were On</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using PHP code in Posts &amp; Pages</title>
		<link>http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/</link>
		<comments>http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 00:03:12 +0000</pubDate>
		<dc:creator>brockangelo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[exec-php]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wp-syntax]]></category>

		<guid isPermaLink="false">http://brockangelo.com/?p=134</guid>
		<description><![CDATA[There really is no other way around it: you need to be able to add php code to Posts &#038; Pages if you are going to mod your WP install. I use so much PHP &#038; custom SQL queries on the company intranet that WordPress is almost an aside to the main event.
But in order [...]


Related posts:<ol><li><a href='http://brockangelo.com/2008/09/21/removing-categories-from-your-rss-feed/' rel='bookmark' title='Permanent Link: Removing Categories from your RSS feed'>Removing Categories from your RSS feed</a></li><li><a href='http://brockangelo.com/2008/11/02/how-to-change-attributes-for-all-files-and-folders/' rel='bookmark' title='Permanent Link: How to Change Attributes for all Files and Folders'>How to Change Attributes for all Files and Folders</a></li><li><a href='http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/' rel='bookmark' title='Permanent Link: Aligning Navbar to both Left and Right'>Aligning Navbar to both Left and Right</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>There really is no other way around it: you need to be able to add php code to Posts &#038; Pages if you are going to mod your WP install. I use so much PHP &#038; custom SQL queries on the company intranet that WordPress is almost an aside to the main event.</p>
<p>But in order to use PHP code inside posts, pages &amp; widgets, you need to get the <a href="http://bluesome.net/post/2005/08/18/50/">Exec-PHP plugin</a>. It is truly amazing. Once it is installed, just turn off your Rich Text Editor and start coding away. But what do you do when you want to <em>display PHP code</em> inside of one of your posts? There are times that you&#8217;ll want to show off your PHP code without executing it. That can be done too. Taken from the exec-php homepage:<br />
<em>If you just want to print out code and don’t want to execute it, e.g. like it is done here on this page, you have to make sure to convert your code to the correct XHTML representation.<br />
</em></p>
<blockquote><p><center></p>
<table>
<tr>
<td width="33%">
<h4>&lt;</h4>
</td>
<td width="33%">type</td>
<td width="33%">
<h4><code>&amp;lt;</code></h4>
</td>
</tr>
<tr>
<td width="33%">
<h4>&gt;</h4>
</td>
<td width="33%">type</td>
<td width="33%">
<h4><code>&amp;gt;</code></h4>
</td>
</tr>
<tr>
<td width="33%">
<h4>&amp;</h4>
</td>
<td width="33%">type</td>
<td width="33%">
<h4><code>&amp;amp;</code></h4>
</td>
</tr>
</table>
<p></center></p></blockquote>
<p>This is, however, very tedious if you think you&#8217;ll put PHP in your code more than once. You can do this conversion much more intelligently by using the <a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> plugin. It creates nice colorful code boxes and formats them to any code format (PHP, Java, HTML, C+, Ruby, etc). It looks like this:</p>
<pre class="brush: php;">
&amp;lt;div id=&amp;quot;navbar&amp;quot;&amp;gt;
	&amp;lt;ul&amp;gt;	&amp;lt;table width=&amp;quot;100%&amp;quot;&amp;gt;
			&amp;lt;tr&amp;gt;
		&amp;lt;td width=&amp;quot;80%&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;&amp;lt;?php echo get_settings('home'); ?&amp;gt;&amp;quot;&amp;gt;Home&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
		&amp;lt;?php wp_list_pages('title_li=&amp;amp;depth=1&amp;amp;include=38'); ?&amp;gt;
		&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;http://brockangelo.com/category/ubuntu/&amp;quot;&amp;gt;Ubuntu&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
		&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;http://brockangelo.com/category/wordpress/&amp;quot;&amp;gt;WordPress&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
		&amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;&amp;lt;?php bloginfo('rss2_url'); ?&amp;gt;&amp;quot;&amp;gt;RSS&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/td&amp;gt;
		&amp;lt;td width=&amp;quot;20%&amp;quot; align=&amp;quot;right&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a&amp;gt;&amp;lt;?php echo (date(&amp;quot;g:i a&amp;quot;)); ?&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/td&amp;gt;
			&amp;lt;/tr&amp;gt;
		&amp;lt;/table&amp;gt;
	&amp;lt;/ul&amp;gt;
&amp;lt;/div&amp;gt;</pre>


<p>Related posts:<ol><li><a href='http://brockangelo.com/2008/09/21/removing-categories-from-your-rss-feed/' rel='bookmark' title='Permanent Link: Removing Categories from your RSS feed'>Removing Categories from your RSS feed</a></li><li><a href='http://brockangelo.com/2008/11/02/how-to-change-attributes-for-all-files-and-folders/' rel='bookmark' title='Permanent Link: How to Change Attributes for all Files and Folders'>How to Change Attributes for all Files and Folders</a></li><li><a href='http://brockangelo.com/2008/09/10/aligning-navbar-to-both-left-and-right/' rel='bookmark' title='Permanent Link: Aligning Navbar to both Left and Right'>Aligning Navbar to both Left and Right</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://brockangelo.com/2008/09/06/using-php-code-in-posts-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
