<?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>Laxmanparmar's Blog</title>
	<atom:link href="http://laxmanparmar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://laxmanparmar.wordpress.com</link>
	<description>A knowledge that related to computer</description>
	<lastBuildDate>Fri, 25 Jun 2010 13:11:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='laxmanparmar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/36f4d3e10a0fc74e27ba35d3ce33c19d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Laxmanparmar's Blog</title>
		<link>http://laxmanparmar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://laxmanparmar.wordpress.com/osd.xml" title="Laxmanparmar&#039;s Blog" />
	<atom:link rel='hub' href='http://laxmanparmar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Add Extension in Dreamweaver for cake or other framework</title>
		<link>http://laxmanparmar.wordpress.com/2009/05/19/add-extension-in-dreamweaver/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/05/19/add-extension-in-dreamweaver/#comments</comments>
		<pubDate>Tue, 19 May 2009 10:07:53 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/?p=104</guid>
		<description><![CDATA[go to installed folder of dreamweaver-&#62;configuration-&#62;document types-&#62;MMDocumentTypes.xml find &#8220;PHP_MySQL&#8221; change parameter winfileextension -&#62;add &#8216;ctp,thtml&#8217; after &#8216;php,php3,php4,php5&#8242; parameter look like this &#8220;php,php3,php4,php5,ctp,thtml&#8221; macfileextension-&#62;add &#8216;ctp,thtml&#8217; after &#8216;php,php3,php4,php5&#8242; parameter look like this &#8220;php,php3,php4,php5,ctp,thtml&#8221; open Extensions.txt in configuration folder find &#8220;All Documents&#8221; add &#8220;CTP,THTML&#8221; before &#8220;All Documents&#8221; save it. Enjoy<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=104&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>go to installed folder of dreamweaver-&gt;configuration-&gt;document</p>
<p>types-&gt;MMDocumentTypes.xml</p>
<p>find &#8220;PHP_MySQL&#8221; change parameter<br />
winfileextension -&gt;add &#8216;ctp,thtml&#8217; after &#8216;php,php3,php4,php5&#8242; parameter look<br />
like this &#8220;php,php3,php4,php5,ctp,thtml&#8221;</p>
<p>macfileextension-&gt;add &#8216;ctp,thtml&#8217; after &#8216;php,php3,php4,php5&#8242; parameter look<br />
like this &#8220;php,php3,php4,php5,ctp,thtml&#8221;</p>
<p>open Extensions.txt in configuration folder<br />
find  &#8220;All Documents&#8221; add &#8220;CTP,THTML&#8221; before &#8220;All Documents&#8221;<br />
save it.</p>
<p>Enjoy</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=104&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/05/19/add-extension-in-dreamweaver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>.htaccess or search engine friendly URL</title>
		<link>http://laxmanparmar.wordpress.com/2009/04/01/htaccess-or-search-engine-friendly-url/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/04/01/htaccess-or-search-engine-friendly-url/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 13:56:18 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/?p=102</guid>
		<description><![CDATA[.htaccess or search engine friendly URL .htaccess is the filename of a special configuration file that provides a number of directives (commands) for controlling and configuring the Apache Web Server, and also to control its many modules like mod_rewrite (for htaccess rewrite), mod_alias (for htaccess redirects), and mod_ssl. Htaccess allows for decentralized management of configuration [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=102&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table width="100%" border="0">
<tr>
<td><H1>.htaccess or search engine friendly URL </h1>
<p><strong>.htaccess</strong> is the filename of a special configuration file that provides a number of directives (commands) for controlling and configuring the Apache Web Server, and also to control its many modules like mod_rewrite (for htaccess rewrite), mod_alias (for htaccess redirects), and mod_ssl.</p>
<p><strong>Htaccess</strong> allows for decentralized management of  configuration when placed inside the web tree. Htaccess is sometimes  called: &ldquo;HyperText Access&rdquo;because one of the main functions of Htaccess  files are to control access of HTTP (HyperText Transfer Protocol),  which we know as the WWW. Htaccess is a very ancient configuration  file, and is also one of the most powerful configuration files you will  ever come across.</p>
</td>
</tr>
<tr>
<td>
<p>The Apache Web server provides a feature called .htaccess file, which provides commands  to control a Web site. This file is simply a text file containing Apache directives.  Those directives apply to the documents in the directory where the file is located,  and to all subdirectories under it as well. Other .htaccess files in subdirectories may change or  nullify the effects of those in parent directories. </p>
<p>You have to be careful when editing .htaccess files, as a small mistake can make  your Web site stop working. You should immediately test the site to be sure it works. </p>
<p>&nbsp;</p>
<p>.htacce mostly uses for the extension hidding for example if websites are running on php and developer are not want to display .php extension then it is useful to use .htaccess file and make it as directory structure or you can also display as .html or .hml</p>
<p>.htm or .html file are search engine friendly so it is useful for SEO working </p>
</td>
</tr>
<tr>
<td>
<p>&nbsp;</p>
<p>Sometimes you may need to make sure that the user is browsing your  site over securte connection. An easy to way to always redirect the  user to secure connection (https://) can be accomplished with a  .htaccess file containing the following lines:</p>
<pre>RewriteEngine On RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]</pre>
<p>Please, note that the .htaccess should be located in the web site main folder.</p>
<p>In case you wish to force HTTPS for a particular folder you can use:</p>
<pre>RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} somefolder RewriteRule ^(.*)$ https://www.domain.com/somefolder/$1 [R,L]</pre>
<p>The .htaccess file should be placed in the folder where you need to force HTTPS.</p>
</td>
</tr>
<tr>
<td>
<p>Here are the most notable and useful .htaccess examples&#8230; </p>
<h2>Custom error pages</h2>
<p>The most common errors are 404 (Not Found) and 500 (Internal Server Error).  Design your custom Web pages for these errors (you aren&#8217;t limited to these errors,  you can create an error page for each and every error).  Add the following commands to your .htaccess file&#8230; </p>
<div>
<p>RewriteEngine On</p>
<p>ErrorDocument 404 /404.html<br />
          ErrorDocument 500 /500.html </p>
</p></div>
</td>
</tr>
<tr>
<td>
<h2>Redirects</h2>
<p>You can use .htaccess file to redirect any request for a specific page to a new page&#8230; </p>
<div> Redirect /domain/old.html http://site.com/new.html </div>
<p>Server-side redirects are very useful for shortening affiliate links.  Your visitors won&#8217;t be turned off by long links that are obviously affiliate links.  For example, to create a redirect at the URL:</p>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>
<h2>Redirecting domain.com to www.domain.com</h2>
<p>If search engines find both www and non-www links from other sites to your site, they may treat <strong>http://domain.com</strong> and <strong>http://www.domain.com</strong> as two different websites with the same content.  This means that your site can be penalized for duplicate content. </p>
<p>Many experts recommend to set up a 301 redirect (permanent redirect) from YourSite.com to www.domain.com&#8230; </p>
<div> RewriteEngine On<br />
        RewriteCond %{HTTP_HOST} ^domain\.com [nc]<br />
        RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
      </div>
<p>Replace &#8220;domain.com&#8221; with your real domain name. </p>
</td>
</tr>
<tr>
<td>
<p>The .htaccess file is very obscure and extremely useful when used properly.  The above htaccess examples cover only a few possible uses of this powerful tool.  For more information, see&#8230;</p>
<p><a href="http|//httpd.apache.org/docs/1.3/howto/htaccess.html">http://httpd.apache.org/docs/1.3/howto/htaccess.html</a></p>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=102&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/04/01/htaccess-or-search-engine-friendly-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Sql Server</title>
		<link>http://laxmanparmar.wordpress.com/2009/03/27/installing-sql-server/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/03/27/installing-sql-server/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 11:02:53 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/?p=99</guid>
		<description><![CDATA[&#160; How to Install SQL Server 2005 &#8211; A Quick Guide Purpose: To describe how to perform a basic installation of SQL Server 2005. Version Information: Although this document addresses SQL Server 2005 Developer Edition, the instructions are very similar or the same for other editions of SQL Server 2005. Important Notes: Before installing SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=99&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table width="100%" border="0">
<tr>
<td style="height:35px;width:700px;" valign="top">
<p><img alt="Essential Guides" src="banner05.gif" /></p>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td class="BoldHeader" style="width:700px;">How to Install SQL Server 2005 &#8211; A Quick Guide</td>
</tr>
<tr>
<td style="height:20px;width:700px;"><img alt="" src="solidline_700.gif" /></td>
</tr>
<tr>
<td>
<p><b>Purpose:</b> To describe how to perform a basic installation of </p>
<p>SQL Server 2005. </p>
<p>        <b>Version Information:</b> Although this document addresses</p>
<p> SQL Server 2005 </p>
<p>Developer Edition, the instructions are very similar or the</p>
<p> same for other editions </p>
<p>of SQL Server 2005.</p>
<p>
        <b>Important Notes:</b> Before installing SQL Server 2005,</p>
<p> SQL Server 2000 databases<br />
          should be backed up (if they are required), and the SQL Server 2000 </p>
<p>software should be completely un-installed through the Control Panel,</p>
<p> UNLESS there is a technical requirement for it to exist on the same machine.</p>
</td>
</tr>
<tr>
<td><img alt="" src="solidline_700.gif" /></td>
</tr>
<tr>
<td>
<p>Although SQL Server 2000 and 2005 can exist side by side on the</p>
<p> same machine, they have to be installed as separate named instances. </p>
<p>This document does not attempt to address the details of SQL</p>
<p> Server named instances – if in doubt, consult the DBA for the project for which the installation is being performed. </p>
<p>      Should a user require SQL Server 2000 AFTER SQL Server 2005</p>
<p> has been installed, it can be installed as a separate named instance,</p>
<p> however a check should be made to ensure that any critical applications</p>
<p> that require SQL Server 2000 are capable of</p>
<p> supporting named instances – not all are.</p>
</td>
</tr>
<tr>
<td class="NavyText">1. Insert the DVD into the DVD drive and double-click on the icon:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Insert the DVD into the DVD drive" src="http://laxmanparmar.files.wordpress.com/2009/03/screen01.gif?w=570" /></div>
</td>
</tr>
<tr>
<td class="NavyText">2. The installation screen should appear:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="The SQL Server installation screen appears" src="http://laxmanparmar.files.wordpress.com/2009/03/screen02.gif?w=570" /></div>
</td>
</tr>
<tr>
<td style="height:20px;">
<p>For most installations, if installing on standard 32 bit Windows XP</p>
<p> Professional, click on the x86-based operating systems option.</p>
</td>
</tr>
<tr>
<td class="NavyText">3. Click on Server components, tools, Books online and samples:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Click on Server components, tools, Books online and samples" src="http://laxmanparmar.files.wordpress.com/2009/03/screen03.gif?w=570" /></div>
</td>
</tr>
<tr>
<td class="NavyText">
<p>4. Read the terms and conditions of the license agreement</p>
<p> and click the check box to accept them:</p>
</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Read and accept the terms and conditions of the license agreement" src="http://laxmanparmar.files.wordpress.com/2009/03/screen04.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>Then click Next.</td>
</tr>
<tr>
<td class="NavyText">5. The Installing Prerequisites screen appears:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="The Installing Prerequisites screen" src="http://laxmanparmar.files.wordpress.com/2009/03/screen05.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p>Click on the Install button and wait whilst the system </p>
<p>components are configured. This may take 10-20 seconds.</p>
</td>
</tr>
<tr>
<td class="NavyText">6. Once the prerequisites are installed, click on the Next:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Prerequisites are installed" src="http://laxmanparmar.files.wordpress.com/2009/03/screen06.gif?w=570" /></div>
</td>
</tr>
<tr>
<td class="NavyText">
<p>7. Wait for a few seconds for the following screen </p>
<p>to appear, and then click on Next:</p>
</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Welcome to the Microsoft SQL Server Installation Wizard" src="http://laxmanparmar.files.wordpress.com/2009/03/screen07.gif?w=570" /></div>
</td>
</tr>
<tr>
<td class="NavyText">8. The System Configuration Check screen appears:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="The System Configuration Check screen" src="http://laxmanparmar.files.wordpress.com/2009/03/screen08.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>If the configuration check completes successfully (Success appears in the top panel, all ticks in the Details panel), click on Next.</td>
</tr>
<tr>
<td class="NavyText">9. Fill in the Registration Information details:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Fill in the Registration Information details" src="http://laxmanparmar.files.wordpress.com/2009/03/screen09.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>Click on Next.</td>
</tr>
<tr>
<td class="NavyText">10. Select the components to install:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Select the components to install" src="http://laxmanparmar.files.wordpress.com/2009/03/screen10.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p>Note that the components selected in the screen shot above </p>
<p>are the most common components that will be needed</p>
<p> for most developers and development DBAs. However,</p>
<p> if another component such as Analysis Services is needed, </p>
<p>it can be added easily afterwards by re-inserting the installation </p>
<p>DVD and re-running the setup program. </p>
<p>
      Click on the Advanced button to open up further options.</p>
</td>
</tr>
<tr>
<td class="NavyText">11. The advanced Features Selection screen opens:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Feature selection" src="http://laxmanparmar.files.wordpress.com/2009/03/screen11.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p><b>IMPORTANT NOTE</b><br /> <br />
        As a general rule it is not necessary to change the default installation</p>
<p> path or the Developer Edition installation, unless your</p>
<p> organisation has a standard which is different. If in doubt,</p>
<p> check an existing PC or server at your site. </p>
<p>Click on Next.</p>
</td>
</tr>
<tr>
<td class="NavyText">12. Select the Default instance:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Select the Default instance" src="http://laxmanparmar.files.wordpress.com/2009/03/screen12.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p><b>IMPORTANT NOTE</b><br /> <br />
        If the Default instance radio button is disabled, this probably means</p>
<p> that there is another, default instance of SQL Server 2000 or SQL </p>
<p>Server 2005 already installed on this machine. In this case, </p>
<p>consult the DBA for the project as it may not be necessary or</p>
<p> desirable to re-install the database components. </p>
<p>Click on Next.</p>
</td>
</tr>
<tr>
<td class="NavyText">13. Select the radio button &#8220;Use the built-in System account&#8221;:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Select the radio button Use the built-in System account" src="http://laxmanparmar.files.wordpress.com/2009/03/screen13.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p>The first step will change the Windows account under which</p>
<p> the SQL Server service executes to the Local System account. </p>
<p>In a production environment or certain development environments,</p>
<p> it may be desirable to change this to a domain user account,</p>
<p> but this is not usually necessary for local developer installations.</p>
<p> Note that the service account settings can be changed through the</p>
<p> Services applet in the Control Panel at any point after installation, </p>
<p>however SQL Server will require re-starting in order for these </p>
<p>changes to take effect. </p>
<p>Click on Next.</p>
</td>
</tr>
<tr>
<td class="NavyText">
<p>14. Change Authentication Mode to Mixed Mode and set a password</p>
<p> for the sa logon. The user’s NT logon name could be used as an initial </p>
<p>password, but note that whatever is used, it should NOT be the same</p>
<p> for each machine as the sa account gives sysadmin privileges to</p>
<p> any user who uses it:</p>
</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Change Authentication Mode to Mixed Mode and set a password for the sa logon" src="http://laxmanparmar.files.wordpress.com/2009/03/screen14.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>Click on Next.</td>
</tr>
<tr>
<td class="NavyText">
<p>15. Keep the default collation settings, UNLESS the DBA for the project</p>
<p> specifies that they should be changed. Be aware that certain </p>
<p>applications require non-default settings:</p>
</td>
</tr>
<tr>
<td align="center">&nbsp;</td>
</tr>
<tr>
<td>Click on Next.</td>
</tr>
<tr>
<td class="NavyText">
<p>16. Select Error Reporting and Usage options – it does not matter what</p>
<p> these are set to, as they are completely at your discretion:</p>
</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Error Reporting and Usage options" src="http://laxmanparmar.files.wordpress.com/2009/03/screen16.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>Click on Next.</td>
</tr>
<tr>
<td class="NavyText">17. The pre-installation screen will now appear:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="The SQL Server pre-installation screen" src="http://laxmanparmar.files.wordpress.com/2009/03/screen17.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>Click on Install.</td>
</tr>
<tr>
<td class="NavyText">
<p>18. The Setup Progress screen will appear, inform</p>
<p><span><img alt="Keep the default collation settings, unless you have a reason to change them" src="http://laxmanparmar.files.wordpress.com/2009/03/screen15.gif?w=570" /></span>ing you of installation progress:</p>
</td>
</tr>
<tr>
<td align="center" style="width:700px;">
<div align="left"><img alt="SQL Server setup progress" src="http://laxmanparmar.files.wordpress.com/2009/03/screen18.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p>This step ususally takes 10-30 minutes, but requires no user</p>
<p> intervention &#8211; so now&#8217;s a</p>
<p> good time to take a break and make some coffee.</p>
</td>
</tr>
<tr>
<td class="NavyText">19. The Setup steps have completed:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="SQL Server setup has finished" src="http://laxmanparmar.files.wordpress.com/2009/03/screen19.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>Click on Next.</td>
</tr>
<tr>
<td class="NavyText">20. The &#8220;Completing Microsoft SQL Server 2005 Setup&#8221; screen will now appear:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="Completing Microsoft SQL Server 2005 Setup" src="http://laxmanparmar.files.wordpress.com/2009/03/screen20.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p>If you only want the database server to be accessible from the machine</p>
<p> on which it is installed, click on Finish.<br />
            SQL Server 2005</p>
<p> installation is now complete. </p>
<p>
      However, if you wish the database server to be accessible from </p>
<p>other machines, click on the Surface Area Configuration tool link.</p>
</td>
</tr>
<tr>
<td class="NavyText">21. The &#8220;Help Protect Your SQL Server&#8221; screen will appear:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="The Help Protect Your SQL Server screen will appear" src="http://laxmanparmar.files.wordpress.com/2009/03/screen21.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>Click on the Surface Area Configuration for Services and Connections link.</td>
</tr>
<tr>
<td class="NavyText">22. The SQL Server 2005 Surface Area Configuration screen will appear:</td>
</tr>
<tr>
<td align="center">
<div align="left"><img alt="SQL Server 2005 Surface Area Configuration" src="http://laxmanparmar.files.wordpress.com/2009/03/screen22.gif?w=570" /></div>
</td>
</tr>
<tr>
<td>
<p>Click on the Remote Connections node in the left hand tree pane,</p>
<p> then click on Local and remote connections.<br />
        By default, TCP/IP </p>
<p>only is selected and is usually sufficient in most development environments,</p>
<p> but if you suspect that you may need SQL Server 2005 to host legacy</p>
<p> applications which require support for the named pipes SQL Server </p>
<p>communication protocol, click on “Using TCP/IP and Named Pipes”.</p>
<p> If in doubt, consult the DBA for the project. </p>
<p>
        In addition, if you wish this installation of SQL Server to automatically </p>
<p>announce itself on the network to automatic database server directory queries, </p>
<p>click on the SQL Server Browser Service, set the Startup type to ‘Automatic”,</p>
<p> click on “Apply”, then click on the Start button.</p>
<p>
        Click on OK, and then close the “Help Protect Your SQL Server” screen.<br />
        Finally, click on the Finish button</p>
<p> on the “Completing Microsoft SQL Server 2005 Setup” screen.</p>
<p>      SQL Server 2005 setup is now complete.</td>
</tr>
<tr>
<td class="NavyText"><img alt="" src="http://laxmanparmar.files.wordpress.com/2009/03/solidline_700.gif?w=570" /></td>
</tr>
<tr>
<td><a href="#top" class="HyperLinkNavsRed">Top of Page</a></td>
</tr>
</table>
</div>
</td>
</tr>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=99&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/03/27/installing-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen01.gif" medium="image">
			<media:title type="html">Insert the DVD into the DVD drive</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen02.gif" medium="image">
			<media:title type="html">The SQL Server installation screen appears</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen03.gif" medium="image">
			<media:title type="html">Click on Server components, tools, Books online and samples</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen04.gif" medium="image">
			<media:title type="html">Read and accept the terms and conditions of the license agreement</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen05.gif" medium="image">
			<media:title type="html">The Installing Prerequisites screen</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen06.gif" medium="image">
			<media:title type="html">Prerequisites are installed</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen07.gif" medium="image">
			<media:title type="html">Welcome to the Microsoft SQL Server Installation Wizard</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen08.gif" medium="image">
			<media:title type="html">The System Configuration Check screen</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen09.gif" medium="image">
			<media:title type="html">Fill in the Registration Information details</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen10.gif" medium="image">
			<media:title type="html">Select the components to install</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen11.gif" medium="image">
			<media:title type="html">Feature selection</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen12.gif" medium="image">
			<media:title type="html">Select the Default instance</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen13.gif" medium="image">
			<media:title type="html">Select the radio button Use the built-in System account</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen14.gif" medium="image">
			<media:title type="html">Change Authentication Mode to Mixed Mode and set a password for the sa logon</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen16.gif" medium="image">
			<media:title type="html">Error Reporting and Usage options</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen17.gif" medium="image">
			<media:title type="html">The SQL Server pre-installation screen</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen15.gif" medium="image">
			<media:title type="html">Keep the default collation settings, unless you have a reason to change them</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen18.gif" medium="image">
			<media:title type="html">SQL Server setup progress</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen19.gif" medium="image">
			<media:title type="html">SQL Server setup has finished</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen20.gif" medium="image">
			<media:title type="html">Completing Microsoft SQL Server 2005 Setup</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen21.gif" medium="image">
			<media:title type="html">The Help Protect Your SQL Server screen will appear</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/screen22.gif" medium="image">
			<media:title type="html">SQL Server 2005 Surface Area Configuration</media:title>
		</media:content>

		<media:content url="http://laxmanparmar.files.wordpress.com/2009/03/solidline_700.gif" medium="image" />
	</item>
		<item>
		<title>What is SQL Injection</title>
		<link>http://laxmanparmar.wordpress.com/2009/03/06/sql-injection/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/03/06/sql-injection/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 04:51:21 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/2009/03/06/sql-injection/</guid>
		<description><![CDATA[sql injection &#160; SQL Injection happens when a developer accepts user input that is directly placed into a SQL Statement and doesn&#8217;t properly filter out dangerous characters. This can allow an attacker to not only steal data from your database, but also modify and delete it. Certain SQL Servers such as Microsoft SQL Server contain [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=57&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>sql injection</p>
<h1>&nbsp;</h1>
</h1>
<p>SQL Injection happens when a developer accepts user input that is directly placed into a SQL Statement  and doesn&#8217;t properly filter out dangerous characters. This can allow an attacker to not only steal  data from your database, but also modify and delete it. Certain SQL Servers such as Microsoft SQL Server  contain Stored and Extended Procedures (database server functions). If an attacker can obtain access  to these Procedures it may be possible to compromise the entire machine. Attackers commonly insert  single qoutes into a URL&#8217;s query string, or into a forms input field to test for SQL Injection.  If an attacker receives an error message like the one below there is a good chance that the application  is vulnerable to SQL Injectio</p>
<p><b>SQL injection</b> is a code injection technique that exploits a security vulnerability occurring in the database layer of an application. The vulnerability is present when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. It is an instance of a more general class of vulnerabilities that can occur whenever one programming or scripting language is embedded inside another.SQL injection attacks are also known as SQL insertion attacks</p>
<h2><span class="mw-headline"><strong>Forms of SQL injection vulnerabilities</strong></span></h2>
<h4><span class="mw-headline">Incorrectly filtered escape characters</span></h4>
<p>This form of SQL injection occurs when user input is not filtered for escape characters and is then passed into a SQL statement. This results in the potential manipulation of the statements performed on the database by the end user of the application.</p>
<p>The following line of code illustrates this vulnerability:</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-csharp">
statement = <span class="st0">&quot;SELECT * FROM users WHERE name = '&quot;</span> + userName + <span class="st0">&quot;';&quot;</span>
</pre>
</div>
<pre class="source-csharp">This SQL code is designed to pull up the records of the specified username from its table of users.
 However,if the &quot;userName&quot; variable is crafted in a specific way by a malicious user,
 the SQL statement may do more than the code author intended. For example, setting the &quot;<b>userName</b>&quot; variable as</pre>
<pre class="source-sql">&nbsp;	
</pre>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
a<span class="st0">' or '</span>t<span class="st0">'='</span>t
</pre>
</div>
<pre class="source-sql">

renders this SQL statement by the parent language:

<span class="kw1">   SELECT</span> * <span class="kw1">FROM</span> users <span class="kw1">WHERE</span> name = <span class="st0">'a'</span> <span class="kw1">OR</span> <span class="st0">'t'</span>=<span class="st0">'t'</span>;

If this code were to be used in an authentication procedure then this example could be used to force
the selection of a valid username because the evaluation of 't'='t' is always true.

While most SQL Server implementations allow multiple statements to
be executed with one call, some SQL APIs such as php's mysql_query do
not allow this for security reasons. This prevents hackers from injecting entirely
separate queries,but doesn't stop them from modifying queries. The following
value of &quot;userName&quot; in the statement belowwould cause the deletion of the &quot;users&quot; table as well as
the selection of all data from the &quot;data&quot; table (in essence revealing the information of every user):
</pre>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
a<span class="st0">';DROP TABLE users; SELECT * FROM data WHERE name LIKE '</span>%
</pre>
</div>
<p>&nbsp;</p>
<p>This input renders the final SQL statement as follows:</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
<span class="kw1">SELECT</span> * <span class="kw1">FROM</span> users <span class="kw1">WHERE</span> name = <span class="st0">'a'</span>;DROP <span class="kw1">TABLE</span> users; <span class="kw1">SELECT</span> * <span class="kw1">FROM</span> <span class="kw1">DATA</span> <span class="kw1">WHERE</span> name <span class="kw1">LIKE</span> <span class="st0">'%'</span>;
</pre>
</div>
<p class="mw-headline">&nbsp;</p>
<h2 class="mw-headline">Incorrect type handling</h2>
<p class="mw-headline">This form of SQL injection occurs when a user supplied field is not strongly typed or <br />is not checked for type constraints.</p>
<p class="mw-headline">This could take place when a numeric field is to be used in a SQL statement,</p>
<p class="mw-headline"> but the programmer makes no checks to validate that the user supplied input is numeric. For example:</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-pascal">
statement := <span class="st0">&quot;SELECT * FROM data WHERE id = &quot;</span> + a_variable + <span class="st0">&quot;;&quot;</span>
</pre>
</div>
<p>&nbsp;</p>
<p>It is clear from this statement that the author intended a_variable to be a number correlating to the &quot;id&quot; field.</p>
<p> However, if it is in fact a string then the end user may manipulate the statement as they choose, <br />thereby bypassing the need for escape characters. </p>
<p>For example, setting a_variable to</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
<span class="nu0">1</span>;DROP <span class="kw1">TABLE</span> users
</pre>
</div>
<p>&nbsp;</p>
<p>will drop (delete) the &quot;users&quot; table from the database, since the SQL would be rendered as follows: </p>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
<span class="kw1">SELECT</span> * <span class="kw1">FROM</span> <span class="kw1">DATA</span> <span class="kw1">WHERE</span> id=<span class="nu0">1</span>;DROP <span class="kw1">TABLE</span> users;
</pre>
</div>
<p class="mw-headline">&nbsp;</p>
<h4 class="mw-headline"><strong>Magic String</strong></h4>
<p class="mw-headline">The magic string is a simple string of SQL used primarily at login pages. The magic string is</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
<span class="st0">'OR'</span><span class="st0">'='</span>
</pre>
</div>
<p>&nbsp;</p>
<p>When used at a login page, you will be logged in as the user on top of the SQL table.</p>
<h4><span class="mw-headline">Vulnerabilities inside the database server</span></h4>
<p>Sometimes vulnerabilities can exist within the database server software itself, as was the case with the<br /> MySQL server&#8217;s <code>mysql_real_escape_string()</code> function<sup class="reference"><a href="#cite_note-1" title=""></a></sup>. This would allow an attacker to perform<br /> a successful SQL injection attack based on bad Unicode characters even if the user&#8217;s input is being escaped</p>
<h3><span class="mw-headline">Blind SQL Injection</span></h3>
<p>Blind SQL Injection is used when a web application is vulnerable to SQL injection but the results <br />of the injection are not visible to the attacker. The page with the vulnerability may not be one that displays<br /> data but will display differently depending on the results of a logical statement injected into the legitimate SQL <br />statement called for that page. This type of attack can become time-intensive because a new statement must be<br /> crafted for each bit recovered. There are several tools that can automate these attacks once the location of the <br />vulnerability and the target information has been established.</p>
<h4><span class="mw-headline">Conditional Responses</span></h4>
<p>One type of blind SQL injection forces the database to evaluate a logical statement on an ordinary application screen.</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
<span class="kw1">SELECT</span> booktitle <span class="kw1">FROM</span> booklist <span class="kw1">WHERE</span> bookId = <span class="st0">'OOk14cd'</span> <span class="kw1">AND</span> <span class="nu0">1</span>=<span class="nu0">1</span>
</pre>
</div>
<p>&nbsp;</p>
<p>will result in a normal page while</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">
<span class="kw1">SELECT</span> booktitle <span class="kw1">FROM</span> booklist <span class="kw1">WHERE</span> bookId = <span class="st0">'OOk14cd'</span> <span class="kw1">AND</span> <span class="nu0">1</span>=<span class="nu0">2</span>
</pre>
</div>
<p>&nbsp;</p>
<p>will likely give a different result if the page is vulnerable to a SQL injection. An injection like this will prove that<br /> a blind SQL injection is possible, leaving the attacker to devise statements that evaluate to true or false depending on<br /> the contents of a field in another table.</p>
<h4><span class="mw-headline">Conditional Errors</span></h4>
<p>This type of blind SQL injection causes a SQL error by forcing the database to evaluate a statement that causes an error<br /> if the WHERE statement is true. For example,</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-sql">

<span class="kw1">SELECT</span> <span class="nu0">1</span>/<span class="nu0">0</span> <span class="kw1">FROM</span> users <span class="kw1">WHERE</span> username=<span class="st0">'Ralph'</span>
</pre>
</div>
<p>&nbsp;</p>
<p>the division by zero will only be evaluated and result in an error if user Ralph exists.</p>
<h4><span class="mw-headline">Time Delays</span></h4>
<p>Time Delays are a type of blind SQL injection that cause the SQL engine to execute a long running query or a time <br />delay statement depending on the logic injected. The attacker can then measure the time the page takes to load to <br />determine if the injected statement is true.</p>
<h2><span class="mw-headline">Preventing SQL Injection</span></h2>
<p>To protect against SQL injection, user input must not directly be embedded in SQL statements. <br />Instead, parameterized statements must be used (preferred), or user input must be carefully escaped or filtered.</p>
<h3><span class="mw-headline">Using Parameterized Statements</span></h3>
<p>In some programming languages such as Java and .NET parameterized statements can be used <br />that work with parameters (sometimes called placeholders or bind variables) <br />instead of embedding user input in the statement. In many cases, the SQL statement is fixed. The user input is<br /> <br />
then assigned (bound) to a parameter. <br />
This is an example using Java and the JDBC API:</p>
</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-java">

<span class="kw3">PreparedStatement</span> prep = conn.<span class="me1">prepareStatement
</span><span class="br0">(</span><span class="st0">&quot;SELECT * FROM USERS WHERE USERNAME=? AND PASSWORD=?&quot;</span><span class="br0">)</span>;
prep.<span class="me1">setString</span><span class="br0">(</span><span class="nu0">1</span>, username<span class="br0">)</span>;
prep.<span class="me1">setString</span><span class="br0">(</span><span class="nu0">2</span>, password<span class="br0">)</span>;
</pre>
</div>
<p>Similarly, in C#:</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-csharp"><span class="kw1">using</span> <span class="br0">(</span>SqlCommand myCommand = <span class="kw3">new</span> SqlCommand<span class="br0">(</span><span class="st0">&quot;SELECT * FROM USERS
WHERE USERNAME=@username AND PASSWORD=HASHBYTES('SHA1', @password)&quot;</span>, myConnection<span class="br0">)</span><span class="br0">)</span>

    <span class="br0">{</span>
        myCommand.<span class="me1">Parameters</span>.<span class="me1">AddWithValue</span><span class="br0">(</span><span class="st0">&quot;@username&quot;</span>, user<span class="br0">)</span>;
        myCommand.<span class="me1">Parameters</span>.<span class="me1">AddWithValue</span><span class="br0">(</span><span class="st0">&quot;@password&quot;</span>, pass<span class="br0">)</span>;

        myConnection.<span class="me1">Open</span><span class="br0">(</span><span class="br0">)</span>;
        SqlDataReader myReader = myCommand.<span class="me1">ExecuteReader</span><span class="br0">(</span><span class="br0">)</span><span class="br0">)</span>

        ...................
    <span class="br0">}</span>
</pre>
</div>
<p>&nbsp;</p>
<p>In PHP version 5 and above, you have multiple choices for using parameterized statements. </p>
<p>The easiest is to use the <code>PDO</code><sup class="reference"><a href="#cite_note-4" title=""></a></sup> database layer:</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-php">
<span class="re0">$db</span> = <span class="kw2">new</span> PDO<span class="br0">(</span><span class="st0">'pgsql:dbname=database'</span><span class="br0">)</span>;

<span class="re0">$stmt</span> = <span class="re0">$db</span>-&gt;<span class="me1">prepare</span><span class="br0">(</span><span class="st0">&quot;SELECT priv FROM testUsers
WHERE username=:username AND password=:password&quot;</span><span class="br0">)</span>;
<span class="re0">$stmt</span>-&gt;<span class="me1">bindParam</span><span class="br0">(</span><span class="st0">':username'</span>, <span class="re0">$user</span><span class="br0">)</span>;

<span class="re0">$stmt</span>-&gt;<span class="me1">bindParam</span><span class="br0">(</span><span class="st0">':password'</span>, <span class="re0">$pass</span><span class="br0">)</span>;
<span class="re0">$stmt</span>-&gt;<span class="me1">execute</span><span class="br0">(</span><span class="br0">)</span>;
</pre>
</div>
<p>Alternatively, you could use a vendor-specific method. For example in MySQL 4.1 and above with the <code>mysqli</code><sup class="reference"><a href="#cite_note-5" title=""></a></sup> extension. Example</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-php">
<span class="re0">$db</span> = <span class="kw2">new</span> mysqli<span class="br0">(</span><span class="st0">&quot;localhost&quot;</span>, <span class="st0">&quot;user&quot;</span>, <span class="st0">&quot;pass&quot;</span>, <span class="st0">&quot;database&quot;</span><span class="br0">)</span>;

<span class="re0">$stmt</span> = <span class="re0">$db</span> -&gt; <span class="me1">prepare</span><span class="br0">(</span><span class="st0">&quot;SELECT priv FROM testUsers
WHERE username=? AND password=?&quot;</span><span class="br0">)</span>;
<span class="re0">$stmt</span> -&gt; <span class="me1">bind_param</span><span class="br0">(</span><span class="st0">&quot;ss&quot;</span>, <span class="re0">$user</span>, <span class="re0">$pass</span><span class="br0">)</span>;

<span class="re0">$stmt</span> -&gt; <span class="me1">execute</span><span class="br0">(</span><span class="br0">)</span>;
</pre>
</div>
<p>&nbsp;</p>
<p>In ColdFusion, the CFQUERYPARAM statement is useful in conjunction with the CFQUERY<br /> statement to nullify the effect of SQL code passed within the CFQUERYPARAM value as part of the SQL clause. <br />An example is below.</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-cfm">
<span class="sc3"><span class="kw1">&lt;cfquery</span> <span class="kw3">name</span>=<span class="st0">&quot;Recordset1&quot;</span> <span class="kw6">datasource</span>=<span class="st0">&quot;cafetownsend&quot;</span><span class="kw1">&gt;</span></span>
SELECT *
FROM COMMENTS
WHERE COMMENT_ID =<span class="sc3"><span class="kw1">&lt;cfqueryparam</span> <span class="kw3">value</span>=<span class="st0">&quot;#URL.COMMENT_ID#&quot;</span>
cfsqltype=<span class="st0">&quot;cf_sql_numeric&quot;</span><span class="kw1">&gt;</span></span>

<span class="sc3"><span class="kw1">&lt;/cfquery&gt;</span></span>
</pre>
</div>
<p class="mw-headline">&nbsp;</p>
<h4 class="mw-headline">Enforcing the Use of Parameterized Statements</h4>
<p class="mw-headline">There are two ways to ensure an application is not vulnerable to SQL injection: using code reviews<br /> (which is a manual process), and enforcing the use of parameterized statements. Enforcing the use of parameterized statements means that <br />SQL statements with embedded user input are rejected at runtime. Currently only the H2 Database Engine supports this feature.</p>
<h3><span class="mw-headline">Using Escaping</span></h3>
<p>A straight-forward, though error-prone way to prevent injections is to <i>escape</i> dangerous characters. <br />One of the reasons for it being error prone is that it is a type of blacklist which is less<br /> robust than a whitelist. For instance, every occurrence of a single quote (<code>'</code>) in a parameter must be replaced by two<br /> single quotes (<code>''</code>) to form a valid SQL string literal. In PHP, for example, <br />it is usual to escape parameters using the function <code>mysql_real_escape_string</code> before sending the SQL query:</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-php"><span class="re0">$query</span> = <span class="kw3">sprintf</span><span class="br0">(</span><span class="st0">&quot;SELECT * FROM Users
where UserName='%s' and Password='%s'&quot;</span>,
                  <span class="kw3">mysql_real_escape_string</span><span class="br0">(</span><span class="re0">$Username</span><span class="br0">)</span>,
                  <span class="kw3">mysql_real_escape_string</span><span class="br0">(</span><span class="re0">$Password</span><span class="br0">)</span><span class="br0">)</span>;

<span class="kw3">mysql_query</span><span class="br0">(</span><span class="re0">$query</span><span class="br0">)</span>;
</pre>
</div>
<p>&nbsp;</p>
<p>Here is an example of a custom escaping based sql injection filter. It doesn&#8217;t rely on built in escaping functions:</p>
<div dir="ltr" style="text-align:left;">
<pre class="source-php">
<span class="kw2">&lt;?php</span>
<span class="re0">$title</span> = <span class="re0">$_POST</span><span class="br0">[</span><span class="st0">'title'</span><span class="br0">]</span>; <span class="co1">// user input from site</span>

<span class="re0">$description</span> = <span class="re0">$_POST</span><span class="br0">[</span><span class="st0">'description'</span><span class="br0">]</span>; <span class="co1">// user input from site</span>

<span class="co1">// define the cleaner</span>

<span class="re0">$dirtystuff</span> = <span class="kw3">array</span><span class="br0">(</span><span class="st0">&quot;<span class="es0">\&quot;</span>&quot;</span>, <span class="st0">&quot;<span class="es0">\\</span>&quot;</span>, <span class="st0">&quot;/&quot;</span>, <span class="st0">&quot;*&quot;</span>, <span class="st0">&quot;'&quot;</span>, <span class="st0">&quot;=&quot;</span>, <span class="st0">&quot;-&quot;</span>, <span class="st0">&quot;#&quot;</span>, <span class="st0">&quot;;&quot;</span>, <span class="st0">&quot;&lt;&quot;</span>, <span class="st0">&quot;&gt;&quot;</span>, <span class="st0">&quot;+&quot;</span>, <span class="st0">&quot;%&quot;</span><span class="br0">)</span>;

<span class="co1">// clean user input (if it finds any of the values above, it will replace
it with whatever is in the quotes - in this example, it replaces the value with nothing)</span>

<span class="re0">$title</span> = <span class="kw3">str_replace</span><span class="br0">(</span><span class="re0">$dirtystuff</span>, <span class="st0">&quot;&quot;</span>, <span class="re0">$title</span><span class="br0">)</span>; <span class="co1">// works!</span>

<span class="re0">$description</span> = <span class="kw3">str_replace</span><span class="br0">(</span><span class="re0">$dirtystuff</span>, <span class="st0">&quot;&quot;</span>, <span class="re0">$description</span><span class="br0">)</span>; <span class="co1">// works!</span>

<span class="co1">// input: I\ &quot;like/ green&lt;** veg'et=a-bles&gt; ;and&lt; pizza**</span>

<span class="co1">// output: I like green vegetables and pizza</span>

<span class="co1">// input: a';DROP TABLE users; SELECT * FROM data WHERE name LIKE '%</span>
<span class="co1">// output: aDROP TABLE users SELECT FROM data WHERE name LIKE </span>

<span class="kw2">?&gt;</span>
</pre>
</div>
<p>
This sort of escaping is error-prone as it relies on the programmer to escape every parameter.</p>
<p> Also, if the escape function (either custom or built-in in the language) fails to handle a special character correctly, an injection is still possible. </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp; </p>
<p>&nbsp;</p>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="mw-headline">&nbsp;</p>
<p>&nbsp;</p>
<p class="mw-headline">&nbsp;</p>
<p class="mw-headline">&nbsp;</p>
<p>&nbsp;</p>
<pre class="source-sql">&nbsp;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=57&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/03/06/sql-injection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>Stop including class files and use __autoload() instead</title>
		<link>http://laxmanparmar.wordpress.com/2009/03/03/stop-including-class-files-and-use-__autoload-instead/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/03/03/stop-including-class-files-and-use-__autoload-instead/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 08:51:47 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/2009/03/03/stop-including-class-files-and-use-__autoload-instead/</guid>
		<description><![CDATA[PHP added several magic methods in PHP5. __autoload(), however, isn’t one of them. But that doesn’t make it any less useful. In fact it’s one of the gems in PHP that I find to be relatively under used. It’s common for PHP applications to break out classes into their own files. This becomes cumbersome when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=54&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PHP added several magic methods in PHP5.  __autoload(), however, isn’t one of them.  But that doesn’t make it any less useful.  In fact it’s one of the gems in PHP that I find to be relatively under used.  It’s common for PHP applications to break out classes into their own files.  This becomes cumbersome when working on large projects as you wind up with numerous include/require calls for any given page.  There’s got to be a better way…</p>
<p>Consistency is your friend<br />
I’m sure you name your class files consistently so you can probably skip this section.  Apparently, since you’re reading this, you do not have any rhyme or reason for your class file names.  It doesn’t really matter what it is as long as it’s consistent and predictable.  For example, EpiCode contains a models directory which contains all of the PHP class files.  The file names follow the pattern ClassName.php.  I know that class A is defined in models/A.php.</p>
<p>What can __autoload() do for you?<br />
Did you know that PHP will call __autoload() if you try to call a function which is not yet defined?  You simply have to define it and let it know where to find the class file.  Let’s use my example of placing all class definitions inside a models directory with the filename being the same as the class name.  Your __autoload() function may look something like this.<br />
view plaincopy to clipboardprint?</p>
<p>   1. function __autoload($className)<br />
   2. {<br />
   3.   require_once &#8220;./models/{$className}.php&#8221;;<br />
   4. }<br />
   5.<br />
   6. // Instantiate class A without including it and __autoload() will do so on your behalf<br />
   7. $ClassA = new A();  </p>
<p>function __autoload($className)<br />
{<br />
  require_once &#8220;./models/{$className}.php&#8221;;<br />
}</p>
<p>// Instantiate class A without including it and __autoload() will do so on your behalf<br />
$ClassA = new A();</p>
<p>Make your code less ugly<br />
If you can’t spare an extra function call here or there then __autoload() may not be for you. Though I would begin to question your reasoning. The upside is that your code could become significantly cleaner and more maintainable. The upside of easy to read code often trumps everything else.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=54&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/03/03/stop-including-class-files-and-use-__autoload-instead/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>tricks</title>
		<link>http://laxmanparmar.wordpress.com/2009/02/26/53/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/02/26/53/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 06:41:59 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[Computer Basic]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/2009/02/26/53/</guid>
		<description><![CDATA[1 Windows tricks : Lock a Folder in Windows XP To Lock a folder in windows XP without any software. Follow the steps Below. 1. Make a Folder in C drive rename it as &#8220;abc&#8221; without quotes. 2. Now open Command Prompt from Start Menu. 3. Type &#8220;attrib +s +h C:\abc&#8221; without quotes and press [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=53&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>1 Windows tricks : Lock a Folder in Windows XP</strong><br />
To Lock a folder in windows XP without any software. Follow the steps Below.</p>
<p>1. Make a Folder in C drive rename it as &#8220;abc&#8221; without quotes.<br />
2. Now open Command Prompt from Start Menu.<br />
3. Type &#8220;attrib +s +h C:\abc&#8221; without quotes and press enter.<br />
4. This command will Make your folder invisble and it can not be seen even in hidden files and folders<br />
5. To make it visible again type &#8220;attrib -s -h C:\abc&#8221;<br />
6. You can lock any other folder also by changing the location C:\abc to address of your folder.</p>
<p><strong>2 Windows Tricks and Shortcuts</strong><br />
# To boost performance of your PC or to increase RAM virtually,<br />
Right click on My Computer Icon on Desktop<br />
&gt;&gt; Go to Properties<br />
&gt;&gt; Go to Advanced<br />
&gt;&gt; Go to Performance &#8211; Settings<br />
&gt;&gt; Go to Advanced<br />
&gt;&gt; Go to Virtual Memory &#8211; Change</p>
<p>Keep the initial size same as recommended and maximum size double of it then restart your system.<br />
It will improve speed of windows and you can play some games which require higher RAM.</p>
<p># To Minimise all the application and running windows press the &#8220;Windows + M &#8221; key together.</p>
<p><strong>3 Windows Tricks : Changing Startup and Log-off screens</strong></p>
<p>Startup Screen</p>
<p>1. Create a 320&#215;400 bitmap in the root directory and name it LOGO.SYS<br />
2. You can use LOGOW.SYS file in the Windows directory as a starter</p>
<p><strong>Logoff Screens</strong></p>
<p>1. There are many system file that constitutes Lofoff screen.<br />
2. They are actually bitmaps 320&#215;400 that just have a different extension<br />
3. The hidden file in the root directory LOGO.SYS is the startup logo.<br />
4. There are two files in the Windows directory.<br />
5. LOGOW.SYS is the Wait while Shutting down &#8230; screen.<br />
6. LOGOS.SYS is the You may now shut-off or Reboot screen.<br />
7. Make two new image files of your chice in Paint and name it as LOGOW.SYS and LOGOS.SYS and replce the actual windows file by this two.<br />
8. But make sure they should be of the same size</p>
<p><strong>Warning:</strong></p>
<p>You can try these codes at your own responsibility ! We are not responsible for any malfunction and we don&#8217;t accept any complaints. </p>
<p><strong>Important:</strong></p>
<p>If you know any other tips &amp; tricks &amp; secrets about GSM mobile or any other mobile which is not listed here then you can comment and add this i am we are add this tricks on our site</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=53&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/02/26/53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>Important Tricks of mobiles</title>
		<link>http://laxmanparmar.wordpress.com/2009/02/26/important-tricks-of-mobiles/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/02/26/important-tricks-of-mobiles/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 06:39:16 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[mobile computing]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/?p=51</guid>
		<description><![CDATA[Important Tricks of mobiles Type *#61# and press call &#8211; Check call redirection status. Cancel all redirections: ##002# *43# to activate call waiting, to deactivate #43#. If your phone doesn&#8217;t have incoming call barring and outgoing call barring, you can try this. For outgoing call barring dial *33*barcode*# and pres OK. To deactivate it dial [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=51&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Important Tricks of mobiles</p>
<p>Type *#61# and press call &#8211; Check call redirection status.</p>
<p>Cancel all redirections: ##002#</p>
<p>*43# to activate call waiting, to deactivate #43#.</p>
<p>If your phone doesn&#8217;t have incoming call barring and outgoing call barring, you can try this. For outgoing call barring dial *33*barcode*# and pres OK. To deactivate it dial #33#barcode*#.</p>
<p>On any phone on any network type in **43# to enable conference calls. You can make up to 7 calls at once</p>
<p>If you need to block SMS reception (if you are spammed by someone) just press this code: *35*xxxx*16# xxxx is your Call Barring code (default is 0000). To remove this barring type: #35*xxxx#</p>
<p>If you want to hide/show your phone number when calling, put one of these codes below in front of the number that you are going to call. (*#30# / *#31# or *31# / #31# ) Works on some networks.</p>
<p>Typing *0# or *nm# on the beginning of a txt message gives you detailed delivery report on some networks.. But turn off reports in message settings before.</p>
<p>When the sim card-pin blocked type **042*pin2 old*newpin2*newpin2*</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=51&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/02/26/important-tricks-of-mobiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>To speed up your windows or to increase RAM virtually</title>
		<link>http://laxmanparmar.wordpress.com/2009/02/26/to-speed-up-your-windows-or-to-increase-ram-virtually/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/02/26/to-speed-up-your-windows-or-to-increase-ram-virtually/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 06:32:08 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[Computer Basic]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/?p=48</guid>
		<description><![CDATA[To speed up your windows or to increase RAM virtually, Right click on My Computer &#62;&#62; Properties &#62;&#62; Advanced &#62;&#62; Performance &#8211; Settings &#62;&#62; Advanced &#62;&#62; Virtual Memory &#8211; Change Keep the initial size same as recommended and maximum size double of it then restart your system. It will improve speed of windows and you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=48&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To speed up your windows or to increase RAM virtually,<br />
Right click on My Computer<br />
&gt;&gt; Properties<br />
&gt;&gt; Advanced<br />
&gt;&gt; Performance &#8211; Settings<br />
&gt;&gt; Advanced<br />
&gt;&gt; Virtual Memory &#8211; Change<br />
Keep the initial size same as recommended and maximum size double of it then restart your system.<br />
It will improve speed of windows and you can play some games which require higher RAM.</p>
<p>Use Mozilla Firefox instead of IE explorer and keep the cache size to 500 Mb and you can surf faster.</p>
<p>It fetches informating from cache of websites you regular visits so its fast and it download less data compares to IE so very handy for limited download size users. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=48&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/02/26/to-speed-up-your-windows-or-to-increase-ram-virtually/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>Unlocking Mobiles</title>
		<link>http://laxmanparmar.wordpress.com/2009/02/26/unlocking-mobiles/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/02/26/unlocking-mobiles/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 06:29:34 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[mobile computing]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/?p=46</guid>
		<description><![CDATA[Unlocking mobile phones Nokia STEP 1: DIAL THE CODE Simply Key *#06# to find your “IMEI” needed for unlocking, this may also be found on the battery of your phone. STEP 2: CALL THE NUMBER *Dial 0906 591 0300 And type your “IMEI” code to obtain your unlock code. STEP 3: ENTER THE UNLOCK CODE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=46&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Unlocking mobile phones Nokia</p>
<p>STEP 1:<br />
DIAL THE CODE<br />
Simply Key *#06# to find your “IMEI” needed for unlocking, this may also be found on the battery of your phone.</p>
<p>STEP 2:<br />
CALL THE NUMBER</p>
<p>*Dial 0906 591 0300<br />
And type your “IMEI” code to obtain your unlock code.</p>
<p>STEP 3:<br />
ENTER THE UNLOCK CODE</p>
<p>Enter the instantly generated unlocking code and your mobile phone/cellular will be unlocked!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=46&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/02/26/unlocking-mobiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
		<item>
		<title>important Mobile tricks</title>
		<link>http://laxmanparmar.wordpress.com/2009/02/24/important-mobile-tricks/</link>
		<comments>http://laxmanparmar.wordpress.com/2009/02/24/important-mobile-tricks/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 13:35:48 +0000</pubDate>
		<dc:creator>laxmanparmar</dc:creator>
				<category><![CDATA[mobile computing]]></category>

		<guid isPermaLink="false">http://laxmanparmar.wordpress.com/?p=28</guid>
		<description><![CDATA[There are a few things that can be done in times of grave emergencies. Your mobile phone can actually be a life saver or an emergency tool for survival. Check out the things that you can do with it: 1. The Emergency Number worldwide for Mobile is 112.If you findyourself out of coverage area of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=28&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are a few things that can be done in times of grave emergencies. Your mobile phone can actually be a life saver or an emergency tool for survival.<br />
Check out the things that you can do with it:</p>
<p>1. The Emergency Number worldwide for Mobile is 112.If you findyourself out of coverage area of your mobile network and there is anemergency, dial 112 and the mobile will search any existing network to establish the emergency number for you, and interestingly this number 112 can be dialed even if the keypad is locked.<br />
2. Have you locked your keys in the car? Does you car have remote keys?<br />
This may come in handy someday. Good reason to own a cell phone: If you lock your keys in the car and the spare keys are at home, call someone at home on their cell phone from your cell phone. Hold your cell phone about a foot from your car door and have the person at your home press the unlock button, holding it near the mobile phone on their end. Your car will unlock. Saves someone from having to drive your<br />
keys to you. Distance is no object. You could be hundreds of miles away, and if you can reach someone who has the other “remote” for your car, you can unlock the doors.<br />
3. Hidden Battery power: Imagine your cell battery is very low , you are expecting an important call and you don’t have a charger. Nokia instrument comes with a reserve battery. To activate, press the keys *3370# Your cell will restart with<br />
this reserve and the instrument will show a 50% increase in battery. This reserve will get charged when you charge your cell next time.<br />
4. How to disable a STOLEN mobile phone?<br />
To check your Mobile phone’s serial number, key in the following digits on your phone:<br />
* # 0 6 #<br />
A 15 digit code will appear on the screen. This number is unique to your handset. Write it down and keep it somewhere safe. when your phone get stolen, you can phone your service provider and give them this code. They will then be able to block your handset so even if the thief changes the<br />
SIM card, your phone will be totally useless. You probably won’t get your phone back, but at least you know that whoever stole it can’t use/sell it either. If everybody does this, there would be no point in people stealing mobile<br />
phones.</p>
<h4></h4>
<pre></pre>
<p> <a href="http://answers.polldaddy.com/poll/1000076/">How this site</a><br />
 <span style="font:9px;">(<a href="http://www.polldaddy.com">polls</a>)</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/laxmanparmar.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/laxmanparmar.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/laxmanparmar.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/laxmanparmar.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/laxmanparmar.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/laxmanparmar.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/laxmanparmar.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/laxmanparmar.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/laxmanparmar.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/laxmanparmar.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/laxmanparmar.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/laxmanparmar.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/laxmanparmar.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/laxmanparmar.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=laxmanparmar.wordpress.com&amp;blog=6699214&amp;post=28&amp;subd=laxmanparmar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://laxmanparmar.wordpress.com/2009/02/24/important-mobile-tricks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4795f4ccbabff05f383fcf7dc80e51bf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">laxman parmar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
