<?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>Microshell &#187; PHP</title>
	<atom:link href="http://www.microshell.com/browse/programming/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microshell.com</link>
	<description>Learn something share something</description>
	<lastBuildDate>Sun, 09 May 2010 03:04:30 +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>PHP exception handling.</title>
		<link>http://www.microshell.com/programming/php/php-exception-handling/</link>
		<comments>http://www.microshell.com/programming/php/php-exception-handling/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 19:09:24 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1807</guid>
		<description><![CDATA[I normally post tutorials, how-tos or the likes. This post is a little bit different than the others. It&#8217;s more like a thought that I came across when I finally decided to use PHP&#8217;s exception handling.
Here&#8217;s the basic form of PHP&#8217;s exception handling.

try {
	// Do something
} catch (DataErrorException $e) {
	// Handle data error here
} catch [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/php-exception-handling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML and Ampersand (&amp;)</title>
		<link>http://www.microshell.com/programming/php/xml-and-ampersand/</link>
		<comments>http://www.microshell.com/programming/php/xml-and-ampersand/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 00:50:33 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General / Algorithm]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1662</guid>
		<description><![CDATA[I&#8217;m not sure if many programmers know this. But it&#8217;s always a good thing to make sure that they (including me) do. XML specification doesn&#8217;t allow ampersand (&#038;). Here&#8217;s a quote from W3c.org XML recommendation with bold emphasis added by me.

The ampersand character (&#038;) and the left angle bracket ( 5C&#8217;. How would you write [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/xml-and-ampersand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_PHPLIB[libdir] Cross Site Scripting Exploit Explained</title>
		<link>http://www.microshell.com/programming/php/_phpliblibdir-cross-site-scripting-exploit-explained/</link>
		<comments>http://www.microshell.com/programming/php/_phpliblibdir-cross-site-scripting-exploit-explained/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 04:41:10 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1580</guid>
		<description><![CDATA[Lately, I&#8217;ve seen an increased attack of bad people trying to run XSS exploit on this website using _PHPLIB[libdir] exploit. It alarmed me a bit as I didn&#8217;t really know about that particular exploit. Obviously I wanted to make sure that my site is not vulnerable for it. So I did a little bit digging.
For [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/_phpliblibdir-cross-site-scripting-exploit-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing 2 dates in PHP &#8211; A better way</title>
		<link>http://www.microshell.com/programming/php/comparing-2-dates-in-php-a-better-way/</link>
		<comments>http://www.microshell.com/programming/php/comparing-2-dates-in-php-a-better-way/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 16:47:08 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1546</guid>
		<description><![CDATA[If you Google around for php compare 2 dates, (at the time of this writing) typically they suggest for you to convert the date string into some integer using mktime() or strtotime(). Both the functions returns you Unix timestamp.
Understanding Unix Timestamp
In my other article, I mentioned that one of the golden rule of programming is [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/comparing-2-dates-in-php-a-better-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote debugging PHP using Xdebug on MAMP</title>
		<link>http://www.microshell.com/programming/php/remote-debugging-php-using-xdebug-on-mamp/</link>
		<comments>http://www.microshell.com/programming/php/remote-debugging-php-using-xdebug-on-mamp/#comments</comments>
		<pubDate>Fri, 22 May 2009 06:19:50 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1107</guid>
		<description><![CDATA[A development tools such as Microsoft Visual Studio has debugging feature built-in where you can step through the code line by line and watch the variables. There are times when you may want to do the same thing with PHP script running in a remote (or it could be local as well) web server. It [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/remote-debugging-php-using-xdebug-on-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using PHP Variable Variable.</title>
		<link>http://www.microshell.com/programming/php/using-php-variable-variable/</link>
		<comments>http://www.microshell.com/programming/php/using-php-variable-variable/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 22:30:45 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=1046</guid>
		<description><![CDATA[I&#8217;ve known the concept of PHP&#8217;s variable-variable from when I start working with PHP years ago. I thought it&#8217;s a neat feature that I&#8217;m not sure what, if any, it is useful for. Just recently, I found that it&#8217;s actually useful for me while generating XML using SimpleXML. If you&#8217;ve never heard about variable-variable, then [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/using-php-variable-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding script name on SQL queries</title>
		<link>http://www.microshell.com/database/sql/automatically-adding-script-name-on-sql/</link>
		<comments>http://www.microshell.com/database/sql/automatically-adding-script-name-on-sql/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 06:45:43 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General SQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=855</guid>
		<description><![CDATA[Have you ever done SHOW FULL PROCESSLIST on MySQL and found that there are some queries that has been running for a long time? Then you tried to find out from where the query was initiated so that you can debug those script only to find out that there are many similar queries from different [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/database/sql/automatically-adding-script-name-on-sql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Analyzing data in Unix using PHP CLI.</title>
		<link>http://www.microshell.com/programming/php/analyzing-data-in-unix-using-php-cli/</link>
		<comments>http://www.microshell.com/programming/php/analyzing-data-in-unix-using-php-cli/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 00:38:51 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General Unix]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=694</guid>
		<description><![CDATA[There are times when I need to quickly gather some quick data in a simple tab based or space based delimited file, most often log files. Also, the files that I work on are often huge, well according to my standard at least &#8230; about 1GB. The data that I need is often simple statistics [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/analyzing-data-in-unix-using-php-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computing degrees of separation in social networking.</title>
		<link>http://www.microshell.com/programming/php/computing-degrees-of-separation-in-social-networking/</link>
		<comments>http://www.microshell.com/programming/php/computing-degrees-of-separation-in-social-networking/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 14:31:23 +0000</pubDate>
		<dc:creator>Maresa</dc:creator>
				<category><![CDATA[General / Algorithm]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.microshell.com/?p=163</guid>
		<description><![CDATA[As the final question in one of my interviews a while ago, I was asked to compute the average degrees of separation in social networking site. If you don&#8217;t know what degree of separation, here&#8217;s an example.
Amy is a friend of Robert. Therefore, Amy and Robert are 1st degree friend. Robert is a friend of [...]]]></description>
		<wfw:commentRss>http://www.microshell.com/programming/php/computing-degrees-of-separation-in-social-networking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
