<?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>Bowolabs</title>
	<atom:link href="http://bowolabs.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bowolabs.com</link>
	<description>Just My Footnotes</description>
	<lastBuildDate>Tue, 09 Aug 2011 08:04:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adding PHP code in HTML file using htaccess</title>
		<link>http://bowolabs.com/adding-php-code-in-html-file-using-htaccess/</link>
		<comments>http://bowolabs.com/adding-php-code-in-html-file-using-htaccess/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 08:04:52 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[PHP Tips]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=96</guid>
		<description><![CDATA[Huahh its been quite long I&#8217;am not write in this blog, and right now i just want to write a short note LOL, yeah I know, but I am so sorry because i have lot thing to do and lot work to finish, so lets make this hurry ok For you who want to add [...]]]></description>
			<content:encoded><![CDATA[<p>Huahh its been quite long I&#8217;am not write in this blog, and right now i just want to write a short note LOL, yeah I know, but I am so sorry because i have lot thing to do and lot work to finish, so lets make this hurry ok <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For you who want to add some php snippet to html file, you can add this code to your htaccess<span id="more-96"></span></p>
<pre class="brush: php; ">

 # =============================================================
 # This line will allow php to be included in htm and html files

       AddHandler application/x-httpd-php5 .html .htm
</pre>
<p>And now you can add any php code to your html file, have fun <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/adding-php-code-in-html-file-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install phpMyAdmin on CentOS 5</title>
		<link>http://bowolabs.com/install-phpmyadmin-on-centos-5/</link>
		<comments>http://bowolabs.com/install-phpmyadmin-on-centos-5/#comments</comments>
		<pubDate>Mon, 30 May 2011 13:43:47 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=85</guid>
		<description><![CDATA[Hello again.. Yesterday we already learn how to install PHP and mySQL on CentOS 5, now we will learn about how to install phpMyAdmin on CentOS 5, for your information who don&#8217;t know what is phpMyAdmin, let me explain in short text, phpMyAdmin is a script written in PHP language, the function of phpMyAdmin is [...]]]></description>
			<content:encoded><![CDATA[<p>Hello again.. <img src='http://bowolabs.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Yesterday we already learn how to <a href="http://bowolabs.com/install-php-mysql-on-centos-5/">install PHP and mySQL on CentOS 5</a>, now we will learn about how to install phpMyAdmin on CentOS 5, for your information who don&#8217;t know what is phpMyAdmin, let me explain in short text, phpMyAdmin is a script written in PHP language, the function of phpMyAdmin is to handle the administration of MySQL via website. phpMyAdmin supports lot of operations with MySQL like managing databases, tables, fields, relations, indexes, users, permissions, etc and not only that, phpMyAdmin also have the ability to directly execute any SQL statement.</p>
<p>Ok dont wasting time anymore, lets try it.. <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <span id="more-85"></span></p>
<p>First you must know what type is your CentOS, is it x86 (i386) or x64 (x86_64), and to find out just type </p>
<pre class="brush: php; ">

uname -i
</pre>
<p>After you find out what version is your CentOS, now its time to download the repo</p>
<p>for x86 (i386)</p>
<pre class="brush: php; ">

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.i386.rpm
</pre>
<p>for x64 (x86_64)</p>
<pre class="brush: php; ">

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
</pre>
<p>Starting install phpMyAdmin</p>
<pre class="brush: php; ">

yum -y install phpmyadmin
</pre>
<p>edit file phpmyadmin.conf</p>
<pre class="brush: php; ">

vi /etc/httpd/conf.d/phpmyadmin.conf
</pre>
<p>Comment (add # mark on the front of text) the other settings and leave only the following:</p>
<pre class="brush: php; ">

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
</pre>
<p>Save (on keyboard press key &#8220;Esc&#8221; and then type &#8220;:wq&#8221;)</p>
<p>edit file config.inc.php</p>
<pre class="brush: php; ">

vi /usr/share/phpmyadmin/config.inc.php
</pre>
<p>Find the following line</p>
<pre class="brush: php; ">

$cfg[&#039;Servers&#039;][$i][&#039;auth_type&#039;] = &#039;cookie&#039;;
</pre>
<p>And replace &#8216;<strong>cookie</strong>&#8216; with &#8216;<strong>http</strong>&#8216;</p>
<p>Restart Apache</p>
<pre class="brush: php; ">

service httpd restart
</pre>
<p>DONE !!<br />
To login just type http://yoursite.com/phpmyadmin and login with ur <strong>root</strong> and <strong>mysql password</strong></p>
<p>Enjoy <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/install-phpmyadmin-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install PHP mySQL on CentOS 5</title>
		<link>http://bowolabs.com/install-php-mysql-on-centos-5/</link>
		<comments>http://bowolabs.com/install-php-mysql-on-centos-5/#comments</comments>
		<pubDate>Sun, 29 May 2011 13:02:23 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=81</guid>
		<description><![CDATA[Hi.. Today I want to share tutorial installing PHP and mySQL on CentOS 5, actually this also for my note because I always forget to type it, so better I put this on my blog so when I need it, just open my blog and find it. Ok the first thing you need to know, [...]]]></description>
			<content:encoded><![CDATA[<p>Hi..<br />
Today I want to share tutorial installing PHP and mySQL on CentOS 5, actually this also for my note because I always forget to type it, so better I put this on my blog so when I need it, just open my blog and find it.</p>
<p>Ok the first thing you need to know, when you install CentOS from your server (I am using VPS) the apache also installed automatically, so you no need to install apache again, but just in case your server not automatically install apache, just install it using yum<span id="more-81"></span></p>
<pre class="brush: php; ">

yum install httpd
</pre>
<p>Oh in case you get trouble with fastmirror on yum read my post about <a href="http://bowolabs.com/solved-yum-thread-error-cant-start-new-thread/">yum problem</a>.</p>
<p>Ok next installing php, use this command </p>
<pre class="brush: php; ">

yum install php php-soap php-xmlrpc php-imap php-mcrypt php-mhash php-mbstring php-mysql php-xml php-gd
</pre>
<p>It will install PHP and some addons that maybe you will need it in the future when u installing some php script or something else.</p>
<p>When it asks for yes or no just press &#8220;Y&#8221; and Enter.</p>
<p>Done for PHP, now move to mySQL, use this command</p>
<pre class="brush: php; ">

yum install mysql mysql-server mysql-devel
</pre>
<p>And again if it asks for yes or no just press &#8220;Y&#8221; and Enter.</p>
<p>DONE !! and for activate it you just need to install apache using this command </p>
<pre class="brush: php; ">

service httpd restart
</pre>
<p>Simple right?! now try it on your server and good luck !!</p>
<p><strong><em>note: this is optional tuts that maybe u interest</em></strong></p>
<hr/>
<p>1. To make mySQL autorun on startup type this</p>
<pre class="brush: php; ">

chkconfig --levels 235 mysqld on
</pre>
<p>After done restart mySQL with command </p>
<pre class="brush: php; ">

service mysqld restart
</pre>
<p>2. To make Apache autorun on startup type this</p>
<pre class="brush: php; ">

chkconfig --levels 235 httpd on
</pre>
<p>After done restart Apache with command </p>
<pre class="brush: php; ">

service httpd restart
</pre>
<p>3. Creating ROOT password on mySQL</p>
<pre class="brush: php; ">

mysqladmin -u root password yourpassword
mysqladmin -h yourhostname -u root password yourpassword
</pre>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/install-php-mysql-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple Random Header Background Script</title>
		<link>http://bowolabs.com/simple-random-header-background-script/</link>
		<comments>http://bowolabs.com/simple-random-header-background-script/#comments</comments>
		<pubDate>Wed, 18 May 2011 02:37:33 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[PHP Tips]]></category>
		<category><![CDATA[css background]]></category>
		<category><![CDATA[header.php]]></category>
		<category><![CDATA[no plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=77</guid>
		<description><![CDATA[Yesterday I promise you about Simple Random Images PHP Script using for header background, like you can see some of site that using wordpress have interesting header, the header can rotate/showing random image everytime you refresh the page. There is some way to do that trick, but right now I will share using almost same [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I promise you about <a href="http://bowolabs.com/simple-random-images-php-script/">Simple Random Images PHP Script</a> using for header background, like you can see some of site that using <a href="http://bowolabs.com/tag/wordpress/">wordpress</a> have interesting header, the header can rotate/showing random image everytime you refresh the page. There is some way to do that trick, but right now I will share using almost same method like post before.</p>
<p>Now all we have to do is your image list for the rotator (min 2 picture, max upto you), rename it with number (exp: 1.jpg, 2.jpg, 3.jpg etc) and put inside image folder under your themes folder, for example (http://www.site.com/wp-content/themes/themes-name/images/) and for the code, try to open header.php and find the header code (this maybe different on each themes)<span id="more-77"></span></p>
<pre class="brush: php; ">

&lt;div id=&quot;header&quot;&gt;&lt;/div&gt;
</pre>
<p>And replace/change to be like this</p>
<pre class="brush: php; ">

&lt;div id=&quot;header&quot; style=&quot;background-image: url(&lt;?php bloginfo(&#039;stylesheet_directory&#039;); ?&gt;/images/&lt;?php echo(rand(1,n)); ?&gt;.jpg);background-repeat: no-repeat;background-position: center top;&quot;&gt;&lt;/div&gt;
</pre>
<p>Like u see the code almost same like the older post, and for explanation you can read again in <a href="http://bowolabs.com/simple-random-images-php-script/">this post</a>. (sorry on meeting right now can&#8217;t write to much <img src='http://bowolabs.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p>Save and refresh ur site few time and see what happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/simple-random-header-background-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Random Images PHP Script</title>
		<link>http://bowolabs.com/simple-random-images-php-script/</link>
		<comments>http://bowolabs.com/simple-random-images-php-script/#comments</comments>
		<pubDate>Mon, 16 May 2011 14:43:45 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[PHP Tips]]></category>
		<category><![CDATA[php script]]></category>
		<category><![CDATA[random images]]></category>
		<category><![CDATA[simple rotator]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=69</guid>
		<description><![CDATA[Ok enough talking loser like me today we back on topic, now right now I want talk about images and radomizer, sometimes in some case we want rotate our image to make our blog look unique and fresh everytime people came to our site, but how we make image showing random each time they open [...]]]></description>
			<content:encoded><![CDATA[<p>Ok enough talking <a href="http://bowolabs.com/loser-like-me-lyrics/">loser like me</a> <img src='http://bowolabs.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  today we back on topic, now right now I want talk about images and radomizer, sometimes in some case we want rotate our image to make our blog look unique and fresh everytime people came to our site, but how we make image showing random each time they open it?</p>
<p>Well we can use javascript to manipulate it, but remember no all visitor browser activate their javascript, but don&#8217;t worry I have solution for it, we can use random function on php and create the most simple random images rotator.</p>
<p>Ok lets try, first we need the ingredient LOL, I mean we need prepare all thing<span id="more-69"></span></p>
<ol>
<li>image collection, and rename it to 1.jpg, 2.jpg, 3.jpg, 4.jpg, and remember all extension must same (all jpg, or all gif, or all png)</li>
<li>folder, create folder for example <strong>imgrotator</strong> folder</li>
<li>the code (I will show later)</li>
</ol>
<p>Ok now put all images on imgrotator folder that you already create, and on the page you want to put the rotator images, paste this this code</p>
<pre class="brush: php; ">

&lt;img src=&quot;/path/to/&lt;?php echo rand(1,n);?&gt;.jpg&quot; alt=&quot;Random Image&quot; /&gt;
</pre>
<p>See this part <strong>/path/to/</strong> change to the path of image rotator folder, in this case folder <strong>imgrotator</strong> and for the <strong>rand(1,n);</strong> you just put total of image, in this case I put 4 image, so we change the &#8220;n&#8221; to 4 and became like this <strong>rand(1,4);</strong> and now your image rotator ready to upload&#8230; <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  the finish code for this case is like this</p>
<pre class="brush: php; ">

&lt;img src=&quot;/imgrotator/&lt;?php echo rand(1,4);?&gt;.jpg&quot; alt=&quot;Random Image&quot; /&gt;
</pre>
<p>Now try yours <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  good luck..</p>
<p><small>nb: Ill try to give another way to use this as background rotator for your site header on next post, just wait <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </small></p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/simple-random-images-php-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Loser Like Me (lyrics)</title>
		<link>http://bowolabs.com/loser-like-me-lyrics/</link>
		<comments>http://bowolabs.com/loser-like-me-lyrics/#comments</comments>
		<pubDate>Tue, 10 May 2011 18:40:34 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[Daily Notes]]></category>
		<category><![CDATA[fox]]></category>
		<category><![CDATA[glee]]></category>
		<category><![CDATA[loser like me]]></category>
		<category><![CDATA[lyric]]></category>
		<category><![CDATA[lyrics]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=64</guid>
		<description><![CDATA[No, today we not discuss about serious thing, I know this is webmaster blog type, but I think its ok if we refreshing for a while , btw today I just want to post some youtube videos from tv serials that I just watch, yup from the title, I am sure some of you already [...]]]></description>
			<content:encoded><![CDATA[<p>No, today we not discuss about serious thing, I know this is webmaster blog type, but I think its ok if we refreshing for a while <img src='http://bowolabs.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> , btw today I just want to post some youtube videos from tv serials that I just watch, yup from the title, I am sure some of you already know the tv serials that i mean, yup its GLEE</p>
<p>Just watch few minutes ago, hmm bit forget the title of this episode, but one thing I like from this episode is the song its called <strong>Loser Like Me</strong>, well actually I like almost all song that perform by glee club, but this song is very ME lol, yeah I mean being loser is fine as long you can fix it and make as a lesson to be better person, ahhh this text is to long, just enjoy this clip from youtube, <strong>GLEE &#8211; Loser Like Me</strong><span id="more-64"></span></p>
<div align="center"><iframe width="560" height="349" src="http://www.youtube.com/embed/FQ59jBudWwQ" frameborder="0" allowfullscreen></iframe></div>
<p>Oh just in case, someone want to sing together, here the lyrics <img src='http://bowolabs.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<pre class="brush: php; ">

Loser Like Me - gLee
-
Yeah, you may think that I&#039;m a zero
But, hey, everyone you wanna be
Probably started off like me
You may say that I&#039;m a freakshow (I don&#039;t care)
But, hey, give me just a little time
I bet you&#039;re gonna change your mind

All of the dirt you&#039;ve been throwin&#039; my way
It ain&#039;t so hard to take, that&#039;s right
&#039;Cause I know one day you&#039;ll be screamin&#039; my name
And I&#039;ll just look away, that&#039;s right

(Chorus)
Just go ahead and hate on me and run your mouth
So everyone can hear
Hit me with the words you got and knock me down
Baby, I don&#039;t care
Keep it up, I&#039;m tunin&#039; up to fade you out
You wanna be
You wanna be
A loser like me
A loser like me

(Cory Monteith/Finn)

Push me up against the locker
And hey, all I do is shake it off
I&#039;ll get you back when I&#039;m your boss
I&#039;m not thinkin&#039; &#039;bout you haters
&#039;Cause hey, I could be a superstar
I&#039;ll see you when you wash my car

All of the dirt you&#039;ve been throwin&#039; my way
It ain&#039;t so hard to take, that&#039;s right
&#039;Cause I know one day you&#039;ll be screamin&#039; my name
And I&#039;ll just look away, that&#039;s right

(Chorus)
Just go ahead and hate on me and run your mouth
So everyone can hear
Hit me with the words you got and knock me down
Baby, I don&#039;t care
Keep it up, I&#039;m tunin&#039; up to fade you out
You wanna be
You wanna be
A loser like me
A loser like me
A loser like me

Hey, you, over there
Keep the L up-up in the air
Hey, you, over there
Keep the L up, &#039;cause I don&#039;t care
You can throw your sticks, and you can throw your stones
Like a rocket, just watch me go
Yeah, l-o-s-e-r
I can only be who I are

(Chorus)
Just go ahead and hate on me and run your mouth
So everyone can hear
Hit me with the words you got and knock me down
Baby, I don&#039;t care
Keep it up, I&#039;m tunin&#039; up to fade you out
You wanna be
You wanna be
A loser like me
A loser like me

(Chorus)
Just go ahead and hate on me and run your mouth
So everyone can hear
Hit me with the words you got and knock me down
Baby, I don&#039;t care
Keep it up, I&#039;m tunin&#039; up to fade you out
You wanna be
You wanna be
A loser like me (A loser like me)
A loser like me (A loser like me)
A loser like me 
</pre>
<p>enjoy ^^</p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/loser-like-me-lyrics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Maintenance mode using htaccess</title>
		<link>http://bowolabs.com/maintenance-mode-using-htaccess/</link>
		<comments>http://bowolabs.com/maintenance-mode-using-htaccess/#comments</comments>
		<pubDate>Fri, 06 May 2011 17:32:58 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[XHTML Tips]]></category>
		<category><![CDATA[edit design]]></category>
		<category><![CDATA[edit web]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[maintenance mode]]></category>
		<category><![CDATA[update web]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=58</guid>
		<description><![CDATA[As a web designer, sometimes we must change some code or design in our website, and when that process happen and visitor came to your site, what will they look? AN UGLY WEBSITE, because we still fixing some part of that site.. Of course you don&#8217;t want that happen right? But how we can avoid [...]]]></description>
			<content:encoded><![CDATA[<p>As a web designer, sometimes we must change some code or design in our website, and when that process happen and visitor came to your site, what will they look? AN UGLY WEBSITE, because we still fixing some part of that site.. Of course you don&#8217;t want that happen right?</p>
<p>But how we can avoid that? we want the web look perfect but we also dont want people look the ugly face of the website when the process happen, well the answer is MAINTENANCE MODE. Yup you must make your website into a maintenance mode, so when visitor came to your site they not see the ugly face of the web but the announcement from you. Now how to make that &#8220;maintenance mode&#8221; thing?</p>
<p>For static site you can use .htaccess to help you, just put this code to your .htaccess <span id="more-58"></span></p>
<pre class="brush: php; ">

RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_ADDR} !^111\.111\.111\.111
RewriteCond %{REQUEST_URI} !^/maintenance\.php$
RewriteRule ^(.*)$ http://site.com/maintenance.php [R=307,L]
</pre>
<p>Change site.com with your site name, and create file called maintenance.php put in your root folder with some announcement on it and now every people who visit your site will redirect to maintenance.php. BUT !! how about you? you as a web designer of the web also will redirect when you want to edit the web. that why we add this line </p>
<pre class="brush: php; ">

RewriteCond %{REMOTE_ADDR} !^111\.111\.111\.111
</pre>
<p>Change the <strong>111\.111\.111\.111</strong> to your own IP address (you can check your ip at seeyourip.com) and now you should be able to browse your site and perform your upgrade meanwhile other visitor will redirect to maintenance page.</p>
<p>Enjoy ^^</p>
<p><small>ps: for WordPress user you can use maintenance mode plugin that you can search on codex.wordpress.org</small></p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/maintenance-mode-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing Images For SEO Purpose</title>
		<link>http://bowolabs.com/optimizing-images-for-seo-purpose/</link>
		<comments>http://bowolabs.com/optimizing-images-for-seo-purpose/#comments</comments>
		<pubDate>Wed, 04 May 2011 11:44:57 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[SEO Tips]]></category>
		<category><![CDATA[gaining visitor]]></category>
		<category><![CDATA[image optimizing]]></category>
		<category><![CDATA[optimizing image]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=55</guid>
		<description><![CDATA[One element of the site that sometimes forget to optimize by the webmaster are optimizing images. Image also can be optimize to bet a better SEO for you website, Image optimizing also can help our website to gain more visitor. As long you can optimize image on your website, I am sure there is lot [...]]]></description>
			<content:encoded><![CDATA[<p>One element of the site that sometimes forget to optimize by the webmaster are optimizing images. Image also can be optimize to bet a better SEO for you website, Image optimizing also can help our website to gain more visitor.</p>
<p>As long you can optimize image on your website, I am sure there is lot of visitor who will came to your site from the image, Now the question is how we can optimizing the images on your website, here some suggestion from me to you.<span id="more-55"></span></p>
<ul>
<li>Use targeted keyword for the file name</li>
<li>Use underscore rather than space for the file name</li>
<li>Avoid naming the file too long</li>
<li>Use keyword as a sentence at ALT image</li>
<li>Always use different text on each ALT when you have more than one image on the post</li>
</ul>
<p>Try to implement this tips to your site, good luck ^^</p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/optimizing-images-for-seo-purpose/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SOLVED yum thread.error: can&#8217;t start new thread</title>
		<link>http://bowolabs.com/solved-yum-thread-error-cant-start-new-thread/</link>
		<comments>http://bowolabs.com/solved-yum-thread-error-cant-start-new-thread/#comments</comments>
		<pubDate>Tue, 03 May 2011 16:49:12 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nix]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=52</guid>
		<description><![CDATA[Yesterday I buy some budget VPS from some hosting company, very cheap only $10/year, but yeah I facing problem over there, when I try to installing some control panel (kloxo) I use yum command to do update and etc, but the problem is when I using yum, something get wrong, at the end of command [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I buy some budget VPS from some hosting company, very cheap only $10/year, but yeah I facing problem over there, when I try to installing some control panel (kloxo) I use yum command to do update and etc, but the problem is when I using yum, something get wrong, at the end of command its always end with this word &#8220;thread.error: can&#8217;t start new thread&#8221;..</p>
<p>What&#8217;s wrong with my VPS??! Since I am not to good on *nix family, just try to browsing via Google, and I found thread in some forum that also discuss this problem, and some of member give solution for the problem, and here is the solution (that work for me)<span id="more-52"></span></p>
<p>Login to you VPS using root access and type this</p>
<pre class="brush: php; ">

vi /etc/yum/pluginconf.d/fastestmirror.conf
</pre>
<p>And change this line</p>
<pre class="brush: php; ">

enable=1
</pre>
<p>to</p>
<pre class="brush: php; ">

enable=0
</pre>
<p>Now try to using YUM command again..</p>
<p>Hope your problem can solved <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/solved-yum-thread-error-cant-start-new-thread/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Prevent spam comment on your blog</title>
		<link>http://bowolabs.com/prevent-spam-comment-on-your-blog/</link>
		<comments>http://bowolabs.com/prevent-spam-comment-on-your-blog/#comments</comments>
		<pubDate>Mon, 02 May 2011 19:58:24 +0000</pubDate>
		<dc:creator>Bowo</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[bad word]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[link farm]]></category>
		<category><![CDATA[no plugin]]></category>
		<category><![CDATA[prevent spam]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[spam comment]]></category>

		<guid isPermaLink="false">http://bowolabs.com/?p=50</guid>
		<description><![CDATA[Spam !! huh I hate that word, yeah sometime when you try to make your blog more friendly by using auto accept comment, this &#8220;THING&#8221; ruin it, like you can see so many blog who set auto accept comment have lot of spam inside, that totally not good for your blog. WHY? because Not good [...]]]></description>
			<content:encoded><![CDATA[<p>Spam !! huh I hate that word, yeah sometime when you try to make your blog more friendly by using auto accept comment, this &#8220;THING&#8221; ruin it, like you can see so many blog who set auto accept comment have lot of spam inside, that totally not good for your blog.</p>
<p>WHY? because</p>
<ol>
<li>Not good for SEO</li>
<li>Spam comment sometimes talk different topic with the post</li>
<li>Spam comment contain lot of link <small>google can detect it as link farm, or even can banned you because linked scam/adult/pharmacy link</small></li>
<li>Spam comment very annoying because for example if your blog is for all age, and the spam comment contain adult link.. well you know what happen next</li>
<li>etc..</li>
</ol>
<p>See&#8230; because that kind of reason i hate spam comment, but wait, maybe this piece of code can help you (bit..) to handle the spam comment<br />
<span id="more-50"></span></p>
<pre class="brush: php; ">

function in_comment_post_like($string, $array) {
	foreach($array as $ref) { if(strstr($string, $ref)) { return true; } }
	return false;
}
function drop_bad_comments() {
	if (!empty($_POST[&#039;comment&#039;])) {
		$post_comment_content = $_POST[&#039;comment&#039;];
		$lower_case_comment = strtolower($_POST[&#039;comment&#039;]);
		$bad_comment_content = array(
			&#039;viagra&#039;,
			&#039;hydrocodone&#039;,
			&#039;hair loss&#039;,
			&#039;[url=http&#039;,
			&#039;[link=http&#039;,
			&#039;xanax&#039;,
			&#039;tramadol&#039;,
			&#039;russian girls&#039;,
			&#039;russian brides&#039;,
			&#039;lorazepam&#039;,
			&#039;adderall&#039;,
			&#039;dexadrine&#039;,
			&#039;no prescription&#039;,
			&#039;oxycontin&#039;,
			&#039;without a prescription&#039;,
			&#039;sex pics&#039;,
			&#039;family incest&#039;,
			&#039;online casinos&#039;,
			&#039;online dating&#039;,
			&#039;cialis&#039;,
			&#039;best forex&#039;,
			&#039;amoxicillin&#039;
		);
		if (in_comment_post_like($lower_case_comment, $bad_comment_content)) {
			$comment_box_text = wordwrap(trim($post_comment_content), 80, &quot;\n  &quot;, true);
			$txtdrop = fopen(&#039;/var/log/httpd/wp_post-logger/nullamatix.com-text-area_dropped.txt&#039;, &#039;a&#039;);
			fwrite($txtdrop, &quot;  --------------\n  [COMMENT] = &quot; . $post_comment_content . &quot;\n  --------------\n&quot;);
			fwrite($txtdrop, &quot;  [SOURCE_IP] = &quot; . $_SERVER[&#039;REMOTE_ADDR&#039;] . &quot; @ &quot; . date(&quot;F j, Y, g:i a&quot;) . &quot;\n&quot;);
			fwrite($txtdrop, &quot;  [USERAGENT] = &quot; . $_SERVER[&#039;HTTP_USER_AGENT&#039;] . &quot;\n&quot;);
			fwrite($txtdrop, &quot;  [REFERER  ] = &quot; . $_SERVER[&#039;HTTP_REFERER&#039;] . &quot;\n&quot;);
			fwrite($txtdrop, &quot;  [FILE_NAME] = &quot; . $_SERVER[&#039;SCRIPT_NAME&#039;] . &quot; - [REQ_URI] = &quot; . $_SERVER[&#039;REQUEST_URI&#039;] . &quot;\n&quot;);
			fwrite($txtdrop, &#039;--------------**********------------------&#039;.&quot;\n&quot;);
			header(&quot;HTTP/1.1 406 Not Acceptable&quot;);
			header(&quot;Status: 406 Not Acceptable&quot;);
			header(&quot;Connection: Close&quot;);
			wp_die( __(&#039;bang bang.&#039;) );
		}
	}
}
add_action(&#039;init&#039;, &#039;drop_bad_comments&#039;);
</pre>
<p>Paste that code to your functions.php and when some people try to comment with some word who listed on the bad keyword, the comment will automatically reject. I know this maybe not help much, but at least your blog little bit more clean than before xoxo, want to test, try to comment in this post using word <em>online dating</em> and see what happen <img src='http://bowolabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh btw this code is credit to <a href="http://www.nullamatix.com/">Guy</a> </p>
<p>Ok enjoy folks..</p>
]]></content:encoded>
			<wfw:commentRss>http://bowolabs.com/prevent-spam-comment-on-your-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

