<?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>Tech Mug &#187; General</title>
	<atom:link href="http://www.techmug.com/tech/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techmug.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 12:15:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Hide Your Private Folder Without Software</title>
		<link>http://www.techmug.com/hide-your-private-folder-without-software/</link>
		<comments>http://www.techmug.com/hide-your-private-folder-without-software/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 14:19:14 +0000</pubDate>
		<dc:creator>Ehmad</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[trick]]></category>

		<guid isPermaLink="false">http://www.techmug.com/?p=736</guid>
		<description><![CDATA[Hi Guys. I hope you are doing well. Today I m going to share a small but great trick for you. I would like to share a very simple and easy trick to hide your personal folder. Because when you installed any kind of software to hide your folders you get lot of pain. Advertisement [...]]]></description>
			<content:encoded><![CDATA[<p>Hi Guys. I hope you are doing well. Today I m going to share a small but great trick for you. I would like to share a very simple and easy trick to <strong>hide your personal folder</strong>. Because when you installed any kind of software to hide your folders you get lot of pain.</p>
<p><span id="more-736"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "2820701010";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
<p><strong>hide your personal folder</strong> with my personal trick: D<br />
Just follow these simple steps <img src='http://www.techmug.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>Make new folder anywhere in your hard drive.</li>
<li><a href="http://www.techmug.com/wp-content/uploads/2011/07/make-new-folder.jpg"><img class="alignnone size-medium wp-image-739" title="make new folder" src="http://www.techmug.com/wp-content/uploads/2011/07/make-new-folder-300x193.jpg" alt="make new folder" width="300" height="193" /></a></li>
<li>Rename your folder Hold Alt key and press “1060” and press enter you can see your folder not have any name.</li>
<li>Right click on your folder and go to “Properties” then you can see the tab “Customize” and select “change icon”. Select any blank space icon and click Ok</li>
<li><a href="http://www.techmug.com/wp-content/uploads/2011/07/goto-folder-properties.jpg"><img class="alignnone size-medium wp-image-741" title="go to folder properties" src="http://www.techmug.com/wp-content/uploads/2011/07/goto-folder-properties-256x300.jpg" alt="go to folder properties" width="256" height="300" /></a></li>
<li><a href="http://www.techmug.com/wp-content/uploads/2011/07/change-icon.jpg"><img class="alignnone size-medium wp-image-742" title="change icon" src="http://www.techmug.com/wp-content/uploads/2011/07/change-icon-257x300.jpg" alt="change icon" width="257" height="300" /></a></li>
<li><a href="http://www.techmug.com/wp-content/uploads/2011/07/icon-changed.jpg"><img class="alignnone size-medium wp-image-743" title="icon changed" src="http://www.techmug.com/wp-content/uploads/2011/07/icon-changed-270x300.jpg" alt="icon changed" width="270" height="300" /></a></li>
<li>Once you have done your personal folder will be invisible surely <img src='http://www.techmug.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ul>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "4831550702";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techmug.com/hide-your-private-folder-without-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Basics for Beginners</title>
		<link>http://www.techmug.com/php-basics-for-beginners/</link>
		<comments>http://www.techmug.com/php-basics-for-beginners/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 11:44:38 +0000</pubDate>
		<dc:creator>Fraz Ahmed</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[double quote]]></category>
		<category><![CDATA[PHP Basics for Beginners]]></category>
		<category><![CDATA[php beginner developers]]></category>
		<category><![CDATA[php for beginners]]></category>

		<guid isPermaLink="false">http://www.techmug.com/?p=299</guid>
		<description><![CDATA[This article aims to serve for beginner PHP developers but those who are comfortable with PHP will also find this article useful. Basically, I&#8217;ll tell you the difference between some of PHP commonly used functions/features. By the end of this article you will have a clear difference among: include VS require include_once VS include require_once [...]]]></description>
			<content:encoded><![CDATA[<p>This article aims to serve for <strong>beginner PHP developers</strong> but those who are comfortable with PHP will also find this article useful. Basically, I&#8217;ll tell you the difference between some of PHP commonly used functions/features. By the end of this article you will have a clear difference among:</p>
<ul>
<li>include VS require</li>
<li>include_once VS include</li>
<li>require_once VS require</li>
<li>echo VS print</li>
<li>Single quote VS Double quote</li>
</ul>
<p>Apparently all functions in each above point work in similar fashion. However, they are slightly different from other. Continue reading to explore the differences.</p>
<p><span id="more-299"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "2820701010";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
<h1>include VS require</h1>
<p>Both are frequently used to include other files into our PHP code. Following are the differences between &#8216;include&#8217; and &#8216;require&#8217;:</p>
<ul>
<li>&#8216;include&#8217; throws a warning, if your specified file is not found. Rest of the code will be rendered.</li>
<li>&#8216;require&#8217; throws a fatal error, if your specified file is not found. Rest of the code will not be rendered.</li>
</ul>
<h3><strong>Testing with Code Example</strong></h3>
<p>I&#8217;m using some code to make it more clear. To check it yourself you may follow the steps with me. Create a new file  &#8216;inc.file.php&#8217;, put below code in it:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
function printMe()
{
 return &quot;I have some code &lt;br&gt;&quot;;
}

echo printMe();
?&gt;
</pre>
<p>Save the file in any directory of server. Now create a new file &#8216;index.php&#8217; and put the below code in it:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
include 'inc.nofile.php'; //File does not exist
include 'inc.file.php'; //This line will be rendered
?&gt;
</pre>
<p>Save the file in same directory. To see how &#8216;include&#8217; works, run the &#8216;index.php&#8217; file from your browser. You will see an error something similar to:<br />
<em><br />
<strong>Warning</strong>: include(inc.nofile.php) [<a href="http://localhost/function.include">function.include</a>]: failed to open stream: No such file or directory in&#8230;</em></p>
<p>But still you can see that the text &#8211; &#8220;<strong>I have some code</strong>&#8221; is printed to the screen.</p>
<p>However, same test for &#8216;require&#8217;, shows that second line will not be rendered. Here is the code for testing &#8216;require&#8217;. Just copy and paste below code to your &#8216;index.php&#8217; file (Remove any existing code)</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
require 'inc.nofile.php'; //File does not exist
include 'inc.file.php'; //This line will not be rendered
?&gt;
</pre>
<p>This time we again get an error, but note that nothing is rendered after an error occurred.</p>
<h3><strong>Conclusion</strong></h3>
<p>Use &#8216;include&#8217; when you want to render the code even if an error occurs. And use &#8216;require&#8217; when you do not want to render the remaining code after an error occurs.</p>
<h1>include_once VS include AND require_once VS require</h1>
<p>&#8216;include_once&#8217; and &#8216;require_once&#8217; are same in nature. Here we will see the difference of &#8216;include_once&#8217; against &#8216;include&#8217;. Following are the differences between &#8216;include&#8217; and &#8216;include_once&#8217;:</p>
<ul>
<li>All includes for same file will be rendered, if you are using &#8216;include&#8217;.</li>
<li>While all includes for same file will be rendered only once, if you are using &#8216;include_once&#8217;. This helps you to prevent an error, if same file included again.</li>
</ul>
<h3><strong><strong>Testing with Code Example</strong></strong></h3>
<p>To start off with experimenting, replace below code in &#8216;index.php&#8217;</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
include 'inc.file.php';
include 'inc.file.php'; //It will generate a fatal error
?&gt;
</pre>
<p>Above code will be ended with following error,</p>
<p><em><strong>Fatal error</strong>: Cannot redeclare printMe() (previously declared</em></p>
<p>Because, we are using same file in our includes. And our file &#8211; inc.file.php &#8211; has a function of printMe(). Since, we cannot re-declare a function in PHP, it throws an error.</p>
<p>But if we test below code by replacing it in our &#8216;index.php&#8217; file, it will not throw any error.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
include_once 'inc.file.php';
include_once 'inc.file.php'; //This will be ignored
?&gt;
</pre>
<p>Since &#8216;inc.file.php&#8217; is included using &#8216;include_once&#8217;, it will ignore the second line because it includes same file only once.</p>
<h3>Conclusion</h3>
<p>Use &#8216;include_once&#8217;, where you are in doubt of including the same file again somewhere in your code.</p>
<h1>print VS echo</h1>
<p>&#8216;print&#8217; and &#8216;echo&#8217; are almost similar. Both are used to write text to screen. But there is a single difference between them:</p>
<ul>
<li>&#8216;print&#8217; does not accept multiple parameters.</li>
<li>While &#8216;echo&#8217; accepts multiple parameters.</li>
</ul>
<p>Above difference may be confusing to many people. I try to clear the confusion by explaining the difference by code.</p>
<h3>Testing with Code Example</h3>
<p>Let&#8217;s begin with &#8216;echo&#8217; example. We pass two parameters to &#8216;echo&#8217;:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
echo (&quot;Tech &quot;), (&quot;Mug&quot;);
?&gt;
</pre>
<p>Above code will be rendered without any error. But if we try same thing with &#8216;print&#8217;, it will be ended with a parse error. Let&#8217;s try it:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
print (&quot;Tech &quot;), (&quot;Mug&quot;); //This will generate an error
?&gt;
</pre>
<p>Above code will give you an error something similar to,</p>
<p><strong>Parse error</strong>: parse error in&#8230;</p>
<h3>Conclusion</h3>
<p>We may pass multiple parameters to &#8216;echo&#8217; but not to &#8216;print&#8217;.</p>
<h1>Single quote VS Double quote</h1>
<p>This might be very confusing for many developers to choose between single and double quote for writing string. There is a couple of difference between using single and double quote:</p>
<ul>
<li>Any variable or special character like \n \r etc under the single quote will not be rendered. It will be displayed as an string.</li>
<li>Any variable or special character like \n \r etc under the double quote will be rendered properly.</li>
</ul>
<h3>Test with Code Example</h3>
<p>Test the below code in &#8216;index.php&#8217; file and run the file.</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
$var = 'I am a string!';

echo 'I write - $var'; //It will not render $var variable
echo &quot;I write - $var&quot;; //It will render $var successfully

// Special formatting characters (\n \r etc) also do not
// work with single quote
echo 'My first line \n my new line'; // \n sequence will not be rendered and displayed as a string
echo &quot;My first line \n my new line&quot;; // \n sequence will be rendered
?&gt;
</pre>
<p>Explanation of above code should be understandable by reading the comments, the code has.</p>
<h3>Conclusion</h3>
<p>It does not make any difference to use single or double quote until you want to render a variable and/or any special character in it.</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "4831550702";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
<p>Hopefully, now you have a better understanding of above discussion and it helps for <strong>php beginner developers</strong> . Please feel free to share your thoughts or ask any question. Your comments are always welcome. If you like this article, please share it on your favorite website. It may help someone somewhere!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techmug.com/php-basics-for-beginners/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Digital Marketing for Start Ups</title>
		<link>http://www.techmug.com/digital-marketing-for-start-ups/</link>
		<comments>http://www.techmug.com/digital-marketing-for-start-ups/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 07:21:33 +0000</pubDate>
		<dc:creator>Ali Aurangzeb</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Digital Marketing]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[budget]]></category>
		<category><![CDATA[budget digital marketing media]]></category>
		<category><![CDATA[Digiatl Marketing]]></category>
		<category><![CDATA[marketing media]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[Start Ups]]></category>

		<guid isPermaLink="false">http://www.techmug.com/?p=221</guid>
		<description><![CDATA[It’s happening, it’s now and it’s here to stay. That being said, digital marketing is an avenue which leads to the next marketing highway. So be it a startup business, medium sized, multi-national or a corporation, digital marketing is for anyone who wants value for money and optimum utilization for their budgets. What is a [...]]]></description>
			<content:encoded><![CDATA[<p>It’s happening, it’s now and it’s here to stay. That being said,<strong> digital marketing</strong> is an avenue which leads to the next marketing highway. So be it a startup business, medium sized, multi-national or a corporation, digital marketing is for anyone who wants value for money and optimum utilization for their budgets.</p>
<h1>What is a Startup Business?</h1>
<p>Is the first question that comes mind. Clearly startup most startups have one thing in common limited financial resources, and the sincere will to spend wisely in order to get the proverbial &#8220;bang for the buck. Considering that, it would be pertinent to direct marketing efforts towards a more focused audience rather than a fragmented one. In order to do that we need to learn the media usage and business habits of the audience we wish to target.</p>
<p><span id="more-221"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "2820701010";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
<p>If the product or service relates to the segment which uses the internet then digital should be the driving force behind the marketing efforts. Now we arrive to the next question of what can be done given the limited finances to achieve maximum results. What are the various ways the digital medium can be used for achieving goals and meeting business objectives?</p>
<p><strong>Digital marketing</strong> can be done through various means and can be tailored to meet big budgets as well as small.</p>
<p>To understand how to allocate budget wisely it’s important to understand the following:</p>
<p><img class="alignnone size-full wp-image-223" title="Digital Marketing" src="http://www.techmug.com/wp-content/uploads/2010/08/OwnedMedia.gif" alt="Digital Marketing for Start Ups" width="600" height="327" /></p>
<p>Once the above is understood marketers can evaluate and allocate budget accordingly.</p>
<h1>An example of a startup business doing effective digital marketing</h1>
<p>As the Marketing Manager I had less than $100,000 to spend on media for a consumer product with distribution in 50,000 consumer outlets. Instead of spreading those dollars among the 25 websites in the category with little or no effectiveness, I bought year-round advertising in just two. To the readers of those two websites, we looked like a major national brand. As the company&#8217;s sales grew, the budget expanded, and we were able to add other websites and communications channels.</p>
<p><strong>Note</strong>: Please note this article is a guest post, written by <a href="http://creativejin.com/whoweare.html" target="_blank">Mr. Ali Aurangzeb</a>.</p>
<p>If you like this article, please share it on your favorite website. It may help someone somewhere!</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "4831550702";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techmug.com/digital-marketing-for-start-ups/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Detect Javascript and Flash Enabled</title>
		<link>http://www.techmug.com/detect-javascript-and-flash-enabled/</link>
		<comments>http://www.techmug.com/detect-javascript-and-flash-enabled/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 18:56:07 +0000</pubDate>
		<dc:creator>Fraz Ahmed</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Detect Javascript]]></category>
		<category><![CDATA[Flash Enabled]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[tactic]]></category>

		<guid isPermaLink="false">http://www.techmug.com/?p=73</guid>
		<description><![CDATA[Javascript and Flash are super tools to enhance the usability of your website. You put a lot of efforts to create beautiful form validation and an attractive flash animation. But all the efforts are ruined when the visitor of your website has disabled Javascript or does not have flash plugin installed. Here I&#8217;ll provide you [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Javascript and Flash</strong> are super tools to enhance the usability of your website. You put a lot of efforts to create beautiful form validation and an <strong>attractive flash animation</strong>. But all the efforts are ruined when the visitor of your website has disabled Javascript or does not have flash plugin installed. Here I&#8217;ll provide you a little solution to escape from this problem.</p>
<p><span id="more-73"></span></p>
<h2>First Tactic &#8211; Detect Javascript Enabled</h2>
<p>Our first step is to detect whether visitor has Javascript enabled or not. If Javascript is not enable, we will redirect user to an error/instruction page <em>(I create a seperate page where I give instructions to visitor that how to enable Javascript in his/her browser)</em>.</p>
<p>Put below code just after the <em>&lt;head&gt;</em> tag in your web page:</p>
<pre class="brush: php; title: ; notranslate">
&lt;noscript&gt;
&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;URL=error-javascript.php&quot; /&gt;
&lt;/noscript&gt;
</pre>
<p>Above code is executed if Javascript is disabled and redirect user to <em>error-javascript.php</em>. We are using <em>&lt;meta&gt;</em> tag for redirection. If Javascript is not disabled, above code will not be executed.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "2820701010";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
<h2><strong>Second Tactic- Detect Flash Plugin Installed</strong></h2>
<p>There is a<strong> Javascript solution to detect Flash Plugin</strong> Installed and replace Flash animation with your custom message. In order to accomplish the said task you need to place below Javascript instead of your normal embedded code:</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
var MM_contentVersion = 9;
var plugin = (navigator.mimeTypes &amp;&amp; navigator.mimeTypes[&quot;application/x-shockwave-flash&quot;]) ? navigator.mimeTypes[&quot;application/x-shockwave-flash&quot;].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins[&quot;Shockwave Flash&quot;].description.split(&quot; &quot;);
	    for (var i = 0; i &lt; words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i];
	    }
	var MM_FlashCanPlay = MM_PluginVersion &gt;= MM_contentVersion;
}
else if (navigator.userAgent &amp;&amp; navigator.userAgent.indexOf(&quot;MSIE&quot;)&gt;=0
   &amp;&amp; (navigator.appVersion.indexOf(&quot;Win&quot;) != -1)) {
	document.write('&lt;SCR' + 'IPT LANGUAGE=VBScript\&gt; \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject(&quot;ShockwaveFlash.ShockwaveFlash.&quot; &amp; MM_contentVersion)))\n');
	document.write('&lt;/SCR' + 'IPT\&gt; \n');
}
if ( MM_FlashCanPlay ) {
	document.write('&lt;object classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0&quot; width=&quot;160&quot; height=&quot;120&quot;&gt;');
    document.write('&lt;param name=&quot;movie&quot; value=&quot;animation.swf&quot;&gt;');
    document.write ('&lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;');
	document.write ('&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;');
    document.write('&lt;embed src=&quot;animation.swf&quot; width=&quot;160&quot; height=&quot;120&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;&lt;/object&gt;');
} else{
	document.write('&lt;a href=&quot;./&quot;&gt;&lt;img src=&quot;replaced-image.png&quot; alt=&quot;Flash Plugin not Installed&quot; border=&quot;0&quot;&gt;&lt;/a&gt;');

}
//--&gt;

&lt;/script&gt;
</pre>
<p>Above code detect for Version 9 or greater version of flash plugin. If flash plugin is detected it displays flash animation <em>(animation.swf)</em> else it displays an image <em>(replaced-image.png)</em> instead of flash animation. In the place of image you can write more text and instructions. Everything is upto on you.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7217075623453662";
google_ad_slot = "4831550702";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<center><font-size="9px">Advertisement</font></center></p>
<p>Don&#8217;t forget to share the post on your favorite website. It may also help someone somewhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techmug.com/detect-javascript-and-flash-enabled/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

