<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tapos Pal</title>
	<atom:link href="http://tapos.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tapos.wordpress.com</link>
	<description>programming.........</description>
	<lastBuildDate>Sat, 28 Jan 2012 13:41:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tapos.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tapos Pal</title>
		<link>http://tapos.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tapos.wordpress.com/osd.xml" title="Tapos Pal" />
	<atom:link rel='hub' href='http://tapos.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Apache RewriteBase Problem</title>
		<link>http://tapos.wordpress.com/2008/02/24/apache-rewritebase-problem/</link>
		<comments>http://tapos.wordpress.com/2008/02/24/apache-rewritebase-problem/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 03:45:09 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Regex]]></category>
		<category><![CDATA[Rewrite Rules]]></category>
		<category><![CDATA[RewriteBase]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/?p=49</guid>
		<description><![CDATA[Five days ago my friend gave me a problem. Problem is bellow His client gave him a job that fixing the broken link of the site. That site use rewrite engine to rewrite the .html file to .php file. Also the server uses the virtual hosts. We saw that the rewrite rules are correctly written [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=49&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Five days ago my friend gave  me a problem. Problem is bellow</p>
<p>His client gave him a job that fixing the broken link of the site.</p>
<p>That site use rewrite engine to rewrite the .html file to .php file. Also the server uses the virtual hosts.</p>
<p>We saw that the rewrite rules are correctly written and the expected files are present. But the link showed that internal server error and it didn&#8217;t find the file.</p>
<p>We have noticed that the server find the files in a directory. So we made a script to find the directory of that script, we have noticed that it is not the same directory. But we didn&#8217;t find any problem with the rewrite rules. here is the content of the .htaccess file</p>
<div align="left">
<blockquote>
<pre><i># enable mod_rewrite

RewriteEngine on</i><i>
</i><i># correct urls for yahoo bot

RewriteCond %{REQUEST_URI} !\..+$

RewriteCond %{REQUEST_URI} !/$

RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]</i>

<i>
</i><i># mod_rewrite rules for ROOT category

RewriteRule ^index([0-9]+).html$ index.php?category=0&amp;page=$1 [QSA,L]</i>

<i>
</i><i># mod_rewrite rules for categories pages with HTML path option disable

RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L]

RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&amp;page=$2 [QSA,L]</i>

<i>
</i><i># mod_rewrite rule for suggest listing page

RewriteRule report-listing.php$ report-listing.php [QSA,L]</i>

<i>
</i><i>RewriteRule ^([a-z]+)-listings.html$ listings.php?view=$1 [QSA,L]

RewriteRule ^([a-z]+)-listings([0-9]+).html$ listings.php?view=$1&amp;page=$2 [QSA,L]</i>

<i>
</i><i># mod_rewrite rules for view listing page

RewriteRule ^([^/]+)-l([0-9]+).html$ view-listing.php?cat=&amp;title=$1&amp;id=$2 [QSA,L]

RewriteRule ^(.*)/([^/]+)-l([0-9]+).html$ view-listing.php?cat=$1&amp;title=$2&amp;id=$3 [QSA,L]</i>

<i>
</i><i># mod_rewrite rules for additional pages

RewriteRule ^p(.*).html$ page.php?name=$1 [QSA,L]</i>

<i>
</i><i># mod_rewrite rules for error pages

RewriteRule ^([0-9]+).htm$ error.php?error=$1 [QSA,L]</i>

<i>
</i><i># mod_rewrite rules for suggest category page

RewriteRule ^suggest-category-([0-9]+).html$ suggest-category.php?id=$1 [QSA,L]</i>

<i>
</i><i>RewriteRule ^LICENSE.htm$ LICENSE.htm [QSA,L]</i>

<i>
</i><i># mod_rewrite rules for categories pages

RewriteRule ^(.*)_([0-9]+).html$ index.php?category=$1&amp;page=$2 [QSA,L]

RewriteRule ^(.*).html?(.*)$ index.php?category=$1&amp;$2 [QSA,L]

RewriteRule ^(.*).html$ index.php?category=$1 [QSA,L]</i>

<i>
</i><i>ErrorDocument 500 500.htm

ErrorDocument 404 404.htm

ErrorDocument 403 403.htm

ErrorDocument 401 401.htm</i></pre>
</blockquote>
</div>
<p>After that we made some .html file and put thats in the server and delete the .htaccess file to check that without rewrite rules it works or not.  That works!!! So we became confirm that the problem is in rewrite rule.</p>
<p>But the rewrite rules is correct. So where is the problem??????</p>
<p>After googling we have found something about RewriteBase <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">here.</a></p>
<p>Few days ago i have studied about the virtual hosts of apache, there i have found that the RewriteBase is can be configured for every virtual host. So that I think maybe we found the solution.</p>
<p>Then I have added just one line  after the followings</p>
<blockquote>
<pre><i><i>

# enable mod_rewrite

RewriteEngine on

#this line is addedd

RewriteBase / </i></i></pre>
</blockquote>
<p>And the things work like a magic.</p>
<p>Have you got this problem before??? If so then what is your experience???</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=49&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/02/24/apache-rewritebase-problem/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache Virtual host confguration in Linux (Ubuntu)</title>
		<link>http://tapos.wordpress.com/2008/02/20/apache-virtual-host-confguration-in-linux-ubuntu/</link>
		<comments>http://tapos.wordpress.com/2008/02/20/apache-virtual-host-confguration-in-linux-ubuntu/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 11:46:05 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtual Host]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/?p=48</guid>
		<description><![CDATA[Some days ago I have posted how to configure apache virtual host in windows. You can find it here. Now I will describe how to configure virtual host in Linux. It&#8217;s all most same. This will take few steps 1. Locating the config file: You first work is to find the config file. In most [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=48&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some days ago I have posted <a href="http://tapos.wordpress.com/2008/01/11/configuring-virtual-host-in-apache-in-windows/" target="_blank">how to configure apache virtual host in windows</a>. You can find it <a href="http://tapos.wordpress.com/2008/01/11/configuring-virtual-host-in-apache-in-windows/">here</a>. Now I will describe how to configure virtual host in Linux. It&#8217;s all most same. This will take few steps</p>
<p><b>1. Locating the config file: </b></p>
<p>You first work is to find the config file.</p>
<blockquote>
<ol>
<li>In most setups, apache takes up residence in /usr/local/apache. If so, chances are your configuration file is /usr/local/apache/conf/httpd.conf. I am using Ubuntu (<a href="http://en.wiktionary.org/wiki/Gutsy" class="extiw" title="Gutsy">Gutsy</a> <a href="http://en.wikipedia.org/wiki/Gibbon" title="Gibbon">Gibbon</a>) and I have found it here.</li>
<li>If not  then let us find it.</li>
</ol>
<blockquote>
<blockquote><address>$ find / -type f -name httpd</address>
<address><span class="geek-code">./usr/local/apache/bin/httpd</span></address>
</blockquote>
</blockquote>
</blockquote>
<p>2 . Now configure the httpd.conf</p>
<p>The virtual host config starts with, the virtual host tag. Anything between the opening (&lt;VirtualHost *&gt;) and the closing (&lt;/VirtualHost&gt;) tags is the configuration.</p>
<p>I am going to setup the test.local .</p>
<p><span class="geek-code"></span></p>
<blockquote><p><i># The </i><i>localhost</i><i> in the VirtualHost tag, tells apache that any request with test.local from localhost</i></p>
<p><i>NameVirtualHost localhost </i></p>
<p><i>&lt;VirtualHost </i><i>localhost</i><i>&gt;</i></p>
<p><i># This should be self-explanatory, the name and port under which the server</i></p>
<p><i># identifies itself.  If the port is 80 (default) it is not necessary to include it.</i></p>
<p><i># If this is not set to a valid DNS name, server-side redirects will fail.</i></p>
<p><i>     ServerName test.local</i></p>
<p>#</p>
<p><i>ServerAdmin admin@test.local</i></p>
<p><i># Place where the documents for this domain live. replace it by your own<br />
</i></p>
<p><i>    DocumentRoot       /var/www/test  </i></p></blockquote>
<p><span class="geek-code"></span></p>
<blockquote><p><i>        &lt;/VirtualHost&gt;</i></p></blockquote>
<p>This is the basic setup.</p>
<p>3. Last change</p>
<p>Obviously, if you typed http://test.local in your browser, it would not 		be found by your Internet provider’s <acronym title="Domain Name Server">DNS</acronym>  		server. We’re next going to edit another file to work around that. The second 		file you need to edit is called hosts, with <b>no</b> file extension. It will enable you to enter specific addresses for specific domains instead of using a DNS lookup. The normal location for this file is:</p>
<p><code>/etc/hosts</code></p>
<p>Just go to the bottom of the file, below all the comments and any existing entries and add the following two lines:</p>
<pre>127.0.0.1 test.local</pre>
<p>That’s all you need to do there. Save and close the hosts file.</p>
<p><b>Lastly</b> :</p>
<p>You’re almost done! The only remaining thing you need to do is to re-start the Apache server. You need to do this because Apache only reads the configuration file when it first starts up.</p>
<p><b><i>Can you browse http://test.local???</i></b></p>
<blockquote></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=48&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/02/20/apache-virtual-host-confguration-in-linux-ubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Adobe Flash Player in Ubuntu</title>
		<link>http://tapos.wordpress.com/2008/02/13/installing-adobe-flash-player-in-ubuntu/</link>
		<comments>http://tapos.wordpress.com/2008/02/13/installing-adobe-flash-player-in-ubuntu/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 09:38:37 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/?p=46</guid>
		<description><![CDATA[Here i will describe how to install .tar.gz. First download the .tar.gz file. Go to http://www.adobe.com and click on the Get Adobe Flash Player button. Make sure you use a browser from your Linux desktop; if you use a Windows browser you will be redirected to the Windows version of the Flash Player 9. Provided [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=46&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here i will describe how to install .tar.gz.</p>
<p>First download the .tar.gz file. Go to <a href="http://www.adobe.com/" target="_blank">http://www.adobe.com</a> and click on the <span class="system">Get Adobe Flash Player</span> button. Make sure you use a browser from your Linux desktop; if you use a Windows browser you will be redirected to the Windows version of the Flash Player 9. Provided you use a Linux browser, you will be redirected to the download page of the Linux version of the Flash Player 9. On the download page you will get a Flash Player <span class="system">.tar.gz</span> file and download it to your computer (in my case I downloaded it to <span class="system">/home/tapos/Desktop</span>).</p>
<p>Now  open a terminal then go to the directory  like this:</p>
<p>cd /home/tapos/Desktop                                          ##replace this as your download directory</p>
<p>Then ..</p>
<p><i><b>tar xvfz install_flash_player_9_linux.tar.gz<br />
cd install_flash_player_9_linux/</b></i></p>
<p><i><b>sudo ./flashplayer-installer</b></i></p>
<p>then the process is bellow.</p>
<p>You will be asked few questions. Just answer this. The red one&#8217;s is the answer. You may face one problem with installation directory of the Browser. Please check your usr/lib directory to get the correct installation path.</p>
<h5><b><i>Copyright(C) 2002-2006 Adobe Macromedia Software LLC. All rights reserved.</i></b></h5>
<h5><b><i>Adobe Flash Player 9 for Linux</i></b></h5>
<h5><b><i>Adobe Flash Player 9 will be installed on this machine.</i></b></h5>
<h5><b><i>You are running the Adobe Flash Player installer as the &#8220;root&#8221; user.<br />
Adobe Flash Player 9 will be installed system-wide.</i></b></h5>
<h5><b><i>Support is available at http://www.adobe.com/support/flashplayer/</i></b></h5>
<h5><b><i>To install Adobe Flash Player 9 now, press ENTER.</i></b></h5>
<h5><b><i><span class="system">To cancel the installation at any time, press Control-C.</span> <font color="#ff0000"><span class="highlight">&lt;&#8211; &lt;ENTER&gt;</span></font></i></b></h5>
<h5><b><i>NOTE: Please exit any browsers you may have running.</i></b></h5>
<h5><b><i><span class="system">Press ENTER to continue&#8230;</span> <font color="#ff0000"><span class="highlight">&lt;&#8211; &lt;ENTER&gt;</span></font></i></b></h5>
<h5><b><i><span class="system">Please enter the installation path of the Firefox, Netscape,<br />
or Opera browser (i.e., /usr/lib/mozilla):</span> <font color="#ff0000"><span class="highlight">&lt;&#8211; /usr/lib/firefox</span></font></i></b></h5>
<h5><b><i>dir= /usr/lib/</i><i><span class="highlight">firefox</span></i></b></h5>
<h5><b><i>WARNING: An older version of the Adobe Flash Player has been detected in<br />
/usr/lib/firefox/plugins.<br />
The installer will overwrite this existing binary.</i></b></h5>
<h5><b><i> </i></b></h5>
<h5><b><i>&#8212;&#8212;&#8212;&#8211; Install Action Summary &#8212;&#8212;&#8212;&#8211;</i></b></h5>
<h5><b><i>Adobe Flash Player 9 will be installed in the following directory:</i></b></h5>
<h5><b><i>Browser installation directory = /usr/lib/firefox</i></b></h5>
<h5><b><i><span class="system">Proceed with the installation? (y/n/q):</span> <font color="#ff0000"><span class="highlight">&lt;&#8211; y</span></font></i><font color="#ff0000"> </font></b></h5>
<h5><b><i>Installation complete.<br />
</i></b></h5>
<h5><b><i><span class="system">Perform another installation? (y/n):</span> <font color="#ff0000"><span class="highlight">&lt;&#8211; n</span></font></i></b></h5>
<h5><b><i>Please log out of this session and log in for the changes to take effect.<br />
</i></b></h5>
<h5><b><i>The Adobe Flash Player installation is complete.</i></b></h5>
<p>Now check your installed plugins in firefox. Just open firefox and type about:plugins and check it. I have following view.</p>
<p><a href="http://tapos.files.wordpress.com/2008/02/installing_flash.png" title="Flash Installing"><img src="http://tapos.files.wordpress.com/2008/02/installing_flash.png?w=513&#038;h=318" alt="Flash Installing" align="middle" height="318" width="513" /></a></p>
<p>What is your experience??</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=46&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/02/13/installing-adobe-flash-player-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>

		<media:content url="http://tapos.files.wordpress.com/2008/02/installing_flash.png" medium="image">
			<media:title type="html">Flash Installing</media:title>
		</media:content>
	</item>
		<item>
		<title>লিনাক্সে প্রথম বাংলায় লেখা</title>
		<link>http://tapos.wordpress.com/2008/02/11/%e0%a6%bf%e0%a6%b2%e0%a6%a8%e0%a6%be%e0%a7%87%e0%a6%95%e0%a7%8d%e0%a6%b8-%e0%a6%aa%e0%a7%8d%e0%a6%b0%e0%a6%a5%e0%a6%ae-%e0%a6%ac%e0%a6%be%e0%a6%82%e0%a6%b2%e0%a6%be%e0%a7%9f-%e0%a7%87%e0%a6%b2/</link>
		<comments>http://tapos.wordpress.com/2008/02/11/%e0%a6%bf%e0%a6%b2%e0%a6%a8%e0%a6%be%e0%a7%87%e0%a6%95%e0%a7%8d%e0%a6%b8-%e0%a6%aa%e0%a7%8d%e0%a6%b0%e0%a6%a5%e0%a6%ae-%e0%a6%ac%e0%a6%be%e0%a6%82%e0%a6%b2%e0%a6%be%e0%a7%9f-%e0%a7%87%e0%a6%b2/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 13:47:26 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[Me]]></category>
		<category><![CDATA[bangla]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/?p=45</guid>
		<description><![CDATA[অাজ প্রথম বাংলায় লিখলাম। মজা লাগতেছে। অাপনার অনুভূতি কি?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=45&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>অাজ প্রথম বাংলায় লিখলাম। মজা লাগতেছে।</p>
<p>অাপনার অনুভূতি কি?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=45&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/02/11/%e0%a6%bf%e0%a6%b2%e0%a6%a8%e0%a6%be%e0%a7%87%e0%a6%95%e0%a7%8d%e0%a6%b8-%e0%a6%aa%e0%a7%8d%e0%a6%b0%e0%a6%a5%e0%a6%ae-%e0%a6%ac%e0%a6%be%e0%a6%82%e0%a6%b2%e0%a6%be%e0%a7%9f-%e0%a7%87%e0%a6%b2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>$this variable &amp; self class name</title>
		<link>http://tapos.wordpress.com/2008/01/25/this-variable-self-class-name/</link>
		<comments>http://tapos.wordpress.com/2008/01/25/this-variable-self-class-name/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 11:44:15 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP5]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/?p=42</guid>
		<description><![CDATA[$this is a special variable of an object. Using $this, a member variable or methods of the class can be accessed from anywhere inside of that class. self is a reserve class name which is also used inside the object itself. For the static members and static methods and constants, self class name is used [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=42&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>$this is a special variable of an object. Using $this, a member variable or methods of the class can be accessed from anywhere inside of that class.</p>
<p>self is a reserve class name which is also used inside the object itself.</p>
<p>For the static members and static methods and constants,  self class name is used instead of $this. So when you use static method or variables and call it inside the same class you must use the self not the $this.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/42/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/42/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=42&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/01/25/this-variable-self-class-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>Joomla 1.5 Stable Version has Released</title>
		<link>http://tapos.wordpress.com/2008/01/23/joomla-15-stable-version-has-released/</link>
		<comments>http://tapos.wordpress.com/2008/01/23/joomla-15-stable-version-has-released/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 10:36:10 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP framwwork]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/2008/01/23/joomla-15-stable-version-has-released/</guid>
		<description><![CDATA[It&#8217;s a big day for hundreds of thousands of web sites built on top of the popular open-source Joomla! CMS. After over two years of development and reworking, Joomla! 1.5 (stable) has released to the user community today, combining a brand new object-oriented PHP framework with the content management system&#8217;s ease of use and its [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=41&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a big day for hundreds of thousands of web sites built on top of the popular open-source Joomla! CMS. After over two years of development and reworking, Joomla! 1.5 (stable) has released to the user community today, combining a brand new object-oriented PHP framework with the content management system&#8217;s ease of use and its multitude of functional extensions. You can download it from <a href="http://www.joomla.org/" target="_blank">here </a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/41/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/41/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=41&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/01/23/joomla-15-stable-version-has-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>Singleton Pattern in PHP</title>
		<link>http://tapos.wordpress.com/2008/01/22/singleton-pattern-in-php/</link>
		<comments>http://tapos.wordpress.com/2008/01/22/singleton-pattern-in-php/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 10:27:38 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[Design Pattern]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Singleton]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/2008/01/22/singleton-pattern-in-php/</guid>
		<description><![CDATA[Singleton design pattern is used to control the instantiation of a class to an Object. The singleton pattern is implemented by creating the class with a method that creates an instance if one does not exists and the constructor of the class is private. We can implement this in PHP-5 as followings &#60;?php class Singleton [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=40&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Singleton design pattern is used to control the instantiation of a class to an Object.  The singleton pattern is implemented by creating the class with a method that creates an instance if  one does not exists and the constructor of the class is  private.</p>
<p>We can implement this in PHP-5 as followings</p>
<h4><font color="#c0c0c0"><b><i><span class="kw2">&lt;?php</span></i></b></font><font color="#c0c0c0"><span class="kw2"><b><i></i></b></span></font></h4>
<p><font color="#c0c0c0"><span class="kw2"><b><i>class</i></b></span></font><font color="#c0c0c0"><b><i> Singleton <span class="br0">{</span></i></b></font></p>
<h4><font color="#c0c0c0"><span class="co1"><b><i>// object instance</i></b></span></font><font color="#c0c0c0"><span class="kw2"><b><i></i></b></span></font></h4>
<p><font color="#c0c0c0"><span class="kw2"><b><i>private</i></b></span></font><font color="#c0c0c0"><b><i> <span class="kw3">static</span> <span class="re0">$instance</span>;</i></b></font></p>
<h4><font color="#c0c0c0"><b><i>//constructor</i></b></font><font color="#c0c0c0"><b><i><br />
</i></b></font><font color="#c0c0c0"><b><i>  <span class="kw2">private</span> <span class="kw2">function</span> __construct<span class="br0">(</span><span class="br0">)</span> <span class="br0">{</span><span class="br0">}</span></i></b></font></p>
<p><font color="#c0c0c0"><b><i>//clone<br />
</i></b></font><font color="#c0c0c0"><b><i>  <span class="kw2">private</span> <span class="kw2">function</span> __clone<span class="br0">(</span><span class="br0">)</span> <span class="br0">{</span><span class="br0">}</span></i></b></font></p>
<p><font color="#c0c0c0"><b><i>//make instance<br />
</i></b></font><font color="#c0c0c0"><b><i>  <span class="kw2">public</span> <span class="kw3">static</span> <span class="kw2">function</span> getInstance<span class="br0">(</span><span class="br0">)</span> <span class="br0">{</span></i></b></font></p>
<p><font color="#c0c0c0"><span class="kw1"><b><i>if</i></b></span></font><font color="#c0c0c0"><b><i> <span class="br0">(</span>self::<span class="re0">$instance</span> === <span class="kw2">null</span><span class="br0">)</span> <span class="br0">{//checking the previous instance<br />
</span></i></b></font></p>
<p><font color="#c0c0c0"><b><i>self::<span class="re0">$instance</span> = <span class="kw2">new</span> self;</i></b></font></p>
<p><font color="#c0c0c0"><span class="br0"><b><i>}</i></b></span></font></p>
<p><font color="#c0c0c0"><span class="kw1"><b><i>return</i></b></span></font><font color="#c0c0c0"><b><i> self::<span class="re0">$instance</span>;</i></b></font></p>
<p><font color="#c0c0c0"><span class="br0"><b><i>}</i></b></span></font></p>
<p><font color="#c0c0c0"><b><i>//the other methods of this class</i></b></font></p>
<p><font color="#c0c0c0"><span class="kw2"><b><i>public</i></b></span></font><font color="#c0c0c0"><b><i> <span class="kw2">function</span> doAction<span class="br0">(</span><span class="br0">)</span> <span class="br0">{</span></i></b></font></p>
<p><font color="#c0c0c0"><b><i>&#8230;</i></b></font></p>
<p><font color="#c0c0c0"><span class="br0"><b><i>}</i></b></span></font></p>
<p><font color="#c0c0c0"><span class="br0"><b><i>}</i></b></span></font></p>
<p><font color="#c0c0c0"><b><i>?&gt;</i></b></font></h4>
<h4><font color="#c0c0c0"><b><i>&lt;?php </i></b></font></h4>
<h4><font color="#c0c0c0"><b><i><span class="co1">//usage</span></i></b></font><font color="#c0c0c0"><b><i></i></b></font></h4>
<p><font color="#c0c0c0"><b><i>Singleton::<span class="me2">getInstance</span><span class="br0">(</span><span class="br0">)</span>-&gt;<span class="me1">doAction</span><span class="br0">(</span><span class="br0">)</span>;</i></b></font></p>
<h4><font color="#c0c0c0"><b><i>?&gt;</i></b></font></h4>
<h5><font color="#008000"><b><i> </i></b></font></h5>
<p>In this example we can see that a static variable $instance is declared to hold the instance of the class. Also the constructor and clone method is private, this ensure the controlling of making the new object of that class.</p>
<p>After that we make a public function getInstance to make an instance of the class. This function return a new instance if no instance of the class is not exists, if exists this return that instance.</p>
<p>AND the uses is simple just use $class_name-&gt;getInstance() to make a new instance of the class.</p>
<p>Thanks</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/40/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/40/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=40&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/01/22/singleton-pattern-in-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>Behavior isset, empty and casting of a variable as boolean in if statement</title>
		<link>http://tapos.wordpress.com/2008/01/22/behavior-isset-empty-and-casting-of-a-variable-as-boolean-in-if-statement/</link>
		<comments>http://tapos.wordpress.com/2008/01/22/behavior-isset-empty-and-casting-of-a-variable-as-boolean-in-if-statement/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 02:12:37 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP5]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/2008/01/22/behavior-isset-empty-and-casting-of-a-variable-as-boolean-in-if-statement/</guid>
		<description><![CDATA[Suppose you want to check a variable is available or not. Then we can use the following 1. using isset: if(!isset($var)){ //do something } else{ //do something } 2. Using empty: if(!empty($var)){ //do something } else{ //do something } 3. Using the Implicit casting facility if($var){ //do something } else{ //do something } Now explanation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=39&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Suppose you want to check a variable is available or not. Then we can use the following</p>
<p>1. using isset:</p>
<p>if(!isset($var)){</p>
<p>//do something</p>
<p>} else{</p>
<p>//do something</p>
<p>}</p>
<p>2. Using empty:</p>
<p>if(!empty($var)){</p>
<p>//do something</p>
<p>} else{</p>
<p>//do something</p>
<p>}</p>
<p>3. Using the Implicit casting facility</p>
<p>if($var){</p>
<p>//do something</p>
<p>} else{</p>
<p>//do something</p>
<p>}</p>
<p>Now explanation and others</p>
<p>1. the isset function just check only if the variables is set(defined/declared) or not. If defined then return true else return flase. But this don&#8217;t check that the variable has a value or empty. So you should be careful to use this function. example:</p>
<p>isset($var);// this will return false</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>$var =  &#8216;test&#8217;;</p>
<p>isset($var);//this will return true</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>$var = &#8221;;</p>
<p>isset($var) //this will also return true</p>
<p>2. if u use empty then<br />
Returns <b><tt>FALSE</tt></b> if <i><tt>$var</tt></i> has a non-empty and  non-zero value.</p>
<p>The following things are considered to be empty:</p>
<table class="simplelist" summary="Simple list" border="0">
<tr>
<td><var>&#8220;&#8221; (an empty string)</var></td>
</tr>
<tr>
<td><var>0 (0 as an integer)</var></td>
</tr>
<tr>
<td><var>&#8220;0&#8243; (0 as a string)</var></td>
</tr>
</table>
<p>and this is an opposite of (boolean)$var.</p>
<p>3.  Casting of the variable</p>
<p>if you use the casting then it will work as empty method but warning is generated when the variable is not set.</p>
<p>****As of PHP 5, objects with no properties are no longer considered empty</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=39&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/01/22/behavior-isset-empty-and-casting-of-a-variable-as-boolean-in-if-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>Some Issues You must have to Know as a PHP Developer</title>
		<link>http://tapos.wordpress.com/2008/01/21/some-issues-you-must-have-to-know-as-a-php-developer/</link>
		<comments>http://tapos.wordpress.com/2008/01/21/some-issues-you-must-have-to-know-as-a-php-developer/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 14:21:39 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/2008/01/21/some-issues-you-must-have-to-know-as-a-php-developer/</guid>
		<description><![CDATA[Ist Thing: PHP was written by the Danish/Greenlandic programmer Rasmus Lerdorf in 1994 to maintain his personal homepage and named it as Personal Home Page Tools. After Lerdorf combined it with his own Form Interpreter to create PHP/FI (this release is considered PHP version 2). Zeev Suraski and Andi Gutmans, two Israeli developers at the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=38&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ist Thing:</p>
<p>PHP was written by the Danish/Greenlandic programmer <a href="http://en.wikipedia.org/wiki/Rasmus_Lerdorf" title="Rasmus Lerdorf">Rasmus Lerdorf</a> in 1994 to maintain his <a href="http://en.wikipedia.org/wiki/Personal_homepage" title="Personal homepage">personal homepage</a> and named it as <i>Personal Home Page Tools</i>. After Lerdorf combined it with his own <i>Form Interpreter</i> to create <i>PHP/FI</i> (this release is considered PHP version 2).</p>
<p><a href="http://en.wikipedia.org/wiki/Zeev_Suraski" title="Zeev Suraski">Zeev Suraski</a> and <a href="http://en.wikipedia.org/wiki/Andi_Gutmans" title="Andi Gutmans">Andi Gutmans</a>, two Israeli developers at the <a href="http://en.wikipedia.org/wiki/Technion_IIT" title="Technion IIT">Technion IIT</a>, rewrote the <a href="http://en.wikipedia.org/wiki/Parser" title="Parser">parser</a> in 1997 and formed the base of PHP 3, changing the language&#8217;s name to the <a href="http://en.wikipedia.org/wiki/Recursive_initialism" title="Recursive initialism">recursive initialism</a> <i>PHP: Hypertext Preprocessor</i>. The development team officially released PHP/FI 2 in November 1997 after months of <a href="http://en.wikipedia.org/wiki/Development_stage#beta" title="Development stage">beta</a> testing. Public testing of PHP 3 began and the official launch came in June 1998. Suraski and Gutmans then started a <a href="http://en.wikipedia.org/wiki/Rewrite_%28programming%29" title="Rewrite (programming)">new rewrite</a> of PHP&#8217;s core, producing the <a href="http://en.wikipedia.org/wiki/Zend_Engine" title="Zend Engine">Zend Engine</a> in 1999. They also founded <a href="http://en.wikipedia.org/wiki/Zend_Technologies" title="Zend Technologies">Zend Technologies</a> in <a href="http://en.wikipedia.org/wiki/Ramat_Gan" title="Ramat Gan">Ramat Gan</a>, Israel, which actively manages the development of PHP.</p>
<p>The Histories of PHP:</p>
<table class="wikitable">
<tr>
<th>Version</th>
<th>Release date</th>
<th>Most important changes</th>
</tr>
<tr>
<td>PHP 1.0</td>
<td>June 8, 1995</td>
<td>Officially called &#8220;Personal Home Page Tools (PHP Tools)&#8221;. This is the first use of the name &#8220;PHP&#8221;.</td>
</tr>
<tr>
<td>PHP Version 2 (PHP/FI)</td>
<td>April 16, 1996</td>
<td>Considered by its creator as the &#8220;fastest and simplest tool&#8221; for creating dynamic web pages .</td>
</tr>
<tr>
<td>PHP 3.0</td>
<td>Jun 6, 1998</td>
<td>Development moves from one person to multiple developers. Zeev Suraski and Andi Gutmans rewrite the base for this version.</td>
</tr>
<tr>
<td>PHP 4.0.0</td>
<td>May 22, 2000</td>
<td>Added more advanced two-stage parse/execute tag-parsing system called the Zend engine.</td>
</tr>
<tr>
<td>PHP 4.1.0</td>
<td>Dec 10, 2001</td>
<td>Introduced the superglobals ($_GET, $_POST, $_SESSION, etc.)</td>
</tr>
<tr>
<td>PHP 4.2.0</td>
<td>April 22, 2002</td>
<td>Disabled register_globals by default</td>
</tr>
<tr>
<td>PHP 4.3.0</td>
<td>Dec 27, 2002</td>
<td>Introduced the CLI, in addition to the CGI</td>
</tr>
<tr>
<td>PHP 4.4.0</td>
<td>July 11, 2005</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>PHP 5.0.0</td>
<td>July 13, 2004</td>
<td>Zend Engine II with a new object model.</td>
</tr>
<tr>
<td>PHP 5.1.0</td>
<td>Nov 24, 2005</td>
<td>Performance improvements with introduction of compiler (CV) variables in re-engineered PHP Engine.</td>
</tr>
<tr>
<td>PHP 5.2.0</td>
<td>Nov 2, 2006</td>
<td>Enabled the filter extension by default</td>
</tr>
</table>
<p>Please check <a href="http://en.wikipedia.org/wiki/Php">http://en.wikipedia.org/wiki/Php</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/38/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/38/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=38&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/01/21/some-issues-you-must-have-to-know-as-a-php-developer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
		<item>
		<title>Create an Application with Codeigniter: Part -1 (installing CodeIgniter)</title>
		<link>http://tapos.wordpress.com/2008/01/20/create-an-application-with-codeigniter-part-1-installing-codeigniter/</link>
		<comments>http://tapos.wordpress.com/2008/01/20/create-an-application-with-codeigniter-part-1-installing-codeigniter/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 21:59:26 +0000</pubDate>
		<dc:creator>Tapos</dc:creator>
				<category><![CDATA[CODEIGNITER]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php framework]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://tapos.wordpress.com/2008/01/20/create-an-application-with-codeigniter-part-1-installing-codeigniter/</guid>
		<description><![CDATA[Due to heavy traffic on CodeIgniter, I have decided to put a tutorial on CodeIgniter. To create an application with CI(codeigniter), first step is installing the framework. To install codeigniter you need to take the following steps: Step 1: Get the latest version of the Codeigniter. You can download the framework form http://codeigniter.com/download.php Step 2: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=36&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Due to heavy traffic on CodeIgniter, I have decided to put a tutorial on CodeIgniter. To create an application with CI(codeigniter), first step is installing the framework.</p>
<p>To install codeigniter you need to take the following steps:</p>
<p>Step 1: Get the latest version of the Codeigniter. You can download the framework form <a href="http://codeigniter.com/download.php" target="_blank">http://codeigniter.com/download.php</a></p>
<p>Step 2: Unzip the Package</p>
<p>Step 3: Put the codeigniter folders and its files into your web root..</p>
<p>Step 4: Configure Your Base URL: To configure your base URL open &#8220;system/application/config/config.php&#8221; to edit. then change this line</p>
<p><i>$config['base_url']    = &#8220;&#8221;;</i></p>
<p>to</p>
<p><i>$config['base_url']    = &#8220;http://www.yoursite.com/&#8221;;</i></p>
<p><i><b>One thing You must have to put a trailing slash in the URL.</b></i></p>
<p>Step 5: Configure Your database: Now if you wan to use a database then open &#8220;system/application/config/database.php&#8221; to edit.</p>
<p>Then change these lines</p>
<p><i>$db['default']['hostname'] = &#8220;localhost&#8221;;<br />
$db['default']['username'] = &#8220;&#8221;;<br />
$db['default']['password'] = &#8220;&#8221;;<br />
$db['default']['database'] = &#8220;&#8221;;<br />
$db['default']['dbdriver'] = &#8220;mysql&#8221;;<br />
$db['default']['dbprefix'] = &#8220;&#8221;;</i></p>
<p>As Your configuration.</p>
<p>Thats it.</p>
<p>Now visit http://www.yoursite.com/</p>
<p>What do you see??</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tapos.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tapos.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tapos.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tapos.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tapos.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tapos.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tapos.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tapos.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tapos.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tapos.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tapos.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tapos.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tapos.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tapos.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tapos.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tapos.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tapos.wordpress.com&amp;blog=1271791&amp;post=36&amp;subd=tapos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tapos.wordpress.com/2008/01/20/create-an-application-with-codeigniter-part-1-installing-codeigniter/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8fe49b90c42daeef76d0e065b0f819de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tapos</media:title>
		</media:content>
	</item>
	</channel>
</rss>
