<?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>Ehsanul Haque &#187; web</title>
	<atom:link href="http://ehsan.bdwebwork.com/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://ehsan.bdwebwork.com</link>
	<description>Welcome to my personal site &#38; blog</description>
	<lastBuildDate>Wed, 07 Jul 2010 13:14:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Turn off the feature of Google Toolbar to display web history on new tabs of Firefox 3 for Mac</title>
		<link>http://ehsan.bdwebwork.com/2009/03/05/turn-off-the-feature-of-google-toolbar-to-display-web-history-on-new-tabs-of-firefox-3-for-mac/</link>
		<comments>http://ehsan.bdwebwork.com/2009/03/05/turn-off-the-feature-of-google-toolbar-to-display-web-history-on-new-tabs-of-firefox-3-for-mac/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 23:55:18 +0000</pubDate>
		<dc:creator>Ehsan</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Playground]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[Enable the Google new tab page]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Firefox Add-ons]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Toolbar]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[New tab]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Preferences]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[Toolbar]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Web history]]></category>
		<category><![CDATA[Web-browsing tools]]></category>

		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=195</guid>
		<description><![CDATA[The other day when I was browsing on my Mac (using Firefox 3) I noticed everytime I open a new tab it shows the recent websites I&#8217;ve visited and few more items under Google Toolbar title. At the begining I &#8230; <a href="http://ehsan.bdwebwork.com/2009/03/05/turn-off-the-feature-of-google-toolbar-to-display-web-history-on-new-tabs-of-firefox-3-for-mac/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The other day when I was browsing on my Mac (using Firefox 3) I noticed everytime I open a new tab it shows the recent websites I&#8217;ve visited and few more items under Google Toolbar title. At the begining I liked the idea. I thought it saves me time to type in URL of the sites I frequently visit. But this feature was not available on my PC.</p>
<p>Although I initially liked the feature, it started to bug me when I opened new tab in front of someone (visiting me &#8211; for example) and it was showing the cached page of my online banking. It actually cached the account detail page! I didn&#8217;t like the idea that if someone is looking over my shoulder will get to see my account balance. </p>
<p>Anyway I started digging into it to turn off that feature. Then I found it was something that needed to be turned off from Google Toolbar&#8217;s settings. So to turn it off go to Tools > Add-ons. It should take you to the Extensions tab. Click on the Google Toolbar for Firefox extension and then click on Preferences button. Preference window will start with Search tab and under &#8220;Web-browsing tools&#8221; section uncheck the option &#8220;Enable the Google new tab page&#8221;. You should now get back your homepage, whatever it is set to.   </p>
]]></content:encoded>
			<wfw:commentRss>http://ehsan.bdwebwork.com/2009/03/05/turn-off-the-feature-of-google-toolbar-to-display-web-history-on-new-tabs-of-firefox-3-for-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>50 Firefox 3 Add-ons That Will Change the Way You Surf the Web</title>
		<link>http://ehsan.bdwebwork.com/2008/07/18/50-firefox-3-add-ons-that-will-change-the-way-you-surf-the-web/</link>
		<comments>http://ehsan.bdwebwork.com/2008/07/18/50-firefox-3-add-ons-that-will-change-the-way-you-surf-the-web/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 13:36:27 +0000</pubDate>
		<dc:creator>Ehsan</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Add-ons]]></category>
		<category><![CDATA[BestCollegesOnline]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Read]]></category>
		<category><![CDATA[Surf]]></category>
		<category><![CDATA[way]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=88</guid>
		<description><![CDATA[Read about 50 Firefox 3 Add-ons That Will Change the Way You Surf the Web on BestCollegesOnline.com]]></description>
			<content:encoded><![CDATA[<p>Read about <a title="50 Firefox 3 Add-ons That Will Change the Way You Surf the Web" href="http://www.bestcollegesonline.com/blog/2008/07/17/50-firefox-3-add-ons-that-will-change-the-way-you-surf-the-web/trackback/" target="_blank">50 Firefox 3 Add-ons That Will Change the Way You Surf the Web</a> on <a title="BestCollegesOnline.com" href="http://www.bestcollegesonline.com/" target="_blank">BestCollegesOnline.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ehsan.bdwebwork.com/2008/07/18/50-firefox-3-add-ons-that-will-change-the-way-you-surf-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Function I frquently use</title>
		<link>http://ehsan.bdwebwork.com/2007/10/05/php-function-i-frquently-use/</link>
		<comments>http://ehsan.bdwebwork.com/2007/10/05/php-function-i-frquently-use/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 23:06:43 +0000</pubDate>
		<dc:creator>Ehsan</dc:creator>
				<category><![CDATA[Codes]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[def]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[lastLoginDate]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[lot]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[purpose]]></category>
		<category><![CDATA[result]]></category>
		<category><![CDATA[value]]></category>
		<category><![CDATA[var]]></category>
		<category><![CDATA[variable]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=64</guid>
		<description><![CDATA[While developing the web applications with PHP I have made my own small function library. In this library I have few functions that I use very frequently. One of the functions that is used more often is echo_d(). The purpose &#8230; <a href="http://ehsan.bdwebwork.com/2007/10/05/php-function-i-frquently-use/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While developing the web applications with PHP I have made my own small function library. In this library I have few functions that I use very frequently. One of the functions that is used more often is <span style="font-family: Courier; color: #008100;">echo_d()</span>. The purpose of this function is to check a variable to see if it is empty or not set; then based on the check result it either prints a default value or the value of the variable.</p>
<p>This is a simple function that saves me a lot of time and keeps my main codes cleaner. So here it is.</p>
<pre name="code" class="php">
function echo_d($var, $def) {
  $var = trim($var);
  echo ((isset($var)) &amp;&amp; (!empty($var))) ? $var : $def;
}
</pre>
<p>When to use this function? One of the most common places I use this function is in the reports. When I am generating reports for anything I always have to check whether certain value is in the database; it prints a default value if it cannot find one. The usage of this function in the scenario is something like:</p>
<pre name="code" class="php">$lastLoginDate = $rowsFromDB['last_login_date'];
echo_d($lastLoginDate, "---");</pre>
<p>This function can be expanded to make it more versatile but I have found this tiny little function very useful.</p>
<p><span style="font-weight: bold;">&#8211;</span><br style="font-weight: bold;" /><span style="font-weight: bold;">Thank you.</span><br style="font-weight: bold;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ehsan.bdwebwork.com/2007/10/05/php-function-i-frquently-use/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
