<?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>Hitlanka</title>
	<atom:link href="http://hitlanka.com/tutorials/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://hitlanka.com/tutorials</link>
	<description>Read What you Need !</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:36:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Easy Origami Box</title>
		<link>http://hitlanka.com/tutorials/?p=367</link>
		<comments>http://hitlanka.com/tutorials/?p=367#comments</comments>
		<pubDate>Fri, 27 Jan 2012 16:36:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Origami-Paper Work]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=367</guid>
		<description><![CDATA[Here is another variation of the origami box. This easy origami box is similar to the masu or traditional box. Easy Origami Box Step 1: Fold a Blintz Base. This is a commonly used base in origami so we&#8217;ve made a separate page of instructions for it. &#160; &#160; Easy Origami Box Step 2: Open [...]]]></description>
			<content:encoded><![CDATA[<p>Here is another variation of the origami box. This easy origami box is similar to the masu or traditional box.</p>
<p>Easy Origami Box Step 1: Fold a <a href="http://www.origami-instructions.com/origami-blintz-base.html">Blintz Base</a>. This is a commonly used base in origami so we&#8217;ve made a separate page of instructions for it.</p>
<p><img title="Easy Origami Box Step 1" src="http://www.origami-instructions.com/images/easy-box/thumbnails/01-easy-box.jpg" alt="easy-origami-box-step-1" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 2: Open up the paper.</p>
<p><img title="Easy Origami Box Step 2" src="http://www.origami-instructions.com/images/easy-box/thumbnails/02-easy-box.jpg" alt="easy-origami-box-step-2" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 3: Fold in the 4 corners as indicated below.</p>
<p><img title="Easy Origami Box Step 3" src="http://www.origami-instructions.com/images/easy-box/thumbnails/02a-easy-box.jpg" alt="easy-origami-box-step-3" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 3" src="http://www.origami-instructions.com/images/easy-box/thumbnails/03-easy-box.jpg" alt="easy-origami-box-step-3" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 3" src="http://www.origami-instructions.com/images/easy-box/thumbnails/05-easy-box.jpg" alt="easy-origami-box-step-3" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><span id="more-367"></span></p>
<p>Easy Origami Box Step 4: We&#8217;re going to fold the 4 corners in once again.</p>
<p><img title="Easy Origami Box Step 4" src="http://www.origami-instructions.com/images/easy-box/thumbnails/05a-easy-box.jpg" alt="easy-origami-box-step-4" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 4" src="http://www.origami-instructions.com/images/easy-box/thumbnails/06-easy-box.jpg" alt="easy-origami-box-step-4" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 4" src="http://www.origami-instructions.com/images/easy-box/thumbnails/09-easy-box.jpg" alt="easy-origami-box-step-4" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 5: FLIP paper over.</p>
<p><img title="Easy Origami Box Step 5" src="http://www.origami-instructions.com/images/easy-box/thumbnails/10-easy-box.jpg" alt="easy-origami-box-step-5" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 6: Rotate paper slightly so that you see a square. Now fold both the top and bottom halves to the center. Crease well and unfold.</p>
<p><img title="Easy Origami Box Step 6" src="http://www.origami-instructions.com/images/easy-box/thumbnails/11a-easy-box.jpg" alt="easy-origami-box-step-6" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 6" src="http://www.origami-instructions.com/images/easy-box/thumbnails/12-easy-box.jpg" alt="easy-origami-box-step-6" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 6" src="http://www.origami-instructions.com/images/easy-box/thumbnails/13-easy-box.jpg" alt="easy-origami-box-step-6" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 6" src="http://www.origami-instructions.com/images/easy-box/thumbnails/14-easy-box.jpg" alt="easy-origami-box-step-6" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 7: Fold both the right and left sides to meet in the center.</p>
<p><img title="Easy Origami Box Step 7" src="http://www.origami-instructions.com/images/easy-box/thumbnails/14a-easy-box.jpg" alt="easy-origami-box-step-7" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 7" src="http://www.origami-instructions.com/images/easy-box/thumbnails/15-easy-box.jpg" alt="easy-origami-box-step-7" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 8: Now bring the top flap over from the right to the left.</p>
<p><img title="Easy Origami Box Step 8" src="http://www.origami-instructions.com/images/easy-box/thumbnails/16-easy-box.jpg" alt="easy-origami-box-step-8" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 8" src="http://www.origami-instructions.com/images/easy-box/thumbnails/17-easy-box.jpg" alt="easy-origami-box-step-8" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 8" src="http://www.origami-instructions.com/images/easy-box/thumbnails/18-easy-box.jpg" alt="easy-origami-box-step-8" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 9: Fold the top and bottom right corners on the diagonal as shown below.</p>
<p><img title="Easy Origami Box Step 9" src="http://www.origami-instructions.com/images/easy-box/thumbnails/18a-easy-box.jpg" alt="easy-origami-box-step-9" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 9" src="http://www.origami-instructions.com/images/easy-box/thumbnails/19-easy-box.jpg" alt="easy-origami-box-step-9" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 10: Now bring both flaps over from the left to the right.</p>
<p><img title="Easy Origami Box Step 10" src="http://www.origami-instructions.com/images/easy-box/thumbnails/20-easy-box.jpg" alt="easy-origami-box-step-10" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 10" src="http://www.origami-instructions.com/images/easy-box/thumbnails/21-easy-box.jpg" alt="easy-origami-box-step-10" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 10" src="http://www.origami-instructions.com/images/easy-box/thumbnails/22-easy-box.jpg" alt="easy-origami-box-step-10" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 10" src="http://www.origami-instructions.com/images/easy-box/thumbnails/23-easy-box.jpg" alt="easy-origami-box-step-10" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 11: This time, we&#8217;ll fold in the top and bottom left corners on the diagonal as shown below.</p>
<p><img title="Easy Origami Box Step 11" src="http://www.origami-instructions.com/images/easy-box/thumbnails/23a-easy-box.jpg" alt="easy-origami-box-step-11" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 11" src="http://www.origami-instructions.com/images/easy-box/thumbnails/24-easy-box.jpg" alt="easy-origami-box-step-11" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 12: Now bring only the top flap over from the right to the left.</p>
<p><img title="Easy Origami Box Step 12" src="http://www.origami-instructions.com/images/easy-box/thumbnails/25-easy-box.jpg" alt="easy-origami-box-step-12" width="400" height="299" /></p>
<p><img title="Easy Origami Box Step 12" src="http://www.origami-instructions.com/images/easy-box/thumbnails/26-easy-box.jpg" alt="easy-origami-box-step-12" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Easy Origami Box Step 13: Here comes the fun part&#8230;.shaping our origami box! Pry open the paper with your fingers.</p>
<p><img title="Easy Origami Box Step 13" src="http://www.origami-instructions.com/images/easy-box/thumbnails/26a-easy-box.jpg" alt="easy-origami-box-step-13" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 13" src="http://www.origami-instructions.com/images/easy-box/thumbnails/27-easy-box.jpg" alt="easy-origami-box-step-13" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box Step 13" src="http://www.origami-instructions.com/images/easy-box/thumbnails/28-easy-box.jpg" alt="easy-origami-box-step-13" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>Straighten the sides and like magic, you have your easy origami box!</p>
<p><img title="Easy Origami Box" src="http://www.origami-instructions.com/images/easy-box/thumbnails/29-easy-box.jpg" alt="easy-origami-box" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Easy Origami Box" src="http://www.origami-instructions.com/images/easy-box/thumbnails/30-easy-box.jpg" alt="easy-origami-box" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div>Did you make this origami? If so, <a title="Submit questions/comments and photos to us!" href="http://www.origami-instructions.com/submit-origami-pictures.html">share your photo with us and other readers!</a></div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D367&amp;t=Easy%20Origami%20Box" id="facebook_share_link_367">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_367') || document.getElementById('facebook_share_icon_367') || document.getElementById('facebook_share_both_367') || document.getElementById('facebook_share_button_367');
	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_367') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=367</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Origami Ninja Star &#8211; Origami Shuriken Folding Instructions</title>
		<link>http://hitlanka.com/tutorials/?p=365</link>
		<comments>http://hitlanka.com/tutorials/?p=365#comments</comments>
		<pubDate>Fri, 27 Jan 2012 16:33:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Origami-Paper Work]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=365</guid>
		<description><![CDATA[The ninja star is known as &#8220;Shuriken&#8221; in Japanese. This origami ninja star is a true classic! Kids around the world have spent countless hours playing with this origami masterpiece, whether pretending to be ninja warriors on a mission or having competitions to see whose origami ninja star will fly the farthest! This origami ninja [...]]]></description>
			<content:encoded><![CDATA[<p>The ninja star is known as &#8220;Shuriken&#8221; in Japanese. This origami ninja star is a true classic! Kids around the world have spent countless hours playing with this origami masterpiece, whether pretending to be ninja warriors on a mission or having competitions to see whose origami ninja star will fly the farthest!</p>
<p>This origami ninja star is a modular origami. You make 4 of the same basic unit, then attach them without using any glue or tape.</p>
<p>Origami Ninja Star Step 1: Start with 2 pieces of square origami paper color sides down. You can use the same color if you want. I use 2 different colors so that it&#8217;s easier to see.</p>
<p><img title="Origami Ninja Star Step 1" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/01-origami-ninja-star.jpg" alt="origami-ninja-star-step-1" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 2: Fold them in half. This is called a book fold. Crease well and unfold.</p>
<p><img title="Origami Ninja Star Step 2" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/02-origami-ninja-star.jpg" alt="origami-ninja-star-step-2" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 2" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/03-origami-ninja-star.jpg" alt="origami-ninja-star-step-2" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 3: Fold both halves of each paper to meet the center crease. This is called a cupboard fold.</p>
<p><img title="Origami Ninja Star Step 3" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/04-origami-ninja-star.jpg" alt="origami-ninja-star-step-3" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 4: OK, we will now fold each paper in half along the vertical axis.</p>
<p><span id="more-365"></span></p>
<p><img title="Origami Ninja Star Step 4" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/05-origami-ninja-star.jpg" alt="origami-ninja-star-step-4" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 4" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/06-origami-ninja-star.jpg" alt="origami-ninja-star-step-4" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 5: Fold them in half along the horizontal axis. Crease and unfold.</p>
<p><img title="Origami Ninja Star Step 5" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/07-origami-ninja-star.jpg" alt="origami-ninja-star-step-5" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 5" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/08-origami-ninja-star.jpg" alt="origami-ninja-star-step-5" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 6: We now need to fold on the dash lines as shown below. Notice that the folds are now opposite of one another.</p>
<p><img title="Origami Ninja Star Step 6" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/08a-origami-ninja-star.jpg" alt="origami-ninja-star-step-6" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 7: Let&#8217;s fold the top parts first. Fold along the diagonal so that the edges line up and you form a triangle.</p>
<p><img title="Origami Ninja Star Step 7" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/09a-origami-ninja-star.jpg" alt="origami-ninja-star-step-7" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 7" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/10-origami-ninja-star.jpg" alt="origami-ninja-star-step-7" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 8: Let&#8217;s now fold the bottom parts.</p>
<p><img title="Origami Ninja Star Step 8" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/11a-origami-ninja-star.jpg" alt="origami-ninja-star-step-8" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 8" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/12-origami-ninja-star.jpg" alt="origami-ninja-star-step-8" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>This is what you should have now:</p>
<p><img title="Origami Ninja Star Step 8" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/13-origami-ninja-star.jpg" alt="origami-ninja-star-step-8" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 9: We now need to make 4 folds as shown by the dash lines below.</p>
<p><img title="Origami Ninja Star Step 9" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/13a-origami-ninja-star.jpg" alt="origami-ninja-star-step-9" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 10: Let&#8217;s fold the left (purple) one first. Bring the top half over to the right and crease well. Bring the bottom half over to the left. The dash lines show where the crease should be.</p>
<p><img title="Origami Ninja Star Step 10" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/14-origami-ninja-star.jpg" alt="origami-ninja-star-step-10" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Origami Ninja Star Step 10" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/15a-origami-ninja-star.jpg" alt="origami-ninja-star-step-10" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Origami Ninja Star Step 10" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/16-origami-ninja-star.jpg" alt="origami-ninja-star-step-10" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 11: Let&#8217;s work on the yellow one now. The yellow is opposite from the purple. So, let&#8217;s fold the top half over to the left and the bottom half over to the right. Crease where the dash lines are in the picture below.</p>
<p><img title="Origami Ninja Star Step 11" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/17a-origami-ninja-star.jpg" alt="origami-ninja-star-step-11" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 11" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/18-origami-ninja-star.jpg" alt="origami-ninja-star-step-11" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 11" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/19-origami-ninja-star.jpg" alt="origami-ninja-star-step-11" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 12: OK, Now flip the purple one only.</p>
<p><img title="Origami Ninja Star Step 12" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/20-origami-ninja-star.jpg" alt="origami-ninja-star-step-12" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 13: Now rotate the yellow one 90 degrees counter clockwise so that it&#8217;s like in the picture below.</p>
<p><img title="Origami Ninja Star Step 13" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/21-origami-ninja-star.jpg" alt="origami-ninja-star-step-13" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 14: Now place the yellow paper on top of the purple like so.</p>
<p><img title="Origami Ninja Star Step 14" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/22-origami-ninja-star.jpg" alt="origami-ninja-star-step-14" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 15: OK, now comes the somewhat tricky part. We will fold the purple over on both ends and fit them under the yellow paper.</p>
<p>See the white dash lines? Fold the top triangle over on the white dash line and fit the tip under the yellow flap. Fold the bottom triangle over on the white dash line and fit the tip under the yellow flap.</p>
<p>Follow the photos below.</p>
<p><img title="Origami Ninja Star Step 15" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/22a-origami-ninja-star.jpg" alt="origami-ninja-star-step-15" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 15" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/23-origami-ninja-star.jpg" alt="origami-ninja-star-step-15" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Origami Ninja Star Step 15" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/24-origami-ninja-star.jpg" alt="origami-ninja-star-step-15" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Origami Ninja Star Step 15" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/26-origami-ninja-star.jpg" alt="origami-ninja-star-step-15" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 16: FLIP Paper over and this is what you should see.</p>
<p><img title="Origami Ninja Star Step 16" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/27-origami-ninja-star.jpg" alt="origami-ninja-star-step-16" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 17: We will now fold the yellow tips over and fit them under the purple flap. It will be a snug fit!</p>
<p><img title="Origami Ninja Star Step 17" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/28-origami-ninja-star.jpg" alt="origami-ninja-star-step-17" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 17" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/29-origami-ninja-star.jpg" alt="origami-ninja-star-step-17" width="400" height="299" /></p>
<p>&nbsp;</p>
<p><img title="Origami Ninja Star Step 17" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/30-origami-ninja-star.jpg" alt="origami-ninja-star-step-17" width="400" height="299" /></p>
<p><img title="Origami Ninja Star Step 17" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/31-origami-ninja-star.jpg" alt="origami-ninja-star-step-17" width="400" height="299" /></p>
<p>&nbsp;</p>
<p>Origami Ninja Star Step 18: FLIP paper over. After all your hard work, this is your origami ninja star! You can now start throwing it&#8230;just not at people!</p>
<p><img title="Origami Ninja Star Step 18" src="http://www.origami-instructions.com/images/ninja-star/thumbnails/32-origami-ninja-star.jpg" alt="origami-ninja-star-step-18" width="400" height="299" /></p>
<p>This is one popular origami and we&#8217;ve photos to prove it! Check out the <a href="http://www.origami-instructions.com/origami-ninja-star-photos-p2.html">many photos</a> we&#8217;ve received from readers who&#8217;ve folded this origami ninja stars!</p>
<p>&nbsp;</p>
<div>Did you make this origami? If so, <a title="Submit questions/comments and photos to us!" href="http://www.origami-instructions.com/submit-origami-pictures.html">share your photo with us and other readers!</a></div>
<p>&nbsp;</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D365&amp;t=Origami%20Ninja%20Star%20-%20Origami%20Shuriken%20Folding%20Instructions" id="facebook_share_link_365">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_365') || document.getElementById('facebook_share_icon_365') || document.getElementById('facebook_share_both_365') || document.getElementById('facebook_share_button_365');
	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_365') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=365</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>History of Origami</title>
		<link>http://hitlanka.com/tutorials/?p=362</link>
		<comments>http://hitlanka.com/tutorials/?p=362#comments</comments>
		<pubDate>Fri, 27 Jan 2012 16:30:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Origami-Paper Work]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=362</guid>
		<description><![CDATA[Paper was invented in China in the first century A.D. and brought to Japan by Buddhist monks in the sixth century A.D. However, the written records for the period are limited, so it is unknown whether origami first started in China or Japan. However, no one will dispute that Japan developed origami to a very [...]]]></description>
			<content:encoded><![CDATA[<p>Paper was invented in China in the first century A.D. and brought to Japan by Buddhist monks in the sixth century A.D.</p>
<p>However, the written records for the period are limited, so it is unknown whether origami first started in China or Japan.</p>
<p>However, no one will dispute that Japan developed origami to a very high art form.</p>
<p>Most origami instructions were passed on by oral tradition.</p>
<p>The oldest known written document about Japanese origami, the Senbazuru Orikata (&#8220;How to Fold One Thousand Cranes&#8221;), surfaced in 1797.</p>
<p>The first works of original modern origami (in the 1950&#8242;s) are due to the master Yoshizawa Akira.</p>
<p>It is also known that the Arab world was making paper in the eight century, and the Moors brought paper folding to Spain in the twelfth century.</p>
<p>Paper folding or papiroflexia subsequently became very popular in Spain and South America.</p>
<p><span id="more-362"></span></p>
<p>The kindergarten movement in Germany (introduced around 1835 by Friedrich Froebel) included paper folding.</p>
<p>Paper folding was a popular children&#8217;s hobby in the England of Queen Victoria, as evidenced by a couple of John Tunnel’s illustrations for Through the Looking Glass by Lewis Carroll, featuring two simple origami hats.</p>
<p>While origami is often considered a children&#8217;s pastime in the West, its long history in Japan has enmeshed it in the cultural identity.</p>
<p>References:</p>
<p>1) Origami: A Brief History of the Ancient Art of Paperfolding, by Joseph Wu.</p>
<p>2) Origami Origins (from the General Libraries at the University of Texas at Austin)</p>
<p>3) Two Miscellaneous Collections of Jottings on the History of Origami, by David Lister</p>
<p>&nbsp;</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D362&amp;t=History%20of%20Origami" id="facebook_share_link_362">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_362') || document.getElementById('facebook_share_icon_362') || document.getElementById('facebook_share_both_362') || document.getElementById('facebook_share_button_362');
	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_362') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=362</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Origami Frog</title>
		<link>http://hitlanka.com/tutorials/?p=359</link>
		<comments>http://hitlanka.com/tutorials/?p=359#comments</comments>
		<pubDate>Fri, 27 Jan 2012 16:26:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=359</guid>
		<description><![CDATA[Start with a square piece of origami paper (green makes convincing frogs).  Now make a square base. Next insert your finger in one of the pockets in the square base. Move the pocket around to the front, then flatten and crease it. This classic origami move is known as the squash fold. &#160; Photo below [...]]]></description>
			<content:encoded><![CDATA[<p>Start with a square piece of origami paper (green makes convincing frogs).  Now make a <a href="http://origami-instructions.com/origami-square-base.html">square base</a>.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/01-origami-frog.jpg" alt="green square origami paper" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/02-origami-frog.jpg" alt="origami square base" width="400" height="298" border="0" /></p>
<p>Next insert your finger in one of the pockets in the square base.</p>
<p>Move the pocket around to the front, then flatten and crease it.</p>
<p>This classic origami move is known as the <strong>squash fold</strong>.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/03-origami-frog.jpg" alt="starting squash fold" width="400" height="298" border="0" /></p>
<p><span id="more-359"></span></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/04-origami-frog.jpg" alt="squash fold in progress" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>Photo below shows one of the squash folds completed.  Now perform the squash fold three more times&#8230;</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/05-origami-frog.jpg" alt="completed squash fold" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>&#8230;until the piece has the diamond shape shown below.</p>
<p>Next fold and unfold the corners as shown, to make creasemarks.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/06-origami-frog.jpg" alt="all four squash folds completed" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/07-origami-frog.jpg" alt="corners folded to make creases" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/08-origami-frog.jpg" alt="crease marks" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>Next comes another classic origami move, the <a href="http://www.origami-instructions.com/origami-petal-fold.html">petal fold</a>.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/09-origami-frog.jpg" alt="starting petal fold" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/10-origami-frog.jpg" alt="petal fold in progress" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>The next photo shows the completed petal fold.</p>
<p>Now perform the petal fold three more times (on the other three faces of the diamond), to create the <strong>origami frog base</strong>.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/11-origami-frog.jpg" alt="completed petal fold" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/12-origami-frog.jpg" alt="four petal folds completed, frog base" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Fold the frog base down the centerline as shown.  Then fold the lower edges of one layer into the centerline.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/13-origami-frog.jpg" alt="frog base folded down centerline" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/14-origami-frog.jpg" alt="edges of frog base folded into centerline" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now fold edge A to edge B as shown by the arrow.</p>
<p>The perform the previous three steps again, 3 more times, until the piece looks like below right.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/15-origami-frog.jpg" alt="edge A folded into edge B" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/17-origami-frog.jpg" alt="tadpole ready to become a frog" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now it&#8217;s time to turn the tadpole into a frog!</p>
<p>I like to pre-crease the leg, then use <strong>reverse folds</strong> to create the two front legs (reverse folds are explained <a href="http://origami-instructions.com/origami-flapping-bird.html">here</a>).</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/18-origami-frog.jpg" alt="creasing frog leg in preparation for reverse fold" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/19-origami-frog.jpg" alt="first leg reverse folded" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/20-origami-frog.jpg" alt="both front legs reverse folded" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>Now use reverse folds to stretch the back legs.</p>
<p>Apply reverse folds again, twice each on the front and back pairs of legs, as shown in the photos below.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/21-origami-frog.jpg" alt="rear frog legs reverse folded" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/22-origami-frog.jpg" alt="all legs reverse folded again" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/23-origami-frog.jpg" alt="all legs reverse folded last time" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now you&#8217;ll need to blow where shown, to inflate the frog&#8217;s body.</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/24-origami-frog.jpg" alt="completed origami frog" width="400" height="298" border="0" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>You can make the frog hop for short distances by pressing on the rear of the body, then sliding your finger off onto the table:</p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/25-origami-frog.jpg" alt="using finger on rear of body to make origami frog jump" width="400" height="298" border="0" /></p>
<p><img src="http://www.origami-instructions.com/images/frog/thumbnails/26-origami-frog.jpg" alt="origami frog jumped forward" width="399" height="445" border="0" /></p>
<p>&nbsp;</p>
<p>O-ribit-gami!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Check out the many <a href="http://www.origami-instructions.com/origami-frog-photos-p1.html">origami frog photos</a> that have been submitted by our readers!</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D359&amp;t=Origami%20Frog%20" id="facebook_share_link_359">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_359') || document.getElementById('facebook_share_icon_359') || document.getElementById('facebook_share_both_359') || document.getElementById('facebook_share_button_359');
	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_359') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=359</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Origami Kusudama Flower Folding Instructions</title>
		<link>http://hitlanka.com/tutorials/?p=357</link>
		<comments>http://hitlanka.com/tutorials/?p=357#comments</comments>
		<pubDate>Fri, 27 Jan 2012 16:24:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Origami-Paper Work]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=357</guid>
		<description><![CDATA[Start with a square of origami paper, colored side down: &#160; Make a valley fold along one diagonal: &#160; Now fold corners A and B up to corner C: &#160; Now fold the edge BD onto the edge DE: &#160; Repeat on the other side: &#160; Place your finger in one of the outer pockets, [...]]]></description>
			<content:encoded><![CDATA[<p>Start with a square of origami paper, colored side down:</p>
<p><img title="01-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/01-origami-kusudama-flower.jpg" alt="01-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Make a <a href="http://www.origami-instructions.com/origami-valley-and-mountain-folds.html">valley fold</a> along one diagonal:</p>
<p><img title="02-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/02-origami-kusudama-flower.jpg" alt="02-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p><span id="more-357"></span></p>
<p>&nbsp;</p>
<p>Now fold corners A and B up to corner C:</p>
<p><img title="03-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/03-origami-kusudama-flower.jpg" alt="03-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Now fold the edge BD onto the edge DE:</p>
<p><img title="04-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/04-origami-kusudama-flower.jpg" alt="04-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Repeat on the other side:</p>
<p><img title="05-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/05-origami-kusudama-flower.jpg" alt="05-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Place your finger in one of the outer pockets, and make a <a href="http://www.origami-instructions.com/origami-squash-fold.html">squash fold</a> as shown in the next three (3) photos:</p>
<p><img title="06-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/06-origami-kusudama-flower.jpg" alt="06-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p><img title="07-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/07-origami-kusudama-flower.jpg" alt="07-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img title="08-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/08-origami-kusudama-flower.jpg" alt="08-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>Repeat the squash fold on the other side:</p>
<p><img title="09-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/09-origami-kusudama-flower.jpg" alt="09-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Now fold down corners F and G as shown:</p>
<p><img title="10-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/10-origami-kusudama-flower.jpg" alt="10-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Fold the outer flaps is half as shown:</p>
<p><img title="11-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/11-origami-kusudama-flower.jpg" alt="11-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Next, we need to glue the two surfaces shown together. We used glue dots, but regular white glue will do just fine.</p>
<p><img title="12-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/12-origami-kusudama-flower.jpg" alt="12-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>After applying the glue, fold the surface together as shown, and hold in place till the glue dries.</p>
<p><img title="13-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/13-origami-kusudama-flower.jpg" alt="13-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p><img title="14-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/14-origami-kusudama-flower.jpg" alt="14-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Now make four (4) more of these pieces. Glue them all together, and you have an origami kusudama flower!</p>
<p><img title="15-origami-kusudama-flower" src="http://www.origami-instructions.com/images/kusudama-flower/thumbnails/15-origami-kusudama-flower.jpg" alt="15-origami-kusudama-flower" width="450" height="337" border="0" /></p>
<p>&nbsp;</p>
<p>Check out the origami kusudama flower as folded and submitted by our readers!</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D357&amp;t=Origami%20Kusudama%20Flower%20Folding%20Instructions" id="facebook_share_link_357">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_357') || document.getElementById('facebook_share_icon_357') || document.getElementById('facebook_share_both_357') || document.getElementById('facebook_share_button_357');
	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_357') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=357</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kloxo Installation Guide</title>
		<link>http://hitlanka.com/tutorials/?p=353</link>
		<comments>http://hitlanka.com/tutorials/?p=353#comments</comments>
		<pubDate>Fri, 27 Jan 2012 05:41:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=353</guid>
		<description><![CDATA[Kloxo Installation Guide Prerequisites 1) A dedicated or virtual server running CentOS or Red Hat EL 5.x. CentOS 6.x is not currently supported. 2) At least 256 MB of RAM (enough to run Yum). 3) At least 2 GB of free disk space for Kloxo and related services. 4) If you partitioned your disks manually, [...]]]></description>
			<content:encoded><![CDATA[<h1><strong><a title="refresh" accesskey="2" href="http://wiki.lxcenter.org/Kloxo+Installation+Guide">Kloxo Installation Guide</a></strong></h1>
<div>Prerequisites</div>
<p><strong>1)</strong> A dedicated or virtual server running CentOS or Red Hat EL 5.x. CentOS 6.x is not currently supported.<br />
<strong>2)</strong> At least 256 MB of RAM (enough to run Yum).<br />
<strong>3)</strong> At least 2 GB of free disk space for Kloxo and related services.<br />
<strong>4)</strong> If you partitioned your disks manually, make sure you have a large /tmp. Kloxo uses /tmp to create and store backups temporarily and the process will fail if there is not enough space.</p>
<div>Before we begin&#8230;</div>
<p>You have to disable SELinux by editing <strong>/etc/sysconfig/selinux</strong> and changing the line to <em>selinux=disabled</em>. This will keep SELinux from being enabled on your server next boot.</p>
<p>Then you <strong>must</strong> run the following command <strong>as root</strong> to disable SELinux for the current session:</p>
<pre dir="ltr"># su - root
# setenforce 0</pre>
<p>If you are unsure this procedure worked, you can run <em>/usr/sbin/sestatus</em> to check its status. <strong>Failure to correctly disable SELinux will render your Kloxo install useless and an OS reload may be required to properly reinstall it.</strong><br />
Also, make sure the ports 7778/tcp and 7777/tcp are open in your server firewall or you won&#8217;t be able to connect to Kloxo web panel when the install completes.</p>
<div>Installing Kloxo</div>
<p>Kloxo installation consists of downloading <em>kloxo-installer.sh</em> from download.lxcenter.org and executing it as root. The script will present you with a few questions and sometimes ask for a password (enter your root password).</p>
<p>If you <strong><em>don&#8217;t</em> have MySQL</strong> server already installed, you must run:</p>
<pre dir="ltr"># su - root
# yum install -y wget
# wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh</pre>
<p>To install as Master (Default Single Server):</p>
<pre dir="ltr"># sh ./kloxo-installer.sh --type=master</pre>
<p>To install as Slave:</p>
<pre dir="ltr"># sh ./kloxo-installer.sh --type=slave
</pre>
<p><span id="more-353"></span></p>
<pre dir="ltr"></pre>
<p>If you already <strong>have MySQL installed</strong> and set a root password, you must run:</p>
<pre dir="ltr"># su - root
# yum install -y wget
# wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
# sh ./kloxo-installer.sh --type=&lt;master/slave&gt; --db-rootpassword=PASSWORD</pre>
<p>Once kloxo is installed, you can connect to http://YOUR_SERVER_IP:7778 and you will be presented with a login screen. Login as <strong><em>admin</em></strong> with password <strong><em>admin</em></strong> and once you are in, Kloxo will ask you to change the default password to a secure one.</p>
<h3 id="Packages_installed_initially1:">Packages installed initially<sup>1</sup>:</h3>
<p>&nbsp;</p>
<table id="fancytable_1">
<thead>
<tr>
<th>Web Services</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>apache (2.x)</td>
<td>The Apache HTTP Server is a powerful, efficient, and extensible web server.</td>
</tr>
<tr>
<td>php (5.2.x)</td>
<td>PHP is an HTML-embedded scripting language.</td>
</tr>
<tr>
<td>pure-ftpd</td>
<td>Pure-FTPd is a fast, production-quality, secure and standard-comformant FTP server especially designed for modern Linux and FreeBSD kernels.</td>
</tr>
<tr>
<td>awstats</td>
<td>Web Statistics</td>
</tr>
</tbody>
</table>
<table id="fancytable_2">
<thead>
<tr>
<th>Mail Services</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>qmail-toaster</td>
<td>qmail is a small, fast, secure replacement for the sendmail package, which is the program that actually receives, routes, and delivers electronic mail.</td>
</tr>
<tr>
<td>courier-imap-toaster</td>
<td>Courier-IMAP is an IMAP server for Maildir mailboxes.</td>
</tr>
<tr>
<td>vpopmail</td>
<td>vpopmail is a collection of programs and a library to automate the creation and maintence of virtual domain email for qmail installations.</td>
</tr>
<tr>
<td>Roundcube</td>
<td>Webmail (Ajax)</td>
</tr>
<tr>
<td>Horde</td>
<td>Webmail</td>
</tr>
</tbody>
</table>
<table id="fancytable_3">
<thead>
<tr>
<th>DNS Services</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>bind</td>
<td>BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols.</td>
</tr>
<tr>
<td>bind-chroot</td>
<td>Secures BIND server</td>
</tr>
</tbody>
</table>
<table id="fancytable_4">
<thead>
<tr>
<th>Database Service</th>
<th>Function</th>
</tr>
</thead>
<tbody>
<tr>
<td>mysql-server</td>
<td>MySQL is a multi-user, multi-threaded SQL database server.</td>
</tr>
</tbody>
</table>
<p><sup>1</sup> You are able to switch services after install at the web panel. Apache/Lighttpd; BIND/djbdns; spamassassin/bogofilter; etc.</p>
<div>Troubleshooting</div>
<p>If you cannot connect to you Kloxo Control Panel, please check if Kloxo is running and your server firewall is not blocking access to ports 7777/tcp and 7778/tcp. You may temporarily disable it by running <em>/etc/init.d/iptables stop</em> and if that is the cause you may be interested in the <a title="How to secure your Kloxo with IPTABLES" href="http://wiki.lxcenter.org/How+to+secure+your+Kloxo+with+IPTABLES">firewall script</a> example contributed by Kloxo users.</p>
<p>If you still cannot access your panel, go to our forums at <a href="http://forum.lxcenter.org/" target="_blank">http://forum.lxcenter.org<img src="http://wiki.lxcenter.org/img/icons/external_link.gif" alt=" (external link)" border="0" /></a> and request help (you may want attach the file <em>/root/kloxo-install/kloxo-linux/kloxo_install.log</em> for easier troubleshooting).</p>
<div>Final Considerations</div>
<p><strong>1)</strong> Keep in mind that Kloxo will not manage your server firewall (iptables rules). For that, you may want to install third-party firewall management scripts such as <a href="http://www.configserver.com/cp/csf.html" rel="external" target="_blank">CSF</a><img src="http://wiki.lxcenter.org/img/icons/external_link.gif" alt=" (external link)" border="0" /> <a href="http://wiki.lxcenter.org/tiki-view_cache.php?url=http%3A%2F%2Fwww.configserver.com%2Fcp%2Fcsf.html" target="_blank">(cache)</a> or <a href="http://www.rfxn.com/projects/advanced-policy-firewall/" rel="external" target="_blank">APF</a><img src="http://wiki.lxcenter.org/img/icons/external_link.gif" alt=" (external link)" border="0" /> <a href="http://wiki.lxcenter.org/tiki-view_cache.php?url=http%3A%2F%2Fwww.rfxn.com%2Fprojects%2Fadvanced-policy-firewall%2F" target="_blank">(cache)</a> and its complements to detect and block threats like brute-force attacks and unauthorized processes and users.<br />
<strong>2)</strong> If you are not familiar with the command line (shell), you might want to try <a href="http://www.webmin.com/intro.html" rel="external" target="_blank">Webmin</a><img src="http://wiki.lxcenter.org/img/icons/external_link.gif" alt=" (external link)" border="0" /> <a href="http://wiki.lxcenter.org/tiki-view_cache.php?url=http%3A%2F%2Fwww.webmin.com%2Fintro.html" target="_blank">(cache)</a> for basic system administration tasks. It should not conflict with Kloxo as long as you avoid managing the services listed before with it.<br />
<strong>3)</strong> Kloxo will never update your OS (CentOS/Red Hat) automatically. It&#8217;s up to you to monitor security bulletins for your Operating System and update as necessary.<br />
<strong>4)</strong> Kloxo will never update itself by default. You can set Auto-Update<a title="Create page: Auto-Update" href="http://wiki.lxcenter.org/tiki-editpage.php?page=Auto-Update">?</a> Kloxo within the GUI. The Auto update will run at the 10th day each month and you as &#8220;Admin&#8221; will be notified by email. To update manualy, click the <em>Update home</em> button from the web panel OR run on the shell (as root) <em>/script/upcp</em>. At the web panel, you are presented with release notes that describe what&#8217;s changed in the newer versions so you can act at your own discretion.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D353&amp;t=Kloxo%20Installation%20Guide" id="facebook_share_link_353">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_353') || document.getElementById('facebook_share_icon_353') || document.getElementById('facebook_share_both_353') || document.getElementById('facebook_share_button_353');
	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_353') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=353</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to write Switch Case statement in PHP</title>
		<link>http://hitlanka.com/tutorials/?p=351</link>
		<comments>http://hitlanka.com/tutorials/?p=351#comments</comments>
		<pubDate>Wed, 25 Jan 2012 06:24:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=351</guid>
		<description><![CDATA[Here we can today learn how we could write a switch case construct in php. You know this statement we called it as conditional structure. that means this switch is used to do something if conditions provided are satisfied. this is basically equal to the if &#8211; else if &#8211; else statement. here is the [...]]]></description>
			<content:encoded><![CDATA[<p>Here we can today learn how we could write a switch case construct in php. You know this statement we called it as conditional structure. that means this switch is used to do something if conditions provided are satisfied. this is basically equal to the if &#8211; else if &#8211; else statement.</p>
<p>here is the syntax for the Switch statment;</p>
<p>switch($var)<br />
{<br />
case &#8220;1&#8243;:<br />
echo&#8221;it is one&#8221;;<br />
break;<br />
case &#8220;2&#8243;:<br />
echo&#8221;it is Two&#8221;;<br />
break;<br />
case &#8220;3&#8243;:<br />
echo&#8221;it is Three&#8221;;<br />
break;<br />
default:<br />
echo &#8220;defaul Value &#8220;;<br />
break;<br />
}</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D351&amp;t=How%20to%20write%20Switch%20Case%20statement%20in%20PHP" id="facebook_share_link_351">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_351') || document.getElementById('facebook_share_icon_351') || document.getElementById('facebook_share_both_351') || document.getElementById('facebook_share_button_351');
	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_351') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=351</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; Getting notice Undefined index</title>
		<link>http://hitlanka.com/tutorials/?p=348</link>
		<comments>http://hitlanka.com/tutorials/?p=348#comments</comments>
		<pubDate>Tue, 24 Jan 2012 07:48:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=348</guid>
		<description><![CDATA[This error appears because of your PHP error reporting settings. Usually, it appears when your variable is not properly set. There are two ways to handle this issue: 1. Check if $_POST['action'] is set before using it. For example: if (!isset($_POST['action'])) { //If not isset -&#62; set with dumy value $_POST['action'] = &#8220;undefine&#8221;; } 2. [...]]]></description>
			<content:encoded><![CDATA[<p>This error appears because of your PHP error reporting settings. Usually, it appears when your variable is not properly set. There are two ways to handle this issue:</p>
<p>1. Check if $_POST['action'] is set before using it. For example:</p>
<p>if (!<span style="color: #0000ff;">isset</span>(<span style="color: #0000ff;">$_POST</span>[<span style="color: #993300;">'action'</span>]))<br />
{<br />
<span style="color: #ff6600;">//If not isset -&gt; set with dumy value</span><br />
<span style="color: #0000ff;">$_POST</span>[<span style="color: #993300;">'action'</span>] = <span style="color: #993300;">&#8220;undefine&#8221;</span>;<br />
}</p>
<p>2. Suppress <strong>Notice warnings</strong></p>
<p>Notice warnings could be suppressed by changing the <strong>error_reporting </strong>variable in your PHP.ini. <strong>error_reporting </strong>could be set to show all errors except those for notices and coding standards warnings: <em>error_reporting = E_ALL &amp; ~E_NOTICE</em></p>
<p>The same is accomplished by adding the following line in your php page:</p>
<p><span style="color: #ff0000;">&lt;?php</span> <span style="color: #0000ff;">error_reporting</span> (E_ALL ^ E_NOTICE); <span style="color: #ff0000;">?&gt;</span></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D348&amp;t=PHP%20-%20Getting%20notice%20Undefined%20index" id="facebook_share_link_348">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_348') || document.getElementById('facebook_share_icon_348') || document.getElementById('facebook_share_both_348') || document.getElementById('facebook_share_button_348');
	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_348') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=348</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 tips for the perfect title tag</title>
		<link>http://hitlanka.com/tutorials/?p=341</link>
		<comments>http://hitlanka.com/tutorials/?p=341#comments</comments>
		<pubDate>Thu, 05 Jan 2012 18:06:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=341</guid>
		<description><![CDATA[What is a title tag? The title tag determines the name of a web page. Title tags are mostly visible in Google and in the browser. Google The page title Google shows is a page’s title tag. The same goes for Bing. Browser The title tag appears in the browser title bar and the browser [...]]]></description>
			<content:encoded><![CDATA[<h1><strong>What is a title tag?</strong></h1>
<p>The title tag determines the name of a web page. Title tags are mostly visible in Google and in the browser.</p>
<p><strong>Google</strong><br />
The page title Google shows is a page’s title tag. The same goes for Bing.</p>
<p><a href="http://webusability-blog.com/wp-content/uploads/title-tag-google2.jpg" rel="lightbox[811]"><img title="Your title tag = page title in Google" src="http://webusability-blog.com/wp-content/uploads/title-tag-google2.jpg" alt="Your title tag = page title in Google" width="504" height="64" /></a></p>
<p><strong>Browser</strong><br />
The title tag appears in the browser title bar and the browser tabs. When you add a page to your favorites or when you share a page via social media, the title tag is what apppears as the page title.</p>
<p><a href="http://webusability-blog.com/wp-content/uploads/title-tag-browser2.jpg" rel="lightbox[811]"><img title="Your title tag = page title in browser" src="http://webusability-blog.com/wp-content/uploads/title-tag-browser2.jpg" alt="Your title tag = page title in browser" width="504" height="128" /></a></p>
<h1><strong>Is the title tag important?</strong></h1>
<p>You bet it is. The title tag is one of the most important things to get right if you want to do well in Google. It’s not the only thing but if you neglect your title tags you’re making it very hard on yourself.</p>
<p><span id="more-341"></span></p>
<h1><strong>Tips for a good title tag</strong></h1>
<h4>1. Use no more than 66 characters</h4>
<ul>
<li>Search engines only show a limited number of characters of the title tag. Google shows the first 66 characters. After that, it simply adds an ellipsis (…). If you want your title tags to look professional, don’t use more than 66 characters.</li>
<li>Short titles are easier to read than long ones.</li>
<li>The less words there are in your title tag, the more value Google attributes to each word. As a consequence, it’s easier for a keyword to score well in a title tag of 4 words than it is in a title tag of 8 words. This is called keyword density.</li>
</ul>
<h4>2. Make sure your title tag accurately describes your page</h4>
<ul>
<li>The title tag should contain the keyword you want to score with for that page.</li>
<li>Make sure you use that keyword somewhere on the page itself.</li>
<li>Use a keyword your visitors use. It’s nice to do well in Google but if it’s with a word nobody uses it’s not really going to do you any good.</li>
</ul>
<h4>3. Think about what you want the page to do</h4>
<ul>
<li>Make sure the title tag and content of the page correspond with the reasons people visit that page.<br />
‘Netbooks: reviews of the fastest models’ will appeal to a different audience and create different expectations than ‘Cheap netbooks’.</li>
</ul>
<h4>4. Put the keyword first</h4>
<ul>
<li>Google reportedly attributes more value to the first word in a title tag than the last one.</li>
<li>Jakob Nielsen’s research shows that <a href="http://www.useit.com/alertbox/nanocontent.html">the first 11 characters</a> determine whether someone continues to read on or not.</li>
</ul>
<h4>5. Don’t forget to mention your brand name</h4>
<ul>
<li>Putting your brand name in the title tag isn’t all that important if you’re a small company. But if you’re one of the leading players in your field, it’s a good idea to mention your brand name in your title tags.</li>
<li>Wa advise most companies to put their brand name last. Only on your homepage should your brand name be first.</li>
<li>If you’re an absolute top brand that the majority of people knows and trusts, it can be interesting to start your title tags with your brand name.</li>
</ul>
<h4>6. Separate your brand name from the page title</h4>
<ul>
<li>Use a vertical dash (|) or hyphen (-) to separate your brand name from the actual page title.</li>
</ul>
<h4>7. Write attractive title tags</h4>
<ul>
<li>If you stuff the title tag full of keywords, you’ll probably score well in Google. But it will make your title tag unattractive and people won’t click on it. So you’re kind of missing the point.</li>
<li>For a lot of people, the title tag is their first introduction to your brand. Make sure you make a good first impression.</li>
<li>Your web page’s title tag appears in a list with other search results. Make sure it stands out.</li>
</ul>
<h4>8. Unique for every page</h4>
<ul>
<li>Each page of your web site should have a unique title tag. If you can’t decide what a page is really about, how is Google supposed to know?</li>
</ul>
<h1><strong>How can you adapt your title tags?</strong></h1>
<p>That depends on your website. Hopefully, you’re using a content management system (CMS) that lets you adapt the title tag of every page manually.</p>
<p>If you’re choosing a new CMS, make sure it allows you to do that. If you want to do well in Google, it’s vital.</p>
<h1>More tips?</h1>
<p>Do you have some more tips for good title tags? Feel free to add them in the comments section.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D341&amp;t=8%20tips%20for%20the%20perfect%20title%20tag" id="facebook_share_link_341">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_341') || document.getElementById('facebook_share_icon_341') || document.getElementById('facebook_share_both_341') || document.getElementById('facebook_share_button_341');
	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_341') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=341</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uploading Files with PHP</title>
		<link>http://hitlanka.com/tutorials/?p=338</link>
		<comments>http://hitlanka.com/tutorials/?p=338#comments</comments>
		<pubDate>Thu, 29 Dec 2011 06:01:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://hitlanka.com/tutorials/?p=338</guid>
		<description><![CDATA[The HTML Form This script will allow you to upload files from your browser to your hosting, using PHP. The first thing we need to do is create an HTML form that allows people to choose the file they want to upload. &#60;form enctype="multipart/form-data" action="upload.php" method="POST"&#62; Please choose a file: &#60;input name="uploaded" type="file" /&#62;&#60;br /&#62; &#60;input [...]]]></description>
			<content:encoded><![CDATA[<div id="abb">
<div id="abm">
<div id="abc">
<div id="sspre">
<div><strong>The HTML Form</strong></div>
</div>
<div id="articlebody">This script will allow you to upload files from your browser to your hosting, using PHP. The first thing we need to do is create an HTML form that allows people to choose the file they want to upload.</p>
<pre><code> &lt;form enctype="multipart/form-data" action="upload.php" method="POST"&gt; Please choose a file: &lt;input name="uploaded" type="file" /&gt;&lt;br /&gt; &lt;input type="submit" value="Upload" /&gt; &lt;/form&gt; </code></pre>
</div>
<div id="articlebody">This form sends data to the file &#8220;upload.php&#8221;, which is what we will be creating next to actually upload the file.</div>
</div>
<div></div>
</div>
<div>
<div id="abb">
<div id="abm">
<div id="abc">
<div id="sspre">
<div><strong>Uploading the File</strong></div>
</div>
<div id="articlebody">The actual file upload is very simple:</p>
<pre><code> &lt;?php $target = "upload/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else { echo "Sorry, there was a problem uploading your file."; } ?&gt; </code></pre>
<p>This very small piece of code will upload files sent to it by your HTML form.</p>
<ol>
<ol>
<li>The first line <em>$target = &#8220;upload/&#8221;;</em> is where we assign the folder that files will be uploaded to. As you can see in the second line, this folder is relative to the upload.php file. So for example, if your file was at www.yours.com/files/upload.php then it would upload files to www.yours.com/files/upload/yourfile.gif. Be sure you remember to create this folder!</li>
</ol>
</ol>
<p>&nbsp;</p>
<ol>
<ol>
<li>We are not using <em>$ok=1; </em>at the moment but we will later in the tutorial.</li>
</ol>
</ol>
<p>&nbsp;</p>
<ol>
<li>We then move the uploaded file to where it belongs using <em>move_uploaded_file ()</em>. This places it in the directory we specified at the beginning of our script. If this fails the user is given an error message, otherwise they are told that the file has been uploaded.</li>
</ol>
<div><span id="more-338"></span></div>
<div id="abb">
<div id="abm">
<div id="abc">
<div id="sspre">
<div><strong>Limit the File Size</strong></div>
</div>
<div id="articlebody">
<pre><code> if ($uploaded_size &gt; 350000) { echo "Your file is too large.&lt;br&gt;"; $ok=0; } </code></pre>
<p>Assuming that you didn&#8217;t change the form field in our HTML form (so it is still named uploaded), this will check to see the size of the file. If the file is larger than 350k, they are given a file too large error, and we set $ok to equal 0.You can change this line to be a larger or smaller size if you wish by changing 350000 to a different number. Or if you don&#8217;t care about file size, just leave these lines out.</p>
<div id="abb">
<div id="abm">
<div id="abc">
<div id="sspre">
<div><strong>Limit Files by Type</strong></div>
</div>
<div id="articlebody">
<pre><code> if ($uploaded_type =="text/php") { echo "No PHP files&lt;br&gt;"; $ok=0; } </code></pre>
<p>The code above checks to be sure the user is not uploading a PHP file to your site. If they do upload a PHP file, they are given an error, and $ok is set to 0.</p>
<pre><code> if (!($uploaded_type=="image/gif")) { echo "You may only upload GIF files.&lt;br&gt;"; $ok=0; } </code></pre>
</div>
<div id="articlebody">In our second example we only allow users to upload .gif files, and all other types are given an error before setting $ok to 0. You can use these basic examples to allow or deny any specific file types.</div>
</div>
<div></div>
<div>
<div id="abb">
<div id="abm">
<div id="abc">
<div id="sspre">
<div><strong>Putting It Together</strong></div>
</div>
<div id="articlebody">
<pre><code> &lt;?php $target = "upload/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; //This is our size condition if ($uploaded_size &gt; 350000) { echo "Your file is too large.&lt;br&gt;"; $ok=0; } //This is our limit file type condition if ($uploaded_type =="text/php") { echo "No PHP files&lt;br&gt;"; $ok=0; } //Here we check that $ok was not set to 0 by an error if ($ok==0) { Echo "Sorry your file was not uploaded"; } //If everything is ok we try to upload it else { if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else { echo "Sorry, there was a problem uploading your file."; } } ?&gt; </code></pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="abb">
<div id="abm">
<div id="abc">
<div id="sspre">
<div><strong>Final Thoughts</strong></div>
</div>
<div id="articlebody">Obviously if you are allowing file uploads you are leaving yourself open to people uploading lots of undesirable things. One precaution is not allowing them to upload any php, html, cgi, etc. files that could contain malicious code. This provides more safety but is not sure fire protection.Another idea is to make the upload folder private, so that only you can see it. Then once you have seen what has been uploaded, you can approve (move) it or remove it. Depending on how many files you plan on receiving this could be time consuming and impractical.In short, this script is probably best kept in a private folder. We don&#8217;t recommend putting it somewhere where the public can use it, or you may end up with a server full of useless or potentially dangerous files. If you really want the general public to be able to utilize your server space, we suggest writing in <a href="http://php.about.com/od/advancedphp/qt/upload_security.htm">as much security as possible</a>.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div></div>
<div></div>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhitlanka.com%2Ftutorials%2F%3Fp%3D338&amp;t=Uploading%20Files%20with%20PHP" id="facebook_share_link_338">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_338') || document.getElementById('facebook_share_icon_338') || document.getElementById('facebook_share_both_338') || document.getElementById('facebook_share_button_338');
	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_338') {
			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://hitlanka.com/tutorials/?feed=rss2&#038;p=338</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

