<?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>Karl Sheen Blog</title>
	<atom:link href="http://karlsheen.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://karlsheen.com</link>
	<description>Php, mysql and mootools outside the box</description>
	<lastBuildDate>Mon, 19 Jul 2010 06:49:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Accessing email content using NetPop3</title>
		<link>http://karlsheen.com/php/accessing-email-content-using-netpop3/</link>
		<comments>http://karlsheen.com/php/accessing-email-content-using-netpop3/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 06:46:16 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=381</guid>
		<description><![CDATA[NetPop3 is a class to allow access to POP3 servers. It supports all POP3 commands including UIDL  listings and APOP authentication. 
Download the package first at http://pear.php.net/package/Net_POP3/download
Create a php file and include the NetPop3 at the beginning of the file
include 'POP3.php';
Connect and login using connect() and login(). Enter the host, email and password.
$pop3-&#62;connect( mail.host.com<a href="http://karlsheen.com/php/accessing-email-content-using-netpop3/"> Read more...</a>]]></description>
		<wfw:commentRss>http://karlsheen.com/php/accessing-email-content-using-netpop3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the noscript tag?</title>
		<link>http://karlsheen.com/javascript/what-is-the-noscript-tag/</link>
		<comments>http://karlsheen.com/javascript/what-is-the-noscript-tag/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 10:39:41 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=363</guid>
		<description><![CDATA[The noscript tag allows browsers without javascript support to show an alternative html content. To use, insert the noscript tag inside the body of the document.

&#60;body&#62;
&#60;script type=&#34;text/javascript&#34;&#62;
document.write('Javascript is enabled.');
&#60;/script&#62;
&#60;noscript&#62;
Javascript is not enabled.
&#60;/noscript&#62;
&#60;/body&#62;

]]></description>
		<wfw:commentRss>http://karlsheen.com/javascript/what-is-the-noscript-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force Quit an Application in Mac OS X</title>
		<link>http://karlsheen.com/mac/force-quit-an-application-in-mac-os-x/</link>
		<comments>http://karlsheen.com/mac/force-quit-an-application-in-mac-os-x/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 06:27:58 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=352</guid>
		<description><![CDATA[Any unsaved application data will not be saved once an application was forced to quit. Do it only if necessary.
When to force quit an application? Only when its unresponsive and cannot be quit in a usual manner.

How to force quit?
1.) By pressing Command, Option and Escape at the same time. It will give you the<a href="http://karlsheen.com/mac/force-quit-an-application-in-mac-os-x/"> Read more...</a>]]></description>
		<wfw:commentRss>http://karlsheen.com/mac/force-quit-an-application-in-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scrolling to the Top and Bottom of the page using Mootools</title>
		<link>http://karlsheen.com/mootools/scrolling-to-the-top-and-bottom-of-the-page-using-mootools/</link>
		<comments>http://karlsheen.com/mootools/scrolling-to-the-top-and-bottom-of-the-page-using-mootools/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 01:22:55 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Mootools]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=343</guid>
		<description><![CDATA[Scrolling to the top and bottom is very easy in mootools. Check out the code below.

window.addEvent('domready', function(){

	var myFx = new Fx.Scroll(window);

	$('bottom').addEvent('click', function(e){
		e.stop();
		myFx.toBottom();
	});

	$('top').addEvent('click', function(e){
		e.stop();
		myFx.toTop();
	});

});

Lines 5-8 lets you scroll to the bottom of the page. While lines 10-13 lets you scroll to the top of the page. Easy huh? 
Note: Fx.Scroll plugin must be included. Get it<a href="http://karlsheen.com/mootools/scrolling-to-the-top-and-bottom-of-the-page-using-mootools/"> Read more...</a>]]></description>
		<wfw:commentRss>http://karlsheen.com/mootools/scrolling-to-the-top-and-bottom-of-the-page-using-mootools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fx.slide using Mootools and CakePhp</title>
		<link>http://karlsheen.com/mootools/fx-slide-using-mootools-and-cakephp/</link>
		<comments>http://karlsheen.com/mootools/fx-slide-using-mootools-and-cakephp/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 06:17:59 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=369</guid>
		<description><![CDATA[Using Fx.slide in Cakephp is very easy. In this tutorial, I assume you know how the MVC works and how to create one.
First, include the javascript in the head section of the default.ctp file. There are only two javascript files. They are the mootools.js( core ) and slider.js. Put these files inside /app/webroot/js.

echo $this-&#62;Html-&#62;script('mootools');
echo $this-&#62;Html-&#62;script('slider');

In<a href="http://karlsheen.com/mootools/fx-slide-using-mootools-and-cakephp/"> Read more...</a>]]></description>
		<wfw:commentRss>http://karlsheen.com/mootools/fx-slide-using-mootools-and-cakephp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mootools Wordpress Delete Effect</title>
		<link>http://karlsheen.com/mootools/mootools-wordpress-delete-effect/</link>
		<comments>http://karlsheen.com/mootools/mootools-wordpress-delete-effect/#comments</comments>
		<pubDate>Sun, 30 May 2010 09:15:37 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Mootools]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=320</guid>
		<description><![CDATA[This tutorial will show how to animate a content when a delete link is clicked. The script is based on wordpress comment deletion.
Create first a html file and put the following code inside the body.

&#60;ul id="list"&#62;
&#60;li&#62;List 1 &#60;a name="status" href="1"&#62;Delete&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;List 2 &#60;a name="status" href="2"&#62;Delete&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;List 3 &#60;a name="status" href="3"&#62;Delete&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;List 4 &#60;a name="status" href="4"&#62;Delete&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;List 5 &#60;a name="status"<a href="http://karlsheen.com/mootools/mootools-wordpress-delete-effect/"> Read more...</a>]]></description>
		<wfw:commentRss>http://karlsheen.com/mootools/mootools-wordpress-delete-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Mootools Shoutbox</title>
		<link>http://karlsheen.com/mootools/simple-mootools-shoutbox/</link>
		<comments>http://karlsheen.com/mootools/simple-mootools-shoutbox/#comments</comments>
		<pubDate>Sat, 29 May 2010 04:14:57 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Mootools]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=245</guid>
		<description><![CDATA[In this tutorial i&#8217;ll show how to create a simple shoutbox mootools script that is based from other existing shoutbox on the net.
Features of simple mootools shoutbox:

Posting of messages
Refreshes the page periodically for new posts to appear
Loads previous messages
Uses mysql as data storage

Lets start with the database first.
We will create a new database named shoutbox,<a href="http://karlsheen.com/mootools/simple-mootools-shoutbox/"> Read more...</a>]]></description>
		<wfw:commentRss>http://karlsheen.com/mootools/simple-mootools-shoutbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is T_PAAMAYIM_NEKUDOTAYIM?</title>
		<link>http://karlsheen.com/php/what-is-t_paamayim_nekudotayim/</link>
		<comments>http://karlsheen.com/php/what-is-t_paamayim_nekudotayim/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 05:21:44 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=79</guid>
		<description><![CDATA[It is a scope resolution operator that can be found in Php. Paamayim Nekudotayim in Hebrew means &#8220;twice colon&#8221; or &#8220;double colon&#8221;.  
]]></description>
		<wfw:commentRss>http://karlsheen.com/php/what-is-t_paamayim_nekudotayim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot upload in mac web server using php</title>
		<link>http://karlsheen.com/php/cannot-upload-in-mac-web-server-using-php/</link>
		<comments>http://karlsheen.com/php/cannot-upload-in-mac-web-server-using-php/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 09:25:01 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=55</guid>
		<description><![CDATA[I bought a macbook last december 2009 and transfer my files from my windows laptop. After the the transfer, the first thing I did is to browse the projects that I&#8217;ve done. While browsing, I came across a page where in there is a file upload facility. Then I started to upload a file. While<a href="http://karlsheen.com/php/cannot-upload-in-mac-web-server-using-php/"> Read more...</a>]]></description>
		<wfw:commentRss>http://karlsheen.com/php/cannot-upload-in-mac-web-server-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql_num_rows() VS mysql_affected_rows()</title>
		<link>http://karlsheen.com/php/mysql_num_rows-vs-mysql_affected_rows/</link>
		<comments>http://karlsheen.com/php/mysql_num_rows-vs-mysql_affected_rows/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 08:59:57 +0000</pubDate>
		<dc:creator>karlsheen</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://karlsheen.com/?p=50</guid>
		<description><![CDATA[Whats is the difference between <span class="wpre">mysql_num_rows()</span> and <span class="wpre">mysql_affected_rows()</span>? <span class="wpre">mysql_num_rows()</span> is used together  with select statements while the <span class="wpre">mysql_affected_rows()</span> is used with update, delete and insert statements. 

An example of <span class="wpre">mysql_affected_rows()</span>.

<pre class="php" name="code">
$result = mysql_query( "INSERT INTO mysqltable VALUES( NULL, '$value' )" );
$rows = mysql_affected_rows();
// returns 1
</pre>]]></description>
		<wfw:commentRss>http://karlsheen.com/php/mysql_num_rows-vs-mysql_affected_rows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
