
<?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>Achari.in</title>
	<atom:link href="http://www.achari.in/feed" rel="self" type="application/rss+xml" />
	<link>http://www.achari.in</link>
	<description>achari.in is a programmer&#039;s blog maintained by Anoop S Achari. Tutorials focus on Google Map API Integration, Twitter OAuth, Facebook Integration, Jquery, JSE, SCJP Materials and other technical articles.</description>
	<lastBuildDate>Thu, 26 Jan 2012 08:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Guide to MySQL database Engine.</title>
		<link>http://www.achari.in/guide-to-mysql-database-engine</link>
		<comments>http://www.achari.in/guide-to-mysql-database-engine#comments</comments>
		<pubDate>Sun, 17 Apr 2011 06:19:36 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[Berkley DB]]></category>
		<category><![CDATA[HEAP]]></category>
		<category><![CDATA[InnoDB]]></category>
		<category><![CDATA[ISAM]]></category>
		<category><![CDATA[MyISAM]]></category>
		<category><![CDATA[mysql database engine]]></category>
		<category><![CDATA[mysql engine]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=674</guid>
		<description><![CDATA[I recently got a mail asking about MYSql database Engine. So i planned to put an article on it. Let&#8217;s put it in a simple way . Say for example your automobile runs on LPG, Petrol and Diesel and it would be pretty interesting if you can switch to different engines just by a button [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fguide-to-mysql-database-engine"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fguide-to-mysql-database-engine&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I recently got a mail asking about MYSql database Engine. So i planned to put an article on it.</p>
<p>Let&#8217;s put it in a simple way . Say for example your automobile runs on LPG, Petrol and Diesel and it would be pretty interesting if you can switch to different engines just by a button shift, isnt it. A MySQL database does the same it gives you a choice of database engines and an easy way to switch them.</p>
<p>Default MySQL Engine would be enough for most of your application but in certain circumstances where the other available engines may be better suited to the task at hand.</p>
<p><strong>Choose your Engine</strong></p>
<p>The number of database engine present in MySQL depends on the way you installed it. To add new engine MySQL should be recompiled. By default MySQL supports three database engines: ISAM, MyISAM, and HEAP. Two other types, InnoDB and Berkley (BDB), are often available as well.</p>
<p><strong>ISAM</strong></p>
<p>ISAM is a well-defined,  time-tested method of managing data tables, designed with the idea that a  database will be queried far more often than it will be updated. As a  result, ISAM performs very fast read operations and is very easy on  memory and storage resources. The two main downsides of ISAM are that it  doesn&#8217;t support transactions and isn&#8217;t fault-tolerant: If your hard  drive crashes, the data files will not be recoverable. If you&#8217;re using  ISAM in a mission-critical application, you’ll want to have a provision  for constantly backing up all your live data, something MySQL supports  through its capable replication features.</p>
<p><strong>MyISAM</strong></p>
<p>MyISAM  is MySQL&#8217;s extended ISAM format and default database engine. In  addition to providing a number of indexing and field management  functions not available in ISAM, MyISAM uses a table-locking mechanism  to optimize multiple simultaneous reads and writes. The trade-off is  that you need to run the OPTIMIZE TABLE command from time to time to  recover space wasted by the update algorithms. MyISAM also has a few  useful extensions such as the MyISAMChk utility to repair database files  and the MyISAMPack utility for recovering wasted space.</p>
<p>MyISAM,  with its emphasis on speedy read operations, is probably the major  reason MySQL is so popular for Web development, where the vast majority  of the data operations you’ll be carrying out are read operations. As a  result, most hosting and Internet Presence Provider (IPP) companies will  allow the use of only the MyISAM format.</p>
<p><strong>HEAP</strong></p>
<p>HEAP  allows for temporary tables that reside only in memory. Residing in  memory makes HEAP faster than ISAM or MyISAM, but the data it manages is  volatile and will be lost if it&#8217;s not saved prior to shutdown. HEAP  also doesn’t waste as much space when rows are deleted. HEAP tables are  very useful in situations where you might use a nested SELECT statement  to select and manipulate data. Just remember to destroy the table after  you’re done with it. Let me repeat that: Don’t forget to destroy the  table after you’re done with it.</p>
<p>Refference : <a href="http://www.techrepublic.com/article/a-fast-and-furious-guide-to-mysql-database-engines/1058872">http://www.techrepublic.com</a> &#8211; Thank You Tech Republic for your awesome article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/guide-to-mysql-database-engine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating PDF with Codeigniter using FPDF library</title>
		<link>http://www.achari.in/creating-pdf-with-codeigniter-using-fpdf-library</link>
		<comments>http://www.achari.in/creating-pdf-with-codeigniter-using-fpdf-library#comments</comments>
		<pubDate>Sat, 16 Apr 2011 16:14:00 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[fpdf integration]]></category>
		<category><![CDATA[generate pdf using codeigniter]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdf using php]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=667</guid>
		<description><![CDATA[Generating PDF reports with your application would be a heavy task. I had googled but couldn&#8217;t find a good document that explains the same. However i successfully integrated FPDF with my php application. I would share step-by-step info on how to do it. I hope you would know the basics on CodeIgniter. Download a copy [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fcreating-pdf-with-codeigniter-using-fpdf-library"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fcreating-pdf-with-codeigniter-using-fpdf-library&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: left;">Generating PDF reports with your application would be a heavy task. I had googled but couldn&#8217;t find a good document that explains the same.</p>
<p style="text-align: left;">However i successfully integrated FPDF with my php application. I would share step-by-step info on how to do it.</p>
<p style="text-align: left;">I hope you would know the basics on CodeIgniter. Download a copy of CI from its official site.</p>
<p style="text-align: left;">Step 01 : Download FPDF Fonts from <a href="http://achari.in/sourcecode/fpdf/fpdf_fonts.rar">here</a>. Extract the &#8211; <strong>fpdf_fonts</strong> &#8211; folder to root folder of your CI project.</p>
<p style="text-align: left;">Step 02 : Download fpdf library from <a href="http://achari.in/sourcecode/fpdf/fpdf.rar">here</a>. Extract &#8211; <strong>fpdf</strong> &#8211; folder into <strong>system\application\libraries\</strong></p>
<p style="text-align: left;">Step 03 : Create a file named <strong>init_fpdf.php</strong> under <strong>system\application\libraries\ </strong></p>
<p style="text-align: left;"><strong>init_fpdf.php</strong></p>
<p style="text-align: left;">
<pre class="brush: php;">
&lt;?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
if ( ! class_exists('fpdf')){
 require_once(BASEPATH.'libraries/fpdf'.EXT);
}

$obj =&amp; get_instance();
$obj-&gt;fpdf = new fpdf();
$obj-&gt;ci_is_loaded[] = 'fpdf';
?&gt;
</pre>
<p style="text-align: left;">You are done with the configuration. Now into Controller.</p>
<p style="text-align: left;">Step 03 : The code within your controller would be. Say for Example the controller function name is PDF.</p>
<p style="text-align: left;">
<pre class="brush: php;">
function PDF()
{
 $this-&gt;load-&gt;helper('path');

 $font_directory = './fpdf_fonts/';
 set_realpath($font_directory);

 $this-&gt;load-&gt;library('fpdf');
 define('FPDF_FONTPATH',$font_directory);
 $this-&gt;fpdf-&gt;Open();
 $this-&gt;fpdf-&gt;AddPage();
 $this-&gt;fpdf-&gt;SetFont('Arial','',8);
 $this-&gt;fpdf-&gt;Cell(80);
 $this-&gt;fpdf-&gt;Cell(0,0,'Hello FPDF',0,1,'R');
 $this-&gt;fpdf-&gt;Output();
}
</pre>
<p style="text-align: left;">This would output a PDF for you ! You are done !</p>
<p style="text-align: left;">If you need to save the PDF file into a folder and get its filename you would need to add some more code.</p>
<p style="text-align: left;">Drop me a comment it you need that functionality also, would explain it to you.</p>
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/creating-pdf-with-codeigniter-using-fpdf-library/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Reviewing Hosting Observer</title>
		<link>http://www.achari.in/reviewing-hosting-observer</link>
		<comments>http://www.achari.in/reviewing-hosting-observer#comments</comments>
		<pubDate>Thu, 31 Mar 2011 07:04:53 +0000</pubDate>
		<dc:creator>zoe</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=662</guid>
		<description><![CDATA[Hosting Observer is a hosting directory which lists cheap web hosting plans from reliable web hosting services, along with providing information on web hosting and related issues such as how to obtain free domain names. The site ranks the top five providers of cheap web hosting plans based on the editor&#8217;s rating of their services, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Freviewing-hosting-observer"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Freviewing-hosting-observer&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Hosting Observer is a hosting directory which lists cheap web hosting plans from reliable web hosting services, along with providing information on web hosting and related issues such as how to obtain <a href="http://www.hostingobserver.com/free-domain-names.php" target="_blank">free domain names</a>.</p>
<p>The site ranks the top five providers of cheap web hosting plans based on the editor&#8217;s rating of their services, and that rating is based on user reviews as well as from the editor&#8217;s own contact with the hosting companies. Each company is rated from one to ten stars for each of the following categories:</p>
<p>Reliability<br />
Knowledge level of support staff<br />
Response time of support staff<br />
Control Panel Interface</p>
<p>These ratings of the individual aspects of the <a href="http://en.wikipedia.org/wiki/Web_hosting_service" target="_blank">hosting</a> companies are then averaged for an overall rating. While the overall percentage rating is listed on the main page of the site along with the price per month of the cheap web hosting plans it provides and their features, a link after each rating takes the site visitor to a detailed review of each of the hosting companies in the top five.</p>
<p>Hosting Observer enables site visitors to quickly compare five of the top offers for cheap web hosting plans, as well as to verify whether each one offers desired features such as free domain names. Along with the detailed reviews from the expert editor and users, the site offers unbiased articles and other information about hosting in general. While each review is upbeat, as befits the quality hosts which are listed on Hosting Observer, it does point out any flaws or cons in each firm&#8217;s range of services. In addition, the star ratings are fair and unbiased, and assist consumers who can then choose their hosting company based on what they consider important.</p>
<p>For instance, the reviews point out that the top-ranked performer does not offer plans other than Linux, while praising it for its speed and service. In addition, since each offer of <a href="http://www.hostingobserver.com" target="_blank">web hosting plans</a> is listed in full detail on the homepage, it helps customers who may be looking for a particular feature, such as free advertising credits, choose their hosting plans based on that offer rather than on more general criteria.</p>
<p>Like the reviews, the short articles that are presented on Hosting Observer are objective, easy to read, and offer real information on hosting related topics. These articles are full of information and presented in an enjoyable, yet authoritative, style.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/reviewing-hosting-observer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JavaScript Source Code Encoder &#8211; eval String.fromCharCode</title>
		<link>http://www.achari.in/javascript-source-code-encoder-decoder</link>
		<comments>http://www.achari.in/javascript-source-code-encoder-decoder#comments</comments>
		<pubDate>Tue, 22 Mar 2011 18:16:51 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[decode cource code]]></category>
		<category><![CDATA[decoder]]></category>
		<category><![CDATA[encode source code]]></category>
		<category><![CDATA[encoder]]></category>
		<category><![CDATA[eval]]></category>
		<category><![CDATA[javascrip source encoder]]></category>
		<category><![CDATA[jse]]></category>
		<category><![CDATA[source code encryption]]></category>
		<category><![CDATA[source code protection]]></category>
		<category><![CDATA[source code security]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=636</guid>
		<description><![CDATA[Hello Friends , You may have seen encrypted javascript codes on many pages. Have you wondered how source code can be encoded and decoded ? It pretty simple to encode using String.fromCharCode. I have written an Javascript Encoding Engine [ i have named it as Javascript Source Encoder - JSE in short ] so that [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fjavascript-source-code-encoder-decoder"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fjavascript-source-code-encoder-decoder&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Hello Friends ,</p>
<p>You may have seen encrypted javascript codes on many pages. Have you wondered how source code can be encoded and decoded ?</p>
<p>It pretty simple to encode using <strong>String.fromCharCode</strong>.</p>
<p>I have written an <strong>Javascript Encoding Engine [ i have named it as Javascript Source Encoder - JSE in short <img src='http://www.achari.in/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ]</strong> so that it would be helpful for you.</p>
<p>You just need to copy paste your javascript code into the textarea provided click on encode button.</p>
<p>You are done !</p>
<p><a href="http://www.achari.in/jse/" target="_blank"><img class="alignnone size-full wp-image-362" title="demo" src="http://www.achari.in/logos/jse.png" alt="" width="108" height="33" /></a></p>
<p>Your Feedback&#8217;s are welcomed !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/javascript-source-code-encoder-decoder/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generating PDF using Codeigniter &#124; R&amp;OS pdf class</title>
		<link>http://www.achari.in/generating-pdf-using-codeigniter-ros-pdf-class</link>
		<comments>http://www.achari.in/generating-pdf-using-codeigniter-ros-pdf-class#comments</comments>
		<pubDate>Sat, 05 Feb 2011 17:46:07 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[create pdf using codeigniter]]></category>
		<category><![CDATA[create pdf using php]]></category>
		<category><![CDATA[generate pdf in codeigniter]]></category>
		<category><![CDATA[pdf generation]]></category>
		<category><![CDATA[php framework]]></category>
		<category><![CDATA[r&os pdf class]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=621</guid>
		<description><![CDATA[Hello friends , I have stated using codeigniter framework for php. I would recommended codeigniter for all PHP developers. Recently i had a task to generate PDF file in my codeigniter project ,there are many libraries like FPDF, Panda, DOM-pdf, R&#38;OS to generate PDF documents with PHP. I found a method to integrate R&#38;OS pdf [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fgenerating-pdf-using-codeigniter-ros-pdf-class"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fgenerating-pdf-using-codeigniter-ros-pdf-class&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Hello friends , I have stated using codeigniter framework for php. I would recommended codeigniter for all PHP developers.<br />
Recently i had a task to generate PDF file in my codeigniter project ,there are many libraries like FPDF, Panda, DOM-pdf, R&amp;OS to generate PDF documents with PHP.</p>
<p>I found a method to integrate R&amp;OS pdf class file with codeigniter. I am sharing you the same.</p>
<p><span style="text-decoration: underline;"><strong>Step 1</strong></span></p>
<p>Download latest version of <a href="http://codeigniter.com">Codeigniter</a> framework.</p>
<p><span style="text-decoration: underline;"><strong>Step 2</strong></span></p>
<p>Download the class files for pdf integration from <a href="http://achari.in/sourcecode/pdf_generation_files_ci.rar">here</a>. The rar folder contains 2 folders.</p>
<p>1. library class files</p>
<p>2. fonts</p>
<p>Extract files under <strong>class files folder</strong> to application/libraries/</p>
<p>Extract <strong>fonts </strong>directory to root folder of your CI application.</p>
<p><span style="text-decoration: underline;"><strong>Step 3</strong></span></p>
<p>Now into final stage . Create a controller named <strong>home.php </strong>and paste the following code.</p>
<pre class="brush: php;">

&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {

 function __construct()
 {
 parent::__construct();
 }

 function index()
 {
 $this-&gt;hello_world();
 }

 function hello_world()
 {
 $this-&gt;load-&gt;library('cezpdf');

 $this-&gt;cezpdf-&gt;ezText('Hello World', 12, array('justification' =&gt; 'center'));
 $this-&gt;cezpdf-&gt;ezSetDy(-10);

 $content = 'The quick, brown fox jumps over a lazy dog. DJs flock by when MTV ax quiz prog.
 Junk MTV quiz graced by fox whelps. Bawds jog, flick quartz, vex nymphs.';

 $this-&gt;cezpdf-&gt;ezText($content, 10);

 $this-&gt;cezpdf-&gt;ezStream();
 }

 function tables()
 {
 $this-&gt;load-&gt;library('cezpdf');

 $db_data[] = array('name' =&gt; 'Jon Doe', 'phone' =&gt; '111-222-3333', 'email' =&gt; 'jdoe@someplace.com');
 $db_data[] = array('name' =&gt; 'Jane Doe', 'phone' =&gt; '222-333-4444', 'email' =&gt; 'jane.doe@something.com');
 $db_data[] = array('name' =&gt; 'Jon Smith', 'phone' =&gt; '333-444-5555', 'email' =&gt; 'jsmith@someplacepsecial.com');

 $col_names = array(
 'name' =&gt; 'Name',
 'phone' =&gt; 'Phone Number',
 'email' =&gt; 'E-mail Address'
 );

 $this-&gt;cezpdf-&gt;ezTable($db_data, $col_names, 'Contact List', array('width'=&gt;550));
 $this-&gt;cezpdf-&gt;ezStream();
 }

}

/* End of file welcome.php */
/* Location: ./application/controllers/home.php */
</pre>
<p>You are done .</p>
<p>Execute the code :</p>
<p>http://localhost/pdf/index.php/home/index &#8211; for basic pdf creation.</p>
<p>http://localhost/pdf/index.php/home/tables &#8211; for table creation.</p>
<p><span style="text-decoration: underline;"><strong>Note:</strong></span><strong> </strong>In Order to write the output as a <strong>.pdf</strong> file just change <strong>$this-&gt;cezpdf-&gt;ezStream();</strong> to <strong>$this-&gt;cezpdf-&gt;ezOutput();</strong></p>
<p>Complete Code :</p>
<p>create a folder named pdf in root directory of codeigniter project and replace the tables function in the above controller<br />
[ <strong>home.php</strong> ] with the following.</p>
<pre class="brush: php;">
function tables()
{
$this-&gt;load-&gt;helper('path');
$this-&gt;load-&gt;library('cezpdf');

$this-&gt;cezpdf-&gt;ezText('Hello World', 12, array('justification' =&gt; 'center'));
$this-&gt;cezpdf-&gt;ezSetDy(-10);

$db_data[] = array('name' =&gt; 'Jon Doe', 'phone' =&gt; '111-222-3333', 'email' =&gt; 'jdoe@someplace.com');
$db_data[] = array('name' =&gt; 'Jane Doe', 'phone' =&gt; '222-333-4444', 'email' =&gt; 'jane.doe@something.com');
$db_data[] = array('name' =&gt; 'Jon Smith', 'phone' =&gt; '333-444-5555', 'email' =&gt; 'jsmith@someplacepsecial.com');

$col_names = array(
 'name' =&gt; 'Name',
 'phone' =&gt; 'Phone Number',
 'email' =&gt; 'E-mail Address'
);

$this-&gt;cezpdf-&gt;ezTable($db_data, $col_names, 'Contact List', array('width'=&gt;550));

$directory = './pdf/';
set_realpath($directory);

$file = $directory.date('d-m-Y h:i:s').'.pdf';

$pdfcode = $this-&gt;cezpdf-&gt;ezOutput();
$fp = fopen($file,'wb');
fwrite($fp,$pdfcode);
fclose($fp);
}
</pre>
<p>You are done !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/generating-pdf-using-codeigniter-ros-pdf-class/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Image Protection Code using PHP &#124; HTML &#124; Javascript</title>
		<link>http://www.achari.in/image-protection-code-using-php-html-javascript</link>
		<comments>http://www.achari.in/image-protection-code-using-php-html-javascript#comments</comments>
		<pubDate>Thu, 23 Dec 2010 15:03:05 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[block image from copying]]></category>
		<category><![CDATA[how to protect image]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image protection]]></category>
		<category><![CDATA[image security]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[protect image from copying]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=612</guid>
		<description><![CDATA[Hai All , I implemented image protection in one of my latest work. Its pretty simple and effective so i am sharing with you. Check out the demo and try the following :- 1. Try dragging the image to the Navigation Bar. 2. Right Click and Try viewing the image. 3. Take the source and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fimage-protection-code-using-php-html-javascript"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fimage-protection-code-using-php-html-javascript&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Hai All ,</p>
<p>I implemented image protection in one of my latest work. Its pretty simple and effective so i am sharing with you.</p>
<p>Check out the demo and try the following :-</p>
<p>1. Try dragging the image to the Navigation Bar.</p>
<p>2. Right Click and Try viewing the image.</p>
<p>3. Take the source and click on the src of img tag.</p>
<p><a href="http://www.achari.in/demo/image_protection/" target="_blank"><img class="alignnone size-full wp-image-362" title="demo" src="http://www.achari.in/wp-content/uploads/2010/05/demo1.png" alt="" width="68" height="23" /></a> <a href="http://www.achari.in/sourcecode/image_protection.rar"><img class="alignnone size-full wp-image-363" title="source" src="http://www.achari.in/wp-content/uploads/2010/05/source2.png" alt="" width="68" height="23" /></a></p>
<p><strong>Step 1</strong> : Create a page named <span style="text-decoration: underline;">index.php</span></p>
<pre class="brush: php;">
&lt;?php
$page = $_REQUEST['p'];
if($page == 'sImage')  {  include('image.php'); }
else { echo '&lt;img src=&quot;index.php?p=sImage&quot; /&gt;'; }
?&gt;
</pre>
<p><strong>Step 2</strong> : Create a page named <span style="text-decoration: underline;">image.php</span></p>
<pre class="brush: php;">

&lt;?php
 $imageName = &quot;logo.jpg&quot;;
 $img1 = imagecreatefromjpeg($imageName);
 $img2 = imagejpeg( $img1 );
?&gt;
</pre>
<p>Note : You can save the image by <strong>right clicking -&gt; Save Image as </strong>[ you can protect that too by disabling <strong>right click action</strong> using javascript <img src='http://www.achari.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ]</p>
<p>There are many other ways to hack the code. But this would save you from Newbies.</p>
<p>You are done !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/image-protection-code-using-php-html-javascript/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Mobile Number Location and Service Provider Tracker India</title>
		<link>http://www.achari.in/mobile-number-location-and-service-provider-tracker-india</link>
		<comments>http://www.achari.in/mobile-number-location-and-service-provider-tracker-india#comments</comments>
		<pubDate>Wed, 01 Dec 2010 14:28:26 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[mobile number]]></category>
		<category><![CDATA[mobile number tracker]]></category>
		<category><![CDATA[mobile service provider india]]></category>
		<category><![CDATA[mobile tracking]]></category>
		<category><![CDATA[mobiletracker]]></category>
		<category><![CDATA[track a mobile number]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=605</guid>
		<description><![CDATA[Hai friends , i am back after a gap with an interesting application. I am sure that many of you would have searched the web to track a mobile number. I created a simple application in php that would return the location details and info on service provider , you just need to input the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fmobile-number-location-and-service-provider-tracker-india"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fmobile-number-location-and-service-provider-tracker-india&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Hai friends , i am back after a gap with an interesting application.</p>
<p>I am sure that many of you would have searched the web to track a mobile number. I created a simple application in php that would return the <strong>location </strong>details and info on <strong>service provider</strong> , you just need to input the <strong>10 digit mobile number</strong>.</p>
<p><a href="http://www.achari.in/mobilelookup/" target="_blank"><img class="size-full wp-image-607 alignleft" title="mobiletracker" src="http://www.achari.in/wp-content/uploads/2010/12/mobiletracker.png" alt="" width="576" height="304" /></a></p>
<p>check out the application <a href="http://www.achari.in/mobilelookup/" target="_blank">here</a>.</p>
<p>please give me a feedback so that i could improve it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/mobile-number-location-and-service-provider-tracker-india/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How to get Feedburner Count &#124; FeedBurner API</title>
		<link>http://www.achari.in/how-to-get-feedburner-count-feedburner-api</link>
		<comments>http://www.achari.in/how-to-get-feedburner-count-feedburner-api#comments</comments>
		<pubDate>Mon, 25 Oct 2010 16:08:28 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[blog count]]></category>
		<category><![CDATA[feedburner api]]></category>
		<category><![CDATA[get feedburner count]]></category>
		<category><![CDATA[how to get subscriber count]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=603</guid>
		<description><![CDATA[I hope you all have used feedburner in your blog . But have your used Feedburner API to retrieve feedburner count. Intro to FeedBurner API The FeedBurner Awareness API (AwAPI) allows publishers of FeedBurner feeds to reuse the detailed traffic statistics we capture for any of their feeds. Third-party applications and web services that consume [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fhow-to-get-feedburner-count-feedburner-api"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fhow-to-get-feedburner-count-feedburner-api&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I hope you all have used <strong>feedburner</strong> in your blog . But have your used Feedburner API to retrieve feedburner count.</p>
<p>Intro to FeedBurner API</p>
<p>The FeedBurner Awareness API (AwAPI) allows publishers of FeedBurner feeds to reuse the detailed traffic statistics we capture for any of their feeds. Third-party applications and web services that consume feeds can leverage this data to provide useful feed awareness statistics to potential subscribers. FeedBurner captures traffic data at an overall level for every feed. Feeds that use our free FeedBurner Stats PRO item view tracking have access to much more detailed data at the individual item level. This data includes &#8220;resyndication&#8221; information, which is very useful for determining where and how a feed is being consumed.</p>
<p>The API usage is very simple and effective . I have created a simple application that returns the number of subscribers , you can use it to get number of subscriber count.</p>
<p><a href="http://www.achari.in/demo/feed-api/"><img class="alignnone size-full wp-image-362" title="demo" src="http://www.achari.in/wp-content/uploads/2010/05/demo1.png" alt="" width="68" height="23" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/how-to-get-feedburner-count-feedburner-api/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Configure BSNL GPRS on Nokia 7210 Mobile manually &#124; BSNL GPRS Settings</title>
		<link>http://www.achari.in/configure-bsnl-gprs-on-nokia-7210-mobile-manually-bsnl-gprs-settings</link>
		<comments>http://www.achari.in/configure-bsnl-gprs-on-nokia-7210-mobile-manually-bsnl-gprs-settings#comments</comments>
		<pubDate>Wed, 20 Oct 2010 07:49:20 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[7210 bsnl gprs settings]]></category>
		<category><![CDATA[bsnl gprs settings]]></category>
		<category><![CDATA[bsnl south zone settings]]></category>
		<category><![CDATA[gprs configuration]]></category>
		<category><![CDATA[how to set bsnl gprs manually]]></category>
		<category><![CDATA[nokia 7210 gprs]]></category>
		<category><![CDATA[set gprs on nokia]]></category>
		<category><![CDATA[subscribe to packet data first]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=581</guid>
		<description><![CDATA[My Nokia 7210 was not receiving GPRS settings from customer care , even i searched on web for settings to set it manually but failed . I am sharing the configuration that worked for me . Following Configuration is for BSNL SOUTH ZONE Step 1 : GoTo Menu &#8211; » Settings &#8211; » Configuration &#8211; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fconfigure-bsnl-gprs-on-nokia-7210-mobile-manually-bsnl-gprs-settings"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fconfigure-bsnl-gprs-on-nokia-7210-mobile-manually-bsnl-gprs-settings&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>My Nokia 7210 was not receiving GPRS settings from customer care , even i searched on web for settings to set it manually but failed .</p>
<p>I am sharing the configuration that worked for me .</p>
<p><span style="text-decoration: underline;">Following Configuration is for <strong>BSNL SOUTH ZONE</strong></span></p>
<p>Step 1 : GoTo <strong>Menu</strong> &#8211; » <strong>Settings</strong> &#8211; » <strong>Configuration</strong> &#8211; » <strong>Personal config.sett.</strong> [ add new web in personal config.sett. ]</p>
<p>account name   -  bsnlnet<br />
homepage   -  http://google.com<br />
username    -<br />
password     -<br />
use pref.access pt.   -  no</p>
<p>&amp; under <span style="text-decoration: underline;"><strong>access point settings</strong></span> fill in</p>
<p>proxy   -  disabled<br />
data bearer   -  packet data [ try both ie, GSM/packet data ]</p>
<p>&amp; under <span style="text-decoration: underline;"><strong>bearer settings fill</strong></span> in</p>
<p>packet data acc.pt.   -  bsnlnet<br />
network type   -  IPv4<br />
authentication type   -  normal<br />
username   -<br />
password    -</p>
<p>after entering the above details , activate it. [ you can activate it under <strong>Menu</strong> - » <strong>Settings</strong> - » <strong>Configuration</strong> - » <strong>Personal config.sett. </strong>]</p>
<p>restart your mobile after activating the settings . you are done ! Happy Browsing .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/configure-bsnl-gprs-on-nokia-7210-mobile-manually-bsnl-gprs-settings/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Send HTML Newsletter using PHP.</title>
		<link>http://www.achari.in/send-html-newsletter-using-php</link>
		<comments>http://www.achari.in/send-html-newsletter-using-php#comments</comments>
		<pubDate>Thu, 14 Oct 2010 09:40:51 +0000</pubDate>
		<dc:creator>anoopsachari</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[bulk mail using php]]></category>
		<category><![CDATA[html newsletter php]]></category>
		<category><![CDATA[newsletter using php]]></category>
		<category><![CDATA[php newsletter]]></category>
		<category><![CDATA[sending newsletter]]></category>

		<guid isPermaLink="false">http://www.achari.in/?p=570</guid>
		<description><![CDATA[Many of you would have seen a newsletter in your inbox . Have you wondered how they are send , i needed the same to implement in one of my project and found that it could be done using simple mail() function in php. I wrote a php function that would ease your work . [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; padding-bottom:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.achari.in%2Fsend-html-newsletter-using-php"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.achari.in%2Fsend-html-newsletter-using-php&amp;source=anoopsachari&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Many of you would have seen a newsletter in your inbox . Have you wondered how they are send , i needed the same to implement in one of my project and found that it could be done using simple mail() function in php.</p>
<p>I wrote a php function that would ease your work .</p>
<pre class="brush: php;">

function mailNewsletter($toAddress,$subject)
{
$to= $toAddress;
$subject =$subject;

$headers = 'From: contact@contact.com' . &quot;\r\n&quot; .
'Reply-To: contact@contact.com' . &quot;\r\n&quot; .
&quot;X-Mailer: PHP/&quot; . phpversion().&quot;\r\n&quot;;

$headers .= &quot;MIME-Version: 1.0\r\n&quot;;
$headers .= &quot;Content-Type: text/html; charset=ISO-8859-1\r\n&quot;;

$mime_boundary=&quot;==Multipart_Boundary_x&quot;.md5(mt_rand()).&quot;x&quot;;

$message  = '&lt;html&gt;&lt;body&gt;';
$message .= '&lt;div style=&quot;width:400px;height:110px;padding-left:50px;padding-top:10px;background-color:#9ABCE2&quot;&gt;';
$message .= '&lt;div style=&quot;border-bottom:#FFFFFF thin solid;height:35px;margin-left:-50px;&quot;&gt;&lt;h2 style=&quot;margin-top:0px;color:#FFF&quot; align=&quot;center&quot;&gt;sample newsletter from achari.in&lt;/h2&gt;&lt;/div&gt;';
$message .= '&lt;div style=&quot;float:left;width:200px;padding-top:14px;padding-left:7px;&quot;&gt;&lt;img src=&quot;http://www.achari.in/wp-content/logoPlain.png&quot; alt=&quot;achari.in&quot; width=&quot;170&quot; /&gt;&lt;/div&gt;';
$message .= '&lt;div style=&quot;float:left;padding-left:20px;padding-top:27px;&quot;&gt;&lt;a href=&quot;http://www.achari.in&quot;&gt;click here to link&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;';
$message .= '&lt;/body&gt;&lt;/html&gt;';

mail($to, $subject, $message, $headers);
}
</pre>
<p>The above code contains an image , link and a text .</p>
<p>usage :</p>
<pre class="brush: php;">[/php]

mailNewsletter('to@gmail.com','no subject');

[php]</pre>
<p><strong>change parameters as required.</strong></p>
<p>Hope it helped you .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.achari.in/send-html-newsletter-using-php/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
