<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4415852579837187701</id><updated>2011-11-27T17:10:39.809-08:00</updated><category term='PHP'/><category term='Web Design'/><category term='Mobile Tips'/><category term='javascript'/><category term='General'/><category term='SQL'/><category term='URL Rewriting'/><category term='HTML'/><category term='Flex'/><category term='Hacking'/><category term='Jquery'/><category term='Test'/><category term='Books'/><title type='text'>TechnoTiger</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7319932962741808078</id><published>2010-11-30T21:39:00.000-08:00</published><updated>2010-11-30T21:47:05.239-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Highlight a Selected Row in a table using Jquery and CSS class</title><content type='html'>The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells. –W3Org&lt;br /&gt;&lt;br /&gt;In design purpose we can easily design the templates using the tables instead of divs. But if you design the template please use the divs instead of table (Suggested by our designer).Ok now we go for our topic to highlight the table rows.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Why we need to highlight the table row?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Most of the times we need to display the data like a grid. At that time choose the table to display the data. For example if you want to display the data from the database like books in category A. We need to get all the data row by row and include the rows in a table and we place the data in the appropriate columns. &lt;br /&gt;&lt;br /&gt;If user wants to delete the third row we need to make the checkbox or radio button to choose the row and if user click the delete button we will delete the row. At this situation we need to highlight which row user chosen for delete, by this way we can avoid accidentally delete the wrong one.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://jsfiddle.net/technotiger/Jkf2e/1/" target="_blank"&gt;VIEW DEMO&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Coding Part:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt;!DOCTYPE&amp;nbsp;html&amp;nbsp;PUBLIC&amp;nbsp;&amp;quot;-//W3C//DTD&amp;nbsp;XHTML&amp;nbsp;1.0&amp;nbsp;Transitional//EN&amp;quot;&amp;nbsp;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;nbsp;xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;meta&amp;nbsp;http-equiv=&amp;quot;Content-Type&amp;quot;&amp;nbsp;content=&amp;quot;text/html;&amp;nbsp;charset=utf-8&amp;quot;&amp;nbsp;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;title&amp;gt;Technotiger87-Highlight&amp;nbsp;Selected&amp;nbsp;row&amp;nbsp;in&amp;nbsp;a&amp;nbsp;table&amp;nbsp;using&amp;nbsp;Jquery&amp;nbsp;and&amp;nbsp;CSS&amp;lt;/title&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script&amp;nbsp;type=&amp;quot;text/javascript&amp;quot;&amp;nbsp;src=&amp;quot;js/Jquery.1.4.4.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;style&amp;gt;&lt;br /&gt;&lt;br /&gt;.tableborder&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;padding:&amp;nbsp;2px&amp;nbsp;4px&amp;nbsp;2px&amp;nbsp;4px;&lt;br /&gt;&lt;br /&gt;border:&amp;nbsp;1px&amp;nbsp;solid&amp;nbsp;#FFFFFF;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.tabletitle&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;background:none&amp;nbsp;repeat&amp;nbsp;scroll&amp;nbsp;0&amp;nbsp;0&amp;nbsp;#9EC630;&lt;br /&gt;&lt;br /&gt;border-color:#FFFFFF;&lt;br /&gt;&lt;br /&gt;border-style:solid;&lt;br /&gt;&lt;br /&gt;border-width:1px&amp;nbsp;1px&amp;nbsp;1px&amp;nbsp;0;&lt;br /&gt;&lt;br /&gt;color:#FFFFFF;&lt;br /&gt;&lt;br /&gt;font-size:14px;&lt;br /&gt;&lt;br /&gt;font-weight:bold;&lt;br /&gt;&lt;br /&gt;height:20px;&lt;br /&gt;&lt;br /&gt;padding-left:5px;&lt;br /&gt;&lt;br /&gt;text-align:center;&lt;br /&gt;&lt;br /&gt;vertical-align:bottom;&lt;br /&gt;&lt;br /&gt;width:150px;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.tableodd&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;font-size:&amp;nbsp;12px;&lt;br /&gt;&lt;br /&gt;padding-left:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;padding-top:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;padding-bottom:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;border-style:none&amp;nbsp;solid&amp;nbsp;solid&amp;nbsp;none;&lt;br /&gt;&lt;br /&gt;border-width:1px&amp;nbsp;1px&amp;nbsp;1px&amp;nbsp;0px;&lt;br /&gt;&lt;br /&gt;border-color:#FFFFFF;&lt;br /&gt;&lt;br /&gt;background-color:#E3EEC4;&lt;br /&gt;&lt;br /&gt;vertical-align:top;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.tableeven&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;font-size:&amp;nbsp;12px;&lt;br /&gt;&lt;br /&gt;padding-left:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;padding-top:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;padding-bottom:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;border-style:none&amp;nbsp;solid&amp;nbsp;solid&amp;nbsp;none;&lt;br /&gt;&lt;br /&gt;border-width:1px&amp;nbsp;1px&amp;nbsp;1px&amp;nbsp;0px;&lt;br /&gt;&lt;br /&gt;border-color:#FFFFFF;&lt;br /&gt;&lt;br /&gt;background-color:#d3E3A4;&lt;br /&gt;&lt;br /&gt;vertical-align:top;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;.highlight&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;font-size:&amp;nbsp;12px;&lt;br /&gt;&lt;br /&gt;padding-left:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;padding-top:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;padding-bottom:&amp;nbsp;5px;&lt;br /&gt;&lt;br /&gt;border-style:none&amp;nbsp;solid&amp;nbsp;solid&amp;nbsp;none;&lt;br /&gt;&lt;br /&gt;border-width:1px&amp;nbsp;1px&amp;nbsp;1px&amp;nbsp;0px;&lt;br /&gt;&lt;br /&gt;border-color:#9EC630;&lt;br /&gt;&lt;br /&gt;background-color:#FFFFFF;&lt;br /&gt;&lt;br /&gt;vertical-align:top;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;table&amp;nbsp;width=&amp;quot;100%&amp;quot;&amp;nbsp;border=&amp;quot;1&amp;quot;&amp;nbsp;cellspacing=&amp;quot;0&amp;quot;&amp;nbsp;cellpadding=&amp;quot;0&amp;quot;&amp;nbsp;class=&amp;quot;tableborder&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;nbsp;class=&amp;quot;tabletitle&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tabletitle&amp;quot;&amp;gt;CheckBox&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tabletitle&amp;quot;&amp;gt;Title&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tabletitle&amp;quot;&amp;gt;Link&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;nbsp;class=&amp;quot;tableodd&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableodd&amp;quot;&amp;gt;&amp;lt;input&amp;nbsp;type=&amp;quot;checkbox&amp;quot;&amp;nbsp;/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableodd&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableodd&amp;quot;&amp;gt;&amp;lt;a&amp;nbsp;class=&amp;quot;mylink&amp;quot;&amp;nbsp;href=&amp;quot;javascript:void(0)&amp;quot;&amp;gt;MyLink&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableeven&amp;quot;&amp;gt;&amp;lt;input&amp;nbsp;type=&amp;quot;checkbox&amp;quot;&amp;nbsp;/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableeven&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableeven&amp;quot;&amp;gt;&amp;lt;a&amp;nbsp;class=&amp;quot;mylink&amp;quot;&amp;nbsp;href=&amp;quot;javascript:void(0)&amp;quot;&amp;gt;MyLink&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableodd&amp;quot;&amp;gt;&amp;lt;input&amp;nbsp;type=&amp;quot;checkbox&amp;quot;&amp;nbsp;/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableodd&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableodd&amp;quot;&amp;gt;&amp;lt;a&amp;nbsp;class=&amp;quot;mylink&amp;quot;&amp;nbsp;href=&amp;quot;javascript:void(0)&amp;quot;&amp;gt;MyLink&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableeven&amp;quot;&amp;nbsp;&amp;gt;&amp;lt;input&amp;nbsp;type=&amp;quot;checkbox&amp;quot;&amp;nbsp;/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableeven&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;td&amp;nbsp;class=&amp;quot;tableeven&amp;quot;&amp;gt;&amp;lt;a&amp;nbsp;class=&amp;quot;mylink&amp;quot;&amp;nbsp;href=&amp;quot;javascript:void(0)&amp;quot;&amp;gt;MyLink&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/tr&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Jquery Part:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;$(document).ready(function()&lt;br /&gt; {&lt;br /&gt;   $('td input[type="checkbox"]').live('click',function(){&lt;br /&gt; if($(this).attr('noclass')!='1')&lt;br /&gt; {&lt;br /&gt;     if ($(this).is(':checked')){&lt;br /&gt;      anyrowschecked=1;&lt;br /&gt;      &lt;br /&gt;        $(this).parent().addClass('highlight');&lt;br /&gt;        $(this).parent().siblings().addClass('highlight');&lt;br /&gt;     } else if($(this).parent().is('.highlight')) {&lt;br /&gt;       $(this).parent().removeClass('highlight');&lt;br /&gt;       $(this).parent().siblings().removeClass('highlight');&lt;br /&gt;     }&lt;br /&gt; }&lt;br /&gt;    });&lt;br /&gt;   $('td .deletecontent').live('click',function(){&lt;br /&gt;     var selected=$(this).parent().attr('class');&lt;br /&gt;     if(selected.indexOf("highlight")!=-1)&lt;br /&gt;     {&lt;br /&gt;         alert('You are doing deletion.This will delete the entire data');&lt;br /&gt;       var yes= confirm("Do you really want to delete??");&lt;br /&gt;      if(yes)&lt;br /&gt;      {&lt;br /&gt;        alert("Do Whatever You want");&lt;br /&gt;      }&lt;br /&gt;     }&lt;br /&gt;     else&lt;br /&gt;     {&lt;br /&gt;       &lt;br /&gt;         alert('Please ensure you are deleting the selected row');&lt;br /&gt;     }&lt;br /&gt;       });&lt;br /&gt; });&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7319932962741808078?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7319932962741808078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/11/highlight-selected-row-in-table-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7319932962741808078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7319932962741808078'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/11/highlight-selected-row-in-table-using.html' title='Highlight a Selected Row in a table using Jquery and CSS class'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-8915744200205064759</id><published>2010-11-21T22:43:00.000-08:00</published><updated>2010-12-23T01:38:53.949-08:00</updated><title type='text'>Create multilingual site and allow user to make content in their native language.</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;br /&gt;The multilingual site is now popular more than before a year. Because the user coming to internet is not only the English experts. Even the rural peoples those who are not having the English as first language want to access the internet content. I will give the simple example and efficiency of multilingual site.&lt;br /&gt;&lt;br /&gt;  &lt;blockquote&gt;“Information is World”&lt;/blockquote&gt;&lt;br /&gt;Why Multilingual?&lt;br /&gt;&lt;br /&gt;A good question why we need to make the same content in different languages. This is because you can get the users globally. Not only from English as first language countries. From my  real life experience:&lt;br /&gt;My friends’ brother come to my home and asked me to collect the ten noble prize winners and the reason for getting the noble prize. Then I googled it and collect the information of 10 peoples and the reason for getting noble prize. Then he told me he is not from the English is the medium in his school. So he wants to collect the information in his language. But most of the website provides the information in English only. After that we go for wikipedia   and got the information in his language.&lt;br /&gt;This is a small example. Like that we can give more reasons for creating the multilingual website.&lt;br /&gt;&lt;br /&gt;How Convert the content into several languages in single click?&lt;br /&gt;&lt;br /&gt;If you are providing the information and not allow the user to make the content you can convert the entire site content into 52 languages in a single click using the http://translateth.is/. I used it and tested it. Its really fast and easy to integrate into your site by simple copy and paste of their JavaScript. You can get the translate button and in a single click you can convert the entire content into the language what they want to use. This will reduce the time and no headache for the webdevelopers.&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;!-- Begin TranslateThis Button --&gt;&lt;br /&gt;&lt;br /&gt;&lt;div id="translate-this"&gt;&lt;a href="http://translateth.is/" class="translate-this-button"&gt;Translate&lt;/a&gt;&lt;/div&gt;&lt;script type="text/javascript" src="http://www.google.com/jsapi"&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript" src="http://x.translateth.is/translate-this.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;TranslateThis();&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- End TranslateThis Button --&gt;&lt;br /&gt;&lt;/pre&gt;Allowing user to make content in their language.&lt;br /&gt;&lt;br /&gt;Some times we need to allow the user to make the content like giving comments, etc.,.At that time we can use the google Ajax API to make the virtual keyboard to the user and allowing them to make the content in their language. For this first you need to get the key by registering on their site and then use it for your site. Below  I will give the example how to use google Ajax translation API.&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt;!DOCTYPE&amp;nbsp;html&amp;nbsp;PUBLIC&amp;nbsp;&amp;quot;-//W3C//DTD&amp;nbsp;XHTML&amp;nbsp;1.0&amp;nbsp;Strict//EN&amp;quot;&amp;nbsp;&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html&amp;nbsp;xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;meta&amp;nbsp;http-equiv=&amp;quot;content-type&amp;quot;&amp;nbsp;content=&amp;quot;text/html;&amp;nbsp;charset=utf-8&amp;quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;title&amp;gt;Google&amp;nbsp;AJAX&amp;nbsp;Language&amp;nbsp;API&amp;nbsp;Sample&amp;lt;/title&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;script&amp;nbsp;src=&amp;quot;https://www.google.com/jsapi?key=Your KEY&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;script&amp;nbsp;type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;google.load(&amp;quot;elements&amp;quot;,&amp;nbsp;&amp;quot;1&amp;quot;,&amp;nbsp;{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;packages:&amp;nbsp;&amp;quot;keyboard&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;br /&gt;&lt;br /&gt;function&amp;nbsp;onLoad()&amp;nbsp;{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp;kbd&amp;nbsp;=&amp;nbsp;new&amp;nbsp;google.elements.keyboard.Keyboard(&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[google.elements.keyboard.LayoutCode.YOUR LANGUAGE],&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;['t1']);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;google.setOnLoadCallback(onLoad);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;body&amp;nbsp;style=&amp;quot;font-family:&amp;nbsp;Arial;border:&amp;nbsp;0&amp;nbsp;none;&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;textarea&amp;nbsp;id=&amp;quot;t1&amp;quot;&amp;nbsp;style=&amp;quot;width:&amp;nbsp;600px;&amp;nbsp;height:&amp;nbsp;200px;&amp;quot;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;Put the language what you want in the given format. But for saving the content in different language you need to consider the database charset. It  needs to support your language.&lt;br /&gt;Thanks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-8915744200205064759?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/8915744200205064759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/11/create-multilingual-site-and-allow-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8915744200205064759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8915744200205064759'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/11/create-multilingual-site-and-allow-user.html' title='Create multilingual site and allow user to make content in their native language.'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-3149162396439051304</id><published>2010-11-17T01:22:00.000-08:00</published><updated>2010-12-23T01:39:30.620-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>How to create the PDF on the fly using PHP?</title><content type='html'>&lt;blockquote&gt;Portable Document Format (PDF) is an open standard for document exchange. The file format created by Adobe Systems in 1993 is used for representing two-dimensional documents in a manner independent of the application software, hardware, and operating system. ---From wikipedia.&lt;/blockquote&gt;&lt;br /&gt;In my project we mostly making the Reports using PDF. So I got some experience in creating PDF on the fly using PHP and I want to share it with the readers of TT.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Libraries:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;At first I used the FPDF then I moved to TCPDF contain some more features on TCPDF.&lt;br /&gt;You can find the advantages of TCPDF over FPDF here and here .&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creating simple PDF:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;As the name indicates its simple one. But here we are going to use the query and separate functionality for the content display.&lt;br /&gt;&lt;br /&gt;In coding section you can get the entire Code.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Problems:&lt;/b&gt;&lt;br /&gt;Here I am trying to put the column name when I am creating the PDF i.e.Instead of $row[0] I want to put $row[‘columnname’]. It throws an error.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Hint:&lt;/b&gt;&lt;br /&gt;Don’t start the output In this page like echo,print,or HTML. Because it throws an error like the output already started. &lt;br /&gt;&lt;pre class="prettyprint"&gt;$pdf-&gt;SetPrintHeader(false);&lt;br /&gt;$pdf-&gt;SetPrintFooter(false);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Use the above lines to turn off header and footer.&lt;br /&gt;Code is here:&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt;?php&lt;br /&gt;require_once('tcpdf/config/lang/eng.php');&lt;br /&gt;require_once('tcpdf/tcpdf.php');&lt;br /&gt;&lt;br /&gt;// extend TCPF with custom functions&lt;br /&gt;class MYPDF extends TCPDF {&lt;br /&gt;&lt;br /&gt;    public function ColoredTable($header,$data) {&lt;br /&gt;   $this-&amp;gt;SetFillColor(255, 0, 0);&lt;br /&gt;        $this-&amp;gt;SetTextColor(255);&lt;br /&gt;        $this-&amp;gt;SetDrawColor(128, 0, 0);&lt;br /&gt;        $this-&amp;gt;SetLineWidth(0.3);&lt;br /&gt;        $this-&amp;gt;SetFont('', 'B');&lt;br /&gt;        // Header&lt;br /&gt;  $this-&amp;gt;headerdisplay();&lt;br /&gt;  $this-&amp;gt;anotherdetaildisplay();&lt;br /&gt;  $header = array('Country', 'Capital', 'Area (sq km)', 'Pop. (thousands)');&lt;br /&gt;  $data=array('0'=&amp;gt;array('Country', 'Capital', 'Area (sq km)', 'Pop. (thousands)'));&lt;br /&gt;        $w = array(40, 35, 40, 45);&lt;br /&gt;        $num_headers = count($header);&lt;br /&gt;        for($i = 0; $i &amp;lt; $num_headers; ++$i) {&lt;br /&gt;            $this-&amp;gt;Cell($w[$i], 7, $header[$i], 1, 0, 'C', 1);&lt;br /&gt;        }&lt;br /&gt;  &lt;br /&gt;        $this-&amp;gt;Ln();&lt;br /&gt;  &lt;br /&gt;        // Color and font restoration&lt;br /&gt;        $this-&amp;gt;SetFillColor(224, 235, 255);&lt;br /&gt;        $this-&amp;gt;SetTextColor(0);&lt;br /&gt;        $this-&amp;gt;SetFont('');&lt;br /&gt;   &lt;br /&gt;        // Data&lt;br /&gt;        $fill = 0;&lt;br /&gt;  $connection=mysql_connect(&amp;quot;yourhost&amp;quot;,&amp;quot;username&amp;quot;,&amp;quot;password&amp;quot;) or die(&amp;quot;could not connect db&amp;quot;);&lt;br /&gt;  $db=mysql_select_db(&amp;quot;db&amp;quot;,$connection)  or mysql_errno();&lt;br /&gt;  $sql=&amp;quot;SELECT * FROM table&amp;quot;;&lt;br /&gt;  $result=mysql_query($sql,$connection);&lt;br /&gt;       /* foreach($data as $row) {*/&lt;br /&gt;    while($row=mysql_fetch_array($result))&lt;br /&gt;    {&lt;br /&gt;            $this-&amp;gt;Cell($w[0], 6, $row[0], 'LR', 0, 'L', $fill);&lt;br /&gt;            $this-&amp;gt;Cell($w[1], 6, $row[1], 'LR', 0, 'L', $fill);&lt;br /&gt;            $this-&amp;gt;Cell($w[2], 6, number_format($row[2]), 'LR', 0, 'R', $fill);&lt;br /&gt;            $this-&amp;gt;Cell($w[3], 6, number_format($row[3]), 'LR', 0, 'R', $fill);&lt;br /&gt;            $this-&amp;gt;Ln();&lt;br /&gt;            $fill=!$fill;&lt;br /&gt;        }&lt;br /&gt;        $this-&amp;gt;Cell(array_sum($w), 0, '', 'T');&lt;br /&gt;  &lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt; public function headerdisplay()&lt;br /&gt; {&lt;br /&gt;    $this-&amp;gt;SetFillColor(224, 235, 255);&lt;br /&gt;        $this-&amp;gt;SetTextColor(0);&lt;br /&gt;        $this-&amp;gt;SetFont('');&lt;br /&gt;  $tbl = &amp;lt;&amp;lt;&amp;lt;EOD&lt;br /&gt;&amp;lt;table cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;tr&amp;gt;&lt;br /&gt;        &amp;lt;td&amp;gt;Test&amp;lt;br/&amp;gt;Test&amp;lt;br/&amp;gt;Test&amp;lt;/td&amp;gt;&lt;br /&gt;    &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;EOD;&lt;br /&gt;$this-&amp;gt;writeHTML($tbl, true, false, false, false, '');&lt;br /&gt; }&lt;br /&gt; public function anotherdetaildisplay()&lt;br /&gt; {&lt;br /&gt;  $this-&amp;gt;SetFillColor(224, 235, 255);&lt;br /&gt;        $this-&amp;gt;SetTextColor(0);&lt;br /&gt;        $this-&amp;gt;SetFont('');&lt;br /&gt;  $tbl = &amp;lt;&amp;lt;&amp;lt;EOD&lt;br /&gt;&amp;lt;table cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;tr&amp;gt;&lt;br /&gt;        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;        &amp;lt;td&amp;gt;Test at Right&amp;lt;br/&amp;gt;P O BOX 11097&amp;lt;br/&amp;gt;CHICAGO, IL 60611&amp;lt;/td&amp;gt;&lt;br /&gt;    &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;EOD;&lt;br /&gt; &lt;br /&gt;   $this-&amp;gt;writeHTML($tbl, true, false, false, false, '');&lt;br /&gt;  $tbl = &amp;lt;&amp;lt;&amp;lt;EOD&lt;br /&gt;&amp;lt;table cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;tr&amp;gt;&lt;br /&gt;        &amp;lt;td&amp;gt;LastName FirstName&amp;lt;br/&amp;gt;Address&amp;lt;br/&amp;gt;CITY STATE ZIP&amp;lt;/td&amp;gt;&lt;br /&gt;    &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;EOD;&lt;br /&gt; &lt;br /&gt;   $this-&amp;gt;writeHTML($tbl, true, false, false, false, '');&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;$pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);&lt;br /&gt;$pdf-&amp;gt;SetCreator(PDF_CREATOR);&lt;br /&gt;$pdf-&amp;gt;SetAuthor('TechnoTiger');&lt;br /&gt;$pdf-&amp;gt;SetTitle('Tutorial');&lt;br /&gt;$pdf-&amp;gt;SetSubject('TCPDF Tutorial');&lt;br /&gt;$pdf-&amp;gt;SetKeywords('TCPDF, PDF, example, test, guide');&lt;br /&gt;$pdf-&amp;gt;setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));&lt;br /&gt;$pdf-&amp;gt;SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);&lt;br /&gt;$pdf-&amp;gt;setLanguageArray($l);&lt;br /&gt;$pdf-&amp;gt;SetFont('helvetica', '', 12);&lt;br /&gt;$pdf-&amp;gt;AddPage();&lt;br /&gt;$pdf-&amp;gt;ColoredTable($header, $data);&lt;br /&gt;$pdf-&amp;gt;Output('example_011.pdf', 'I');&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-3149162396439051304?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/3149162396439051304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/11/how-to-create-pdf-on-fly-using-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3149162396439051304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3149162396439051304'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/11/how-to-create-pdf-on-fly-using-php.html' title='How to create the PDF on the fly using PHP?'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-1970904040242836969</id><published>2010-11-12T21:24:00.000-08:00</published><updated>2010-11-12T21:24:14.708-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Why there is no post  on last four months?</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;br /&gt;If you see the last post was published in Jul 11, 2010.After that I cant post a single line.Because of the following reasons.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&amp;nbsp;I switch over to another company.&lt;/li&gt;&lt;li&gt;Moved to new busiest city regarding the job.&lt;/li&gt;&lt;li&gt;Huge number of challenging tasks make me busy &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;From the challenging tasks I learned a lot.So for TT readers you can expect more number of post in the following days.&lt;br /&gt;Have a nice day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-1970904040242836969?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/1970904040242836969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/11/why-there-is-no-post-on-last-four.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1970904040242836969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1970904040242836969'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/11/why-there-is-no-post-on-last-four.html' title='Why there is no post  on last four months?'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-1072202250588619364</id><published>2010-07-11T03:41:00.000-07:00</published><updated>2010-07-11T03:42:26.585-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Authorize.net Payment gateway Integeration</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;iframe align="right" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=techtige-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=159059648X&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=DB5D1F&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;br /&gt;I have recently completed my payment gateway Integeration using authorize.net.In the full of development I refer one website &lt;a href="http://www.johnconde.net/"&gt; John Conde &lt;/a&gt;that helps me a lot.Whenever I post the doubts wherever John conde will answer as soon as possible.&lt;br /&gt;Here I want to really thank him for his helps and his answers.I suggest you whenever you had the doubts go to his website or developer forum of authorize.net.&lt;br /&gt;&lt;br /&gt;I just want to share this information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-1072202250588619364?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/1072202250588619364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/07/authorizenet-payment-gateway.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1072202250588619364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1072202250588619364'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/07/authorizenet-payment-gateway.html' title='Authorize.net Payment gateway Integeration'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-4388430727617258005</id><published>2010-06-13T07:55:00.000-07:00</published><updated>2010-11-16T23:59:09.994-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Calculate  four weeks date from current date and time</title><content type='html'>&lt;a href="http://www.amazon.com/Kindle-Wireless-Reading-Display-Generation/dp/B0015T963C?ie=UTF8&amp;amp;tag=techtige-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=techtige-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0015T963C" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;&lt;/a&gt;&lt;br /&gt;Hi  &lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=techtige-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0015T963C" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;Friends,&lt;br /&gt;&lt;br /&gt;I found one default function in PHP that is reduce our time to calculate the date an time for the weeeks and months and days.&lt;br /&gt;&lt;br /&gt;Below I give the simple example to calculate 4 weeks date from current date.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;$weekstocalculate[0]='4 Months'&lt;br /&gt;&lt;br /&gt;$text=trim($weekstocalculate[0]);&lt;br /&gt;$text1="now +".$text;&lt;br /&gt;&lt;br /&gt;echo date("F jS, Y",($text1));&lt;/pre&gt;It gives the output like this&lt;br /&gt;&lt;pre class="prettyprint"&gt;Month date,Year &lt;br /&gt;Ex:October,2010&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;Please try it and give your feedback&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-4388430727617258005?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/4388430727617258005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/06/calculate-four-weeks-date-from-current.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/4388430727617258005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/4388430727617258005'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/06/calculate-four-weeks-date-from-current.html' title='Calculate  four weeks date from current date and time'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2714801696206473705</id><published>2010-05-28T07:43:00.000-07:00</published><updated>2010-05-28T07:43:54.623-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Marquee using Jquery</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;br /&gt;&lt;iframe align="right" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=techtige-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0002L5R78&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=DB5D1F&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;we can make the marquee using the Jquery very simple and easy.&lt;br /&gt;&lt;br /&gt;For that we need to implement the simple plugin jscroller&lt;br /&gt;&lt;br /&gt;You can find the plugin &lt;a href="http://jscroller.markusbordihn.de/"&gt;here&lt;/a&gt;.They provide the example also.&lt;br /&gt;&lt;br /&gt;So I think I dont need to explain the all the things how&amp;nbsp; we implement.Advantage is we can make the direction as per our wish.&lt;br /&gt;&lt;br /&gt;I like a lot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2714801696206473705?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2714801696206473705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/05/marquee-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2714801696206473705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2714801696206473705'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/05/marquee-using-jquery.html' title='Marquee using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7587873175985641174</id><published>2010-05-17T07:55:00.000-07:00</published><updated>2010-05-17T07:55:58.765-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Simple tooltip using Jquery</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;br /&gt;The tooltip provide the hints to user when they are in the particular point or particular link.&lt;br /&gt;&lt;br /&gt;When the user get the hint they may get the idea with in the seconds.Mostly the hints are used in the form fill up process.&lt;br /&gt;&lt;br /&gt;Because we need to make the user fill up the form as soon as possible.The tooltip wont occupy the lot of spaces.&lt;br /&gt;&lt;br /&gt;Today I found a tooltip that realy make the tooltip in a single file no need to make lot of JS and CSS.&lt;br /&gt;&lt;br /&gt;This is the &lt;a href="http://www.kriesi.at/archives/create-simple-tooltips-with-css-and-jquery"&gt;link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can get the information. I am really lucky today.Because when I&amp;nbsp; found this I implemented in my project and got the output.&lt;iframe align="right" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=techtige-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=1847195121&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=DB5D1F&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7587873175985641174?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7587873175985641174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/05/simple-tooltip-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7587873175985641174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7587873175985641174'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/05/simple-tooltip-using-jquery.html' title='Simple tooltip using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7054728395916955940</id><published>2010-05-16T02:20:00.000-07:00</published><updated>2010-12-29T19:54:27.601-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Sorry for No Post</title><content type='html'>&lt;iframe align="right" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=techtige-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0015T963C&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=DB5D1F&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;Now a days it makes very difficult for me with managing time.I am working on some busy projects.It wont give me the chance to make a POST.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7054728395916955940?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7054728395916955940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/05/sorr-for-no-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7054728395916955940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7054728395916955940'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/05/sorr-for-no-post.html' title='Sorry for No Post'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-5510123649905713077</id><published>2010-04-28T23:01:00.000-07:00</published><updated>2010-04-28T23:01:03.074-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Rotate or Flip the image using Jquery</title><content type='html'>&lt;a href="http://www.amazon.com/Smashing-JavaScript-Professional-Techniques-Magazine/dp/0470684143?ie=UTF8&amp;amp;tag=techtige-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;Smashing JavaScript: 100 Professional Techniques (Smashing Magazine Book Series)&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=techtige-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0470684143" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;One of the excellent tutorial I found in this week is Jquery flip.&lt;br /&gt;By using this  we can make the site like  a virtual applocation and enhance the user experience with the site.I am going to aplly this in my project for loading the next 9 users.&lt;br /&gt;In my application we are showing the 9 user first if user clicks the nextt arrow button it will load the next 9 user.Instead of using the loading Icon I am going to use this Jquery and make the fun for the user.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_Ez_97HqqN54/S9kgirNJRII/AAAAAAAAAAk/1PMmMT5enCo/s1600/flipjquery.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_Ez_97HqqN54/S9kgirNJRII/AAAAAAAAAAk/1PMmMT5enCo/s320/flipjquery.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://demo.tutorialzine.com/2010/03/sponsor-wall-flip-jquery-css/demo.php"&gt;View demo&lt;/a&gt; and get the source code from the follwing link.&lt;a href="http://www.mediafire.com/file/zlzwn5nyhey/flipjquery.zip"&gt;Download&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-5510123649905713077?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/5510123649905713077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/04/rotate-or-flip-image-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5510123649905713077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5510123649905713077'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/04/rotate-or-flip-image-using-jquery.html' title='Rotate or Flip the image using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Ez_97HqqN54/S9kgirNJRII/AAAAAAAAAAk/1PMmMT5enCo/s72-c/flipjquery.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-9145222854428219044</id><published>2010-03-30T07:00:00.001-07:00</published><updated>2010-11-17T00:02:32.644-08:00</updated><title type='text'></title><content type='html'>&lt;iframe src="http://rcm.amazon.com/e/cm?t=techtige-20&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0980576857&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;"align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;Hi  Friends,&lt;br /&gt;Some times we need to give the indication to the user on their interaction.&lt;br /&gt;&lt;br /&gt;For example if you take the signup process there are lot of inputs needed to get the information from user.&lt;br /&gt;&lt;br /&gt;At that time if we use the text with in the textbox and when user clcks on the text box and if the text is disappeared it is more useful to user and he didn't get upsite.&lt;br /&gt;&lt;br /&gt;For that purpose we can use Jquery watermark text.&lt;br /&gt;&lt;br /&gt;Here you can find the example for Jquery water mark text&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt  !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt  &lt;br /&gt;&amp;lt  html xmlns="http://www.w3.org/1999/xhtml" &amp;gt  &lt;br /&gt;&amp;lt  head &amp;gt  &lt;br /&gt;&amp;lt  meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt  &lt;br /&gt;&amp;lt  title &amp;gt  Water Mark With Jquery&amp;lt  /title &amp;gt  &lt;br /&gt;&amp;lt  script type="text/javascript" src="jquery/jquery-1.3.2.min.js" &amp;gt  &amp;lt  /script &amp;gt  &lt;br /&gt;&amp;lt  script type="text/javascript" src="jquery.watermark.js" &amp;gt  &amp;lt  /script &amp;gt  &lt;br /&gt;&amp;lt  script &amp;gt  &lt;br /&gt;$(document).ready(function(){&lt;br /&gt;$('#textareaforwatermark').watermark('Here, if you click the text will be disappear');&lt;br /&gt;});&lt;br /&gt;&amp;lt  /script &amp;gt  &lt;br /&gt;&amp;lt  /head &amp;gt  &lt;br /&gt;&amp;lt  body &amp;gt  &lt;br /&gt;&amp;lt  textarea id="textareaforwatermark" style="color:#999999" &amp;gt  &amp;lt  /textarea &amp;gt  &lt;br /&gt;&amp;lt  /body &amp;gt  &lt;br /&gt;&amp;lt  /html &amp;gt  &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;you can find Jquery water mark on &lt;a href='http://jquery-watermark.googlecode.com/'&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Give your valuable feedback&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-9145222854428219044?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/9145222854428219044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/03/hi-friends-some-times-we-need-to-give.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/9145222854428219044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/9145222854428219044'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/03/hi-friends-some-times-we-need-to-give.html' title=''/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-6195051802550554477</id><published>2010-03-23T22:35:00.000-07:00</published><updated>2010-11-17T00:04:30.950-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>On mouseover zoom the image using Jquery</title><content type='html'>Hi friends, &lt;br /&gt;In this tutuorial I am going to told how to zooming the image when you mouseover on that image .&lt;br /&gt;Now a days the Jquery beaten the flash.This is one best example for that.&lt;br /&gt;&lt;br /&gt;In this tutorial I am using the Jquery plugin bubbleup.&lt;br /&gt;&lt;br /&gt;Here all the credits goes to &lt;a href='aex.net'&gt;AEX&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;&amp;lt!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt&lt;br /&gt;&amp;lthtml xmlns="http://www.w3.org/1999/xhtml" &amp;gt&lt;br /&gt;&amp;lthead &amp;gt&lt;br /&gt;&amp;ltmeta http-equiv="Content-Type" content="text/html; charset=UTF-8" / &amp;gt&lt;br /&gt;&amp;lttitle &amp;gtLearning jQuery: Your First jQuery Plugin is BubbleUP&amp;lt/title &amp;gt&lt;br /&gt;&amp;ltscript type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" &amp;gt&amp;lt/script &amp;gt&lt;br /&gt;&amp;ltscript type="text/javascript" src="js/bubbleup.jquery.js" &amp;gt&amp;lt/script &amp;gt&lt;br /&gt;&amp;ltscript type="text/javascript" &amp;gt&lt;br /&gt;&lt;br /&gt;$(function(){&lt;br /&gt;&lt;br /&gt;$("ul#menu li img").bubbleup({tooltips: true});&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;&amp;lt/script &amp;gt&lt;br /&gt;&amp;ltstyle type="text/css" &amp;gt&lt;br /&gt;&amp;lt!--&lt;br /&gt;body {&lt;br /&gt;background-color: #EDEDED;&lt;br /&gt;font-family: Helvetica, Arial, sans-serif;&lt;br /&gt;font-size: 13px;&lt;br /&gt;margin: 0px;&lt;br /&gt;padding: 0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;div#content {&lt;br /&gt;width: 1024px;&lt;br /&gt;margin: 50px auto 0px auto;&lt;br /&gt;text-align: center;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;h3 {&lt;br /&gt;margin-bottom: 50px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;ul#menu {&lt;br /&gt;margin: 5px 0px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;ul#menu li {&lt;br /&gt;padding: 0px;&lt;br /&gt;display: inline-block;&lt;br /&gt;*display: inline; /* IE 7 and below */&lt;br /&gt;position: relative;&lt;br /&gt;margin-left: 5px;&lt;br /&gt;margin-right: 5px;&lt;br /&gt;width: 48px;&lt;br /&gt;height: 48px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;ul#menu li img {&lt;br /&gt;width: 48px;&lt;br /&gt;position: absolute;&lt;br /&gt;top: 0px;&lt;br /&gt;left: 0px;&lt;br /&gt;padding: 0px;&lt;br /&gt;margin: 0 8px 0 0;&lt;br /&gt;border: none;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;-- &amp;gt&lt;br /&gt;&amp;lt/style &amp;gt&lt;br /&gt;&amp;lt/head &amp;gt&lt;br /&gt;&amp;ltbody &amp;gt&lt;br /&gt;&lt;br /&gt;&amp;ltdiv id="content" &amp;gt&lt;br /&gt;&amp;ltul id="menu" &amp;gt&lt;br /&gt;&amp;lt li &amp;gt &amp;lta href="http://feeds2.feedburner.com/prlamnguyen" &amp;gt&amp;ltimg src="images/feed.png" alt="Full RSS Feed" &amp;gt&amp;lt/a &amp;gt &amp;lt/li &amp;gt&lt;br /&gt;&amp;lt li &amp;gt &amp;lta href="http://feedburner.google.com/fb/a/mailverify?uri=prlamnguyen&amp;amp;loc=en_U" &amp;gt &amp;ltimg src="images/email.png" alt="E-Mail Delivery" &amp;gt&amp;lt/a &amp;gt &amp;lt/li &amp;gt&lt;br /&gt;&amp;lt li &amp;gt &amp;lta href="http://twitter.com/" &amp;gt &amp;ltimg src="images/twitter.png" alt="Follow me on Twitter" &amp;gt&amp;lt/a &amp;gt &amp;lt/li &amp;gt&lt;br /&gt;&amp;lt li &amp;gt &amp;lta href="http://facebook.com/" &amp;gt &amp;ltimg src="images/facebook.png" alt="I'm on FaceBook" &amp;gt&amp;lt/a &amp;gt &amp;lt/li &amp;gt&lt;br /&gt;&amp;lt li &amp;gt &amp;lta href="http://delicious.com/save" onclick="window.open('http://delicious.com/, 'delicious','toolbar=no,width=550,height=550'); return false;" &amp;gt &amp;ltimg src="images/delicious.png" alt="Save it!" &amp;gt&amp;lt/a &amp;gt &amp;lt/li &amp;gt&lt;br /&gt;&amp;lt li &amp;gt &amp;lta href="http://technorati.com/" &amp;gt &amp;ltimg src="images/technorati.png" alt="Favorite this blog" &amp;gt&amp;lt/a &amp;gt &amp;lt/li &amp;gt&lt;br /&gt;&amp;lt/ul &amp;gt&lt;br /&gt;&amp;lt/div &amp;gt                        &lt;br /&gt;&amp;lt/body &amp;gt&lt;br /&gt;&amp;lt/html &amp;gt&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is jquery&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;(function($){&lt;br /&gt;$.fn.bubbleup = function(options) {&lt;br /&gt;&lt;br /&gt;//Extend the default options of plugin&lt;br /&gt;var opts = $.extend({}, $.fn.bubbleup.defaults, options);&lt;br /&gt;var tip = null;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;return this.each(function() {   &lt;br /&gt;&lt;br /&gt;//Set the option value passed here&lt;br /&gt;var $tooltip = opts.tooltips; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$(this).mouseover(&lt;br /&gt;&lt;br /&gt;function () {&lt;br /&gt;&lt;br /&gt;if($tooltip) {&lt;br /&gt;&lt;br /&gt;tip = $('&lt;div&gt;' + $(this).attr('alt') + '&lt;/div&gt;');&lt;br /&gt;tip.css({&lt;br /&gt;fontFamily: 'Helvetica, Arial, sans-serif',&lt;br /&gt;color: '#333333', &lt;br /&gt;fontSize: 12, &lt;br /&gt;fontWeight: 'bold', &lt;br /&gt;position: 'absolute', &lt;br /&gt;zIndex: 100000&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;tip.remove().css({&lt;br /&gt;top: 0, left: 0, &lt;br /&gt;visibility: 'hidden', &lt;br /&gt;display: 'block'&lt;br /&gt;}).appendTo(document.body);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//Get the width and height of current image item&lt;br /&gt;var position = $.extend({}, $(this).offset(), {&lt;br /&gt;width: this.offsetWidth, &lt;br /&gt;height: this.offsetHeight&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//Get the width and height of the tip element &lt;br /&gt;var tipWidth = tip[0].offsetWidth, tipHeight = tip[0].offsetHeight;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//Set position for the tip to display correctly&lt;br /&gt;//Postion: top and center of image     &lt;br /&gt;tip.stop().css({&lt;br /&gt;top: position.top - tipHeight, &lt;br /&gt;left: position.left + position.width / 2 - tipWidth / 2, &lt;br /&gt;visibility: 'visible'&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;tip.animate({&lt;br /&gt;top: "-=24",&lt;br /&gt;}, 'fast'); &lt;br /&gt;}        &lt;br /&gt;&lt;br /&gt;$(this).stop();&lt;br /&gt;$(this).css({'z-index' : 100, 'top' : 0, 'left' : 0, 'width' : 48}).animate({&lt;br /&gt;left: "-=24",&lt;br /&gt;top: "-=24",&lt;br /&gt;width: 96&lt;br /&gt;}, 'fast');&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;).mouseout(&lt;br /&gt;&lt;br /&gt;function () {&lt;br /&gt;&lt;br /&gt;if($tooltip) {&lt;br /&gt;tip.remove();&lt;br /&gt;}   &lt;br /&gt;&lt;br /&gt;$(this).stop();&lt;br /&gt;$(this).animate({&lt;br /&gt;left: 0,&lt;br /&gt;top: 0,&lt;br /&gt;width: 48&lt;br /&gt;}, 'fast', function() {&lt;br /&gt;$(this).css({'z-index' : 0});&lt;br /&gt;}&lt;br /&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;$.fn.bubbleup.defaults = {&lt;br /&gt;tooltips: false&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;})(jQuery);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;you can download original files with image from &lt;a href='http://www.mediafire.com/?ck2mdmge2jm'&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Leave the comment to improve us....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-6195051802550554477?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/6195051802550554477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/03/on-mouseover-zoom-image-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6195051802550554477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6195051802550554477'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/03/on-mouseover-zoom-image-using-jquery.html' title='On mouseover zoom the image using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2672462747057692919</id><published>2010-03-23T03:41:00.000-07:00</published><updated>2010-11-29T20:07:56.124-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Conver video format to flv and play a video like youtube</title><content type='html'>Hi friends,&lt;br /&gt;This is the program we can upload the video file in any format and it will convert it into the flv format and also it will take the snapshot of video for displaying the video in the player before it's going to be done.&lt;br /&gt;&lt;br /&gt;For  that here we need to configure the ffmpeg into the local server.This ffmpeg will conver the video file into the flv format and also it will take the snapshot of video and it will store the image.&lt;br /&gt;&lt;br /&gt;Here I put the  $image_name  ie. before we need to store the image we put the name for image.Here I take the name from video and simply append the jpg.&lt;br /&gt;Similarly for the video name and make the video name with the .flv  I simply append the video name with .flv.&lt;br /&gt;&lt;br /&gt;For storing the image and video I create one folder named 'uploads'.Here I use the Image path and media path for the destination.in this destination  its going to be saved after convert the video to flv and took the snapshot.&lt;br /&gt;&lt;br /&gt;The source folder is where we upload the video.Once I get the video and snapshot I delete the original video from the source.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Video Upload&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt form action="" method="post" enctype="multipart/form-data" &amp;gt &lt;br /&gt;&amp;lt table width="400" cellpadding="3"  &amp;gt &lt;br /&gt;&amp;lt tr &amp;gt &lt;br /&gt;&amp;lt td colspan="3" &amp;gt &amp;nbsp;&amp;lt /td &amp;gt &lt;br /&gt;&amp;lt /tr &amp;gt &lt;br /&gt;&amp;lt tr &amp;gt &lt;br /&gt;&amp;lt td width="10" rowspan="2" &amp;gt &amp;nbsp;&amp;lt /td &amp;gt &lt;br /&gt;&amp;lt td width="120" &amp;gt &amp;lt strong &amp;gt Choose a file to upload:&amp;lt /strong &amp;gt &amp;lt /td &amp;gt &lt;br /&gt;&amp;lt td width="242" &amp;gt &amp;lt input type="file" name="uploaded_file" / &amp;gt &amp;lt /td &amp;gt &lt;br /&gt;&amp;lt /tr &amp;gt &lt;br /&gt;&amp;lt tr &amp;gt &lt;br /&gt;&amp;lt td &amp;gt &amp;nbsp;&amp;lt /td &amp;gt &lt;br /&gt;&amp;lt td &amp;gt &amp;nbsp;&amp;lt /td &amp;gt &lt;br /&gt;&amp;lt /tr &amp;gt &lt;br /&gt;&amp;lt tr &amp;gt &lt;br /&gt;&amp;lt td &amp;gt &amp;nbsp;&amp;lt /td &amp;gt &lt;br /&gt;&amp;lt td &amp;gt &amp;nbsp;&amp;lt /td &amp;gt &lt;br /&gt;&amp;lt td &amp;gt &amp;lt input type="submit" name="sendForm" value="Upload File" / &amp;gt &lt;br /&gt;&amp;lt br / &amp;gt &amp;lt /td &amp;gt &lt;br /&gt;&amp;lt /tr &amp;gt &lt;br /&gt;&amp;lt tr &amp;gt &lt;br /&gt;&amp;lt td colspan="3" &amp;gt &amp;nbsp;&amp;lt /td &amp;gt &lt;br /&gt;&amp;lt /tr &amp;gt &lt;br /&gt;&amp;lt /table &amp;gt &lt;br /&gt;&amp;lt /form &amp;gt &lt;br /&gt;&amp;lt ?php&lt;br /&gt;error_reporting(E_ALL ^ E_NOTICE); // Show all major errors.&lt;br /&gt;&lt;br /&gt;// Check to see if the button has been pressed&lt;br /&gt;if (!empty($_REQUEST['sendForm']))&lt;br /&gt;{&lt;br /&gt;// Assign the name to a variable&lt;br /&gt;$name = $_FILES['uploaded_file']['name'];    /*This is the file name for ex:clock.avi ******************/&lt;br /&gt;// Assign the tmp_name to a variable&lt;br /&gt;$tmp_name = $_FILES['uploaded_file']['tmp_name'];&lt;br /&gt;&lt;br /&gt;// Assign the error to a variable&lt;br /&gt;$error = $_FILES['uploaded_file']['error'];&lt;br /&gt;// Assign the size to a variable&lt;br /&gt;$size = $_FILES['uploaded_file']['size'];&lt;br /&gt;// No trailing slash&lt;br /&gt;$uploadFilesTo = 'uploads';&lt;br /&gt;// Create safe filename&lt;br /&gt;$name = ereg_replace('[^A-Za-z0-9.]', '-', $name);&lt;br /&gt;// Disallowed file extensions&lt;br /&gt;//what files you don't want upoad... leave this alone and you should be fine but you could add more&lt;br /&gt;$naughtyFileExtension = array("php", "php3", "asp", "inc", "txt", "wma","js", "exe", "jsp", "map", "obj", " ", "", "html", "mp3", "mpu", "wav", "cur", "ani");  // Returns an array that includes the extension&lt;br /&gt;$fileInfo = pathinfo($name);&lt;br /&gt;&lt;br /&gt;// Check extension&lt;br /&gt;if (!in_array($fileInfo['extension'], $naughtyFileExtension))&lt;br /&gt;{&lt;br /&gt;// Get filename&lt;br /&gt;$name = getNonExistingFilename($uploadFilesTo, $name);&lt;br /&gt;// Upload the file&lt;br /&gt;if (move_uploaded_file($tmp_name, $uploadFilesTo.'/'.$name))&lt;br /&gt;{&lt;br /&gt;// Show success message&lt;br /&gt;&lt;br /&gt;$fileNameLength = strlen($name);&lt;br /&gt;$counter = 0;&lt;br /&gt;$fileNameTemp = "";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$image_name=substr($name, 0, strrpos( $name, ".")) . ".jpg";&lt;br /&gt;$video_name=substr($name, 0, strrpos( $name, ".")) . ".flv";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$media_path=$uploadFilesTo.'/'.$video_name;&lt;br /&gt;&lt;br /&gt;$image_path=$uploadFilesTo.'/'.$image_name;&lt;br /&gt;$sourcefile=$uploadFilesTo.'/'.$name;&lt;br /&gt;&lt;br /&gt;$command1 = escapeshellcmd("ffmpeg -i $sourcefile -an -ss 00:00:03 -an -r 1 -vframes 1 -s 100*90 -y $image_path"); &lt;br /&gt;$output = shell_exec($command1);&lt;br /&gt;$command = escapeshellcmd("ffmpeg -y -i $sourcefile -ar 22050 -f flv $media_path");&lt;br /&gt;$output = shell_exec($command);&lt;br /&gt;unlink($sourcefile);&lt;br /&gt;echo '&amp;lt center &amp;gt &amp;lt p &amp;gt Your Video File has uploaded successfully&amp;lt br / &amp;gt '.$uploadFilesTo.'/'.$name.'&amp;lt /p &amp;gt &amp;lt /center &amp;gt ';&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;// Show failure message&lt;br /&gt;echo '&amp;lt center &amp;gt &amp;lt p &amp;gt File failed to upload to /'.$name.'&amp;lt /p &amp;gt &amp;lt /center &amp;gt ';&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;// Bad File type&lt;br /&gt;echo '&amp;lt center &amp;gt &amp;lt p &amp;gt The file uses an extension we don\'t allow.&amp;lt /p &amp;gt &amp;lt /center &amp;gt ';&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// Functions do not need to be inline with the rest of the code&lt;br /&gt;function getNonExistingFilename($uploadFilesTo, $name)&lt;br /&gt;{&lt;br /&gt;if (!file_exists($uploadFilesTo . '/' . $name))&lt;br /&gt;return $name;&lt;br /&gt;&lt;br /&gt;return getNonExistingFilename($uploadFilesTo, rand(100, 200) . '_' . $name);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;? &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Leave the comment to improve us...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2672462747057692919?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2672462747057692919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/03/conver-video-format-to-flv-and-play.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2672462747057692919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2672462747057692919'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/03/conver-video-format-to-flv-and-play.html' title='Conver video format to flv and play a video like youtube'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-1810898407755949616</id><published>2010-03-14T04:57:00.000-07:00</published><updated>2010-11-29T20:10:17.796-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Pagination like facebook message inbox</title><content type='html'>Hi friends,&lt;br /&gt;&lt;br /&gt;Today I faced a situation like making the pagination depending upon particular id.&lt;br /&gt;&lt;br /&gt;For example in my situation the user in message inbox with detail view.There is button for Previous and Next in detail view.But I listed out the Friend Request only in the inbox.But there is also an criteria for ordinary message.So if the user in the Friend request view I need to filter out the Next message for the 'Friend Request'.&lt;br /&gt;&lt;br /&gt;The Friend Request query is &lt;br /&gt;&lt;pre class="prettyprint"&gt;SELECT * FROM tbl_message Where SUBJECT='Friend Request' and Contactid='myid';&lt;br /&gt;&lt;/pre&gt;It returns&lt;br /&gt;&lt;pre class="prettyprint"&gt;messageid &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Message&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;       Subject &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         contactidfrom&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           Hi   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;          Friend Request &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   Friendid&lt;br /&gt;&lt;br /&gt;10 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        Hi &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;   Friend Request&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    Friendid&lt;br /&gt;&lt;br /&gt;15  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;      Hi     &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;           Friend Request &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    Friendid&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;In that situation if the user click the messageid 10 and if he is watching the message there is display for next and previous button.&lt;br /&gt;&lt;br /&gt;If he clicks the previous button then I need to 'messageid' 1 and if clicks the Next button I need to redirect user to 'messageid' 15.For that we can make it simple.&lt;br /&gt;&lt;br /&gt;Write the query like below.&lt;br /&gt;&lt;br /&gt;This is for the 'Next' button&lt;br /&gt;&lt;pre class="prettyprint"&gt;SELECT * FROM tbl_message Where SUBJECT='Friend Request'AND messageid &gt; 'currentid'&lt;br /&gt; AND Contactid='myid';&lt;br /&gt;&lt;/pre&gt;For 'Previous' button &lt;br /&gt;&lt;pre class="prettyprint"&gt;SELECT * FROM tbl_message Where SUBJECT='Friend Request' AND messageid &lt; 'currentid'&lt;br /&gt; AND Contactid='myid';&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Current id here goes to 10&lt;br /&gt;&lt;br /&gt;Please leave the comment to improve us....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-1810898407755949616?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/1810898407755949616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/03/pagination-like-facebook-message-inbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1810898407755949616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1810898407755949616'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/03/pagination-like-facebook-message-inbox.html' title='Pagination like facebook message inbox'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-6439616209598856926</id><published>2010-03-14T04:34:00.000-07:00</published><updated>2010-03-14T04:45:54.161-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><title type='text'>Online Book rental</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;br /&gt;This is topic slightly change from the theme of the blog.But mostly related to the blog.Why?&lt;br /&gt;&lt;br /&gt;Because every programmer want to learn new things.So I fell this topic is related to our blog concepts.&lt;br /&gt;&lt;br /&gt;Every one heard the word 'Book is the perfect friend in the world'.&lt;br /&gt;&lt;br /&gt;A good book change the world.If you want to learn alot you are definitively the book reader .Book reading is the good habit to everyone.If you want to present any one give the book as a gift is the perfect one.&lt;br /&gt;&lt;br /&gt;But now on the modern days most of the people doesn't have much more time to read the books.The best choice give the opportunity  to those people is through online.&lt;br /&gt;For that the following site give the best opportunity to the people to make the gift and make your friends to the perfect reader.&lt;br /&gt;&lt;a href="http://affiliates.izea.com/event/v3/88822-8982-9052/social_spark" rel="nofollow"&gt;&lt;img src="http://affiliates.izea.com/event/v3/88822-8982-9052/social_spark.gif" alt="" title="" width="1" height="1" border="0" /&gt;BookSwim.com Gift Card&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Please give the comment to improve us....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-6439616209598856926?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/6439616209598856926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/03/online-book-rental.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6439616209598856926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6439616209598856926'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/03/online-book-rental.html' title='Online Book rental'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7592209370896331813</id><published>2010-03-06T06:21:00.000-08:00</published><updated>2010-11-29T20:11:18.794-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Jquery Browser Finder</title><content type='html'>Hi friends,&lt;br /&gt;Using Jquery we can find the browser.This is going to be very useful when the codings on depending upon the browser oriented.At that time we ca change our coding by finding the browser.So it will take less minutes to solve the issues depending on browser.&lt;br /&gt;All credits goes to &lt;a href='http://www.akchauhan.com/getting-browser-information-using-jquery/'&gt;akchauhan&lt;/a&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery-1.3.2.min.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" &amp;gt &lt;br /&gt;$(document).ready(function(){&lt;br /&gt;&lt;br /&gt;var browser;&lt;br /&gt;if($.browser.mozilla)&lt;br /&gt;browser = "Firefox";&lt;br /&gt;else if($.msie)&lt;br /&gt;browser = "Internet Explorer";&lt;br /&gt;else if($.browser.opera)&lt;br /&gt;browser = "Opera";&lt;br /&gt;else if($.browser.safari)&lt;br /&gt;browser = "Safari";&lt;br /&gt;else&lt;br /&gt;browser = "Unknown";&lt;br /&gt;&lt;br /&gt;$('#browserName').append(browser);&lt;br /&gt;});&lt;br /&gt;&amp;lt /script &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Browser Finder&amp;lt /title &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt div id="browserName" &amp;gt Your Browser: &amp;lt /div &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Leave the comments to improve us..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7592209370896331813?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7592209370896331813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/03/jquery-browser-finder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7592209370896331813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7592209370896331813'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/03/jquery-browser-finder.html' title='Jquery Browser Finder'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2787056414994959867</id><published>2010-03-02T20:28:00.000-08:00</published><updated>2010-11-29T20:11:48.929-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Hide/Show button and change textarea as readonly</title><content type='html'>Hi friends,&lt;br /&gt;Most of the webdevelopers faceing the situation like this.Some times we need to make the text area as editable one when they are going to click the button.We can easily make it by using the javascript.Here I am explaining with the check box.When the user going to click the check box its going to be readonl.Because first it is the editable one.You can make it also in reverse.&lt;br /&gt;For that you put readonly as true in HTML and change the readonly as false in javascript.&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Untitled Document&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" &amp;gt &lt;br /&gt;&lt;br /&gt;function blah(bool) {&lt;br /&gt;if(bool) {&lt;br /&gt;document.getElementById("ta").readOnly = true;&lt;br /&gt;document.getElementById('tst').style.visibility = 'visible'&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;document.getElementById("ta").readOnly = false;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&amp;lt /script &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt textarea id="ta"  &amp;gt &amp;lt /textarea &amp;gt &lt;br /&gt;&amp;lt input type="checkbox" onclick="blah(this.checked)" / &amp;gt &lt;br /&gt;&amp;lt div id="tst" style="visibility:hidden" &amp;gt &amp;lt input type="button" value="save"/ &amp;gt &amp;lt /div &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Leave the comments to improve us....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2787056414994959867?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2787056414994959867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/03/hideshow-button-and-change-textarea-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2787056414994959867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2787056414994959867'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/03/hideshow-button-and-change-textarea-as.html' title='Hide/Show button and change textarea as readonly'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-3974583044620616843</id><published>2010-02-24T07:13:00.000-08:00</published><updated>2010-11-29T20:12:47.491-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Create a expandable Text area like face boook</title><content type='html'>Hi friends if you see the text area in face book for replying message it going to be nice and good one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is going to be expand for particular distance after that only it going to make the scroll bar.You can also make this by using Jquery.&lt;br /&gt;&lt;br /&gt;Here is the code for HTML&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery-1.3.2.min.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt !--&amp;lt script type="text/javascript" src="jquery.autogrow-1.2.2/jquery.autogrow.js" &amp;gt &amp;lt /script &amp;gt -- &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/autoextendtextarea.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Untitled Document&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt script &amp;gt &lt;br /&gt;$(document).ready(function(){&lt;br /&gt;$('textarea#comment').autoResize({&lt;br /&gt;// On resize:&lt;br /&gt;onResize : function() {&lt;br /&gt;$(this).css({opacity:0.8});&lt;br /&gt;},&lt;br /&gt;// After resize:&lt;br /&gt;animateCallback : function() {&lt;br /&gt;$(this).css({opacity:1});&lt;br /&gt;},&lt;br /&gt;// Quite slow animation:&lt;br /&gt;animateDuration : 300,&lt;br /&gt;// More extra space:&lt;br /&gt;extraSpace : 40&lt;br /&gt;});&lt;br /&gt;});&lt;br /&gt;&amp;lt /script &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt textarea style="line-height:10px min-height:30px" id='comment' &amp;gt &amp;lt /textarea &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The Jquery Plugin for this is &lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;// JavaScript Document&lt;br /&gt;/*&lt;br /&gt;* jQuery autoResize (textarea auto-resizer)&lt;br /&gt;* @copyright James Padolsey http://james.padolsey.com&lt;br /&gt;* @version 1.04&lt;br /&gt;*/&lt;br /&gt;//Source:http://james.padolsey.com/javascript/jquery-plugin-autoresize/&lt;br /&gt;(function($){&lt;br /&gt;&lt;br /&gt;$.fn.autoResize = function(options) {&lt;br /&gt;&lt;br /&gt;// Just some abstracted details,&lt;br /&gt;// to make plugin users happy:&lt;br /&gt;var settings = $.extend({&lt;br /&gt;onResize : function(){},&lt;br /&gt;animate : true,&lt;br /&gt;animateDuration : 150,&lt;br /&gt;animateCallback : function(){},&lt;br /&gt;extraSpace : 20,&lt;br /&gt;limit: 1000&lt;br /&gt;}, options);&lt;br /&gt;&lt;br /&gt;// Only textarea's auto-resize:&lt;br /&gt;this.filter('textarea').each(function(){&lt;br /&gt;&lt;br /&gt;// Get rid of scrollbars and disable WebKit resizing:&lt;br /&gt;var textarea = $(this).css({resize:'none','overflow-y':'hidden'}),&lt;br /&gt;&lt;br /&gt;// Cache original height, for use later:&lt;br /&gt;origHeight = textarea.height(),&lt;br /&gt;&lt;br /&gt;// Need clone of textarea, hidden off screen:&lt;br /&gt;clone = (function(){&lt;br /&gt;&lt;br /&gt;// Properties which may effect space taken up by chracters:&lt;br /&gt;var props = ['height','width','lineHeight','textDecoration','letterSpacing'],&lt;br /&gt;propOb = {};&lt;br /&gt;&lt;br /&gt;// Create object of styles to apply:&lt;br /&gt;$.each(props, function(i, prop){&lt;br /&gt;propOb[prop] = textarea.css(prop);&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;// Clone the actual textarea removing unique properties&lt;br /&gt;// and insert before original textarea:&lt;br /&gt;return textarea.clone().removeAttr('id').removeAttr('name').css({&lt;br /&gt;position: 'absolute',&lt;br /&gt;top: 0,&lt;br /&gt;left: -9999&lt;br /&gt;}).css(propOb).attr('tabIndex','-1').insertBefore(textarea);&lt;br /&gt;&lt;br /&gt;})(),&lt;br /&gt;lastScrollTop = null,&lt;br /&gt;updateSize = function() {&lt;br /&gt;&lt;br /&gt;// Prepare the clone:&lt;br /&gt;clone.height(0).val($(this).val()).scrollTop(10000);&lt;br /&gt;&lt;br /&gt;// Find the height of text:&lt;br /&gt;var scrollTop = Math.max(clone.scrollTop(), origHeight) + settings.extraSpace,&lt;br /&gt;toChange = $(this).add(clone);&lt;br /&gt;&lt;br /&gt;// Don't do anything if scrollTip hasen't changed:&lt;br /&gt;if (lastScrollTop === scrollTop) { return; }&lt;br /&gt;lastScrollTop = scrollTop;&lt;br /&gt;&lt;br /&gt;// Check for limit:&lt;br /&gt;if ( scrollTop &gt;= settings.limit ) {&lt;br /&gt;$(this).css('overflow-y','');&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;// Fire off callback:&lt;br /&gt;settings.onResize.call(this);&lt;br /&gt;&lt;br /&gt;// Either animate or directly apply height:&lt;br /&gt;settings.animate &amp;&amp; textarea.css('display') === 'block' ?&lt;br /&gt;toChange.stop().animate({height:scrollTop}, settings.animateDuration, settings.animateCallback)&lt;br /&gt;: toChange.height(scrollTop);&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;// Bind namespaced handlers to appropriate events:&lt;br /&gt;textarea&lt;br /&gt;.unbind('.dynSiz')&lt;br /&gt;.bind('keyup.dynSiz', updateSize)&lt;br /&gt;.bind('keydown.dynSiz', updateSize)&lt;br /&gt;.bind('change.dynSiz', updateSize);&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;// Chain:&lt;br /&gt;return this;&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;})(jQuery);&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Here all the credits go to Source:&lt;a href='http://james.padolsey.com/javascript/jquery-plugin-autoresize/'&gt;james.padolsey&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Leave the comment to improve us&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-3974583044620616843?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/3974583044620616843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/02/create-expandable-text-area-like-face.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3974583044620616843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3974583044620616843'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/02/create-expandable-text-area-like-face.html' title='Create a expandable Text area like face boook'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-8201341740774867062</id><published>2010-02-14T21:49:00.000-08:00</published><updated>2010-11-29T20:47:54.221-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>CountdownTimer Using Jquery</title><content type='html'>Hi friends,&lt;br /&gt;&lt;br /&gt;In this tutorial I am going tell about how to create and use th countdown Timer using Jquery.&lt;br /&gt;&lt;br /&gt;In one of application the client want to display the count down timer.For that I choose Jquery and put it in my application.&lt;br /&gt;&lt;br /&gt;The original count down timer is get from &lt;a href='http://davidwalsh.name/'&gt;David walsh&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I slightly modify it and give it to you.&lt;br /&gt;&lt;span class=”fullpost”&gt; &lt;br /&gt;First  you need to put the Jquery plugin...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;/*&lt;br /&gt;Class:     countDown&lt;br /&gt;Author:    David Walsh&lt;br /&gt;Modified by:Vinoth Kumar.S&lt;br /&gt;Version:   1.0.0&lt;br /&gt;Date:      FEB 05 2010&lt;br /&gt;Built For:  jQuery 1.2.6&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;jQuery.fn.countDown = function(settings,to,id) {&lt;br /&gt;settings = jQuery.extend({&lt;br /&gt;startFontSize: '36px',&lt;br /&gt;endFontSize: '12px',&lt;br /&gt;duration: 1000,&lt;br /&gt;startNumber: 60,&lt;br /&gt;endNumber: 0,&lt;br /&gt;myid:id,&lt;br /&gt;callBack: function() { }&lt;br /&gt;}, settings);&lt;br /&gt;return this.each(function() {&lt;br /&gt;//alert(settings.toString);&lt;br /&gt;//where do we start?&lt;br /&gt;if(!to &amp;&amp; to != settings.endNumber) { to = settings.startNumber; }&lt;br /&gt;//alert(settings.id);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//set the countdown to the starting number&lt;br /&gt;//$(this).text(to).css('fontSize',settings.startFontSize);&lt;br /&gt;&lt;br /&gt;hours = Math.floor(to / 60);&lt;br /&gt;minutes = Math.round(to % 60);&lt;br /&gt;if (minutes &lt; 10) {&lt;br /&gt;minutes = "0"+minutes;&lt;br /&gt;}&lt;br /&gt;$(this).text(hours + ':' + minutes).css('fontSize',settings.startFontSize);&lt;br /&gt;//loopage&lt;br /&gt;var myhour=hours + ':' + minutes;&lt;br /&gt;$.cookie('test',myhour,{expires:7,path:'/'});&lt;br /&gt;&lt;br /&gt;$(this).animate({&lt;br /&gt;'fontSize': settings.endFontSize&lt;br /&gt;},settings.duration,'',function() {&lt;br /&gt;if(to &gt; settings.endNumber + 1) {&lt;br /&gt;$(this).css('fontSize',settings.startFontSize).text(to - 1).countDown(settings,to - 1);&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;$.cookie('test',null,{path:'/'});&lt;br /&gt;settings.callBack(this);&lt;br /&gt;}&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then create the Html Page &lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt countdowntimer&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt style type="text/css" &amp;gt &lt;br /&gt;@import "jquery.countdown.package-1.5.5/css/jquery.countdown.css";&lt;br /&gt;&lt;br /&gt;#defaultCountdown { width: 240px; height: 45px; }&lt;br /&gt;&amp;lt /style &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery-1.3.2.min.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/countdownplugin.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/cookie.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" &amp;gt &lt;br /&gt;$(document).ready(function() {&lt;br /&gt;&lt;br /&gt;$('#countdown').countDown({&lt;br /&gt;startNumber: 25,&lt;br /&gt;callBack: function(me) {&lt;br /&gt;$(me).text('All done! This is where you give the reward!').css('color','#090');&lt;br /&gt;$.cookie('test',null,{path:'/'});&lt;br /&gt;//$(this).text(hours + ':' + minutes).css('fontSize',settings.startFontSize);&lt;br /&gt;},&lt;br /&gt;id:5&lt;br /&gt;});&lt;br /&gt;});&lt;br /&gt;&amp;lt /script &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt p style="border:1px;margin:auto 0px;text-align:center;margin-top:250px;" &amp;gt &lt;br /&gt;&amp;lt span id="countdown" &amp;gt &amp;lt /span &amp;gt &lt;br /&gt;&amp;lt /p &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please use this and leave the comment to us&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-8201341740774867062?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/8201341740774867062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/02/countdowntimer-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8201341740774867062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8201341740774867062'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/02/countdowntimer-using-jquery.html' title='CountdownTimer Using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-5170430831768347527</id><published>2010-02-13T07:22:00.000-08:00</published><updated>2010-02-13T07:28:56.778-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hacking'/><title type='text'>change google look and apperance</title><content type='html'>Hi friends,&lt;br /&gt;&lt;br /&gt;Today i am going to teach how to edit/delete google home page contents.Its really a working example and I used it and make fun.&lt;br /&gt;How long we are watching the same google home page.If you get really bored you can do this.And prove you are a hacker.&lt;br /&gt;&lt;br /&gt;Eventhough you doesnt want to prove a hacker make a fun with google.&lt;br /&gt;You can apply this trick for any websites you want to do.&lt;br /&gt;&lt;br /&gt;For that you need to do only two things.&lt;br /&gt;&lt;br /&gt;1.Enter the web address you want to do edit&lt;br /&gt;&lt;br /&gt;2.In browser please put the following javascript and hit enter.&lt;br /&gt;&lt;br /&gt;javascript: document.body.contentEditable= "true"; document.designMode= "on"; void 0&lt;br /&gt;&lt;br /&gt;Now enjoy yourself&lt;br /&gt;&lt;br /&gt;Leave the comments to improve us&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-5170430831768347527?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/5170430831768347527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/02/change-google-look-and-apperance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5170430831768347527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5170430831768347527'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/02/change-google-look-and-apperance.html' title='change google look and apperance'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-3233834906389271466</id><published>2010-02-10T01:36:00.001-08:00</published><updated>2010-02-13T07:30:09.518-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Design'/><title type='text'>Best designed web sites</title><content type='html'>Hi friends,&lt;br /&gt;  In this post I am going to tell about the sites that contains the beautiful design for websites.&lt;br /&gt;Most of the webdesigners facing the problem in choosing the color combination.But  the following websites gives the real beautiful designing ideas.&lt;br /&gt;I really suggest you,dont copy the things.But you can gather their ideas and implement it in your own way.It gives the lot of beautiful things tothe world.&lt;br /&gt;Some of the sites also recommended for programmers also.&lt;br /&gt;Why the programmers need te effort in designing?&lt;br /&gt;&lt;br /&gt;Once the design is completed the programmers going to be develope the whole site for few days to few months...&lt;br /&gt;&lt;br /&gt;If it is intresting thing then only they are watching watching the site upto the months....&lt;br /&gt;&lt;br /&gt;so if you are going to be work with that site please give the small efforts on designs.It really helpful.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Best designed websites&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. &lt;a href='http://www.onextrapixel.com'&gt;onextrapixel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;a href='http://www.instantshift.com/2009/09/23/logo-design-inspiration-50-beautiful-examples/'&gt;instantshift&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. &lt;a href='http://www.ourtuts.com/30-best-web-design-layout-photoshop-tutorials/'&gt;ourtuts&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. &lt;a href='http://www.webdesignbeach.com/'&gt;webdesignbeach&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5. &lt;a href='http://www.ourtuts.com/most-inspirational-sites-of-the-week-4/'&gt;ourtuts&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6. &lt;a href='http://blog.httpwatch.com/2008/09/15/httpwatch-version-60/'&gt;httpwatch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7. &lt;a href='http://www.bestcssdesign.com/'&gt;bestcssdesign&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;for flash&lt;br /&gt;&lt;br /&gt;8. &lt;a href='http://www.webdesignstuff.com/'&gt;webdesignstuff&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Leave the comments to improve us.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-3233834906389271466?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/3233834906389271466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/02/best-webdesigned-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3233834906389271466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3233834906389271466'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/02/best-webdesigned-sites.html' title='Best designed web sites'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7193478304547020290</id><published>2010-02-09T20:20:00.000-08:00</published><updated>2010-02-13T07:30:23.958-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Test'/><title type='text'>Test Pay Per Post</title><content type='html'>The communist reflects!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7193478304547020290?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7193478304547020290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/02/test-pay-per-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7193478304547020290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7193478304547020290'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/02/test-pay-per-post.html' title='Test Pay Per Post'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-1432682684312724461</id><published>2010-02-07T05:00:00.000-08:00</published><updated>2010-11-29T20:49:02.350-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Set Interval and Set timeout difference in Jquery</title><content type='html'>Set timeout in Jquery call the function only once.But the Set interval call the function again and again for the time limit we are given.&lt;br /&gt;But if you want to make the websites such as update the user status and other things you are advice to use set time interval.&lt;br /&gt;&lt;br /&gt;If you want to call a function after particular seconds(Such as delay) use the set time out function.&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery-1.3.2.min.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt setTimeout/setInterval&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt script &amp;gt &lt;br /&gt;$(document).ready(function(){&lt;br /&gt;$("#settimeoutfunc").click(function()&lt;br /&gt;{&lt;br /&gt;alert('clciked,Please wait 20 seconds');&lt;br /&gt;setTimeout('alert(\'Settimeout is cliked\')',20000);&lt;br /&gt;});&lt;br /&gt;$("#setIntervalfunc").click(function()&lt;br /&gt;{&lt;br /&gt;alert('clciked,Please wait 20 seconds');&lt;br /&gt;setInterval('alert(\'SetInterval is cliked\')',20000);&lt;br /&gt;});&lt;br /&gt;//alert('test');&lt;br /&gt;});&lt;br /&gt;&amp;lt /script &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt input type="button" value="settimeout" onclick="" id="settimeoutfunc"/ &amp;gt &lt;br /&gt;&amp;lt input type="button" value="setInterval" onclick="" id="setIntervalfunc"/ &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-1432682684312724461?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/1432682684312724461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/02/set-interval-and-set-timeout-difference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1432682684312724461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1432682684312724461'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/02/set-interval-and-set-timeout-difference.html' title='Set Interval and Set timeout difference in Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-4208717092208048337</id><published>2010-01-24T04:34:00.000-08:00</published><updated>2010-01-24T04:42:42.947-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>How to get the textarea ID using javascript</title><content type='html'>Most of the programmers using the comment&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; element = document.getElementById(id);&lt;/span&gt; to get the value or something from the HTML pages.Some times the ID may be changed because of some reasons.At that time we need to get the ID of the HTML element using Javascript and make our coding successfull.&lt;br /&gt;Here I list the coding to get textarea id .&lt;br /&gt;  &lt;pre name="code" class="javascript"&gt;&lt;br /&gt;     var divEls = document.getElementsByTagName("textarea");&lt;br /&gt;     var i = 0;&lt;br /&gt;     for(i=0;i&amp;ltdivEls.length;i++)&lt;br /&gt;     alert(divEls[i].id);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You can also using this type to get the Id of div.For that simply put the div instead of textarea.&lt;br /&gt;&lt;br /&gt;Leave the comments to improve us...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-4208717092208048337?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/4208717092208048337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/01/how-to-get-textarea-id-using-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/4208717092208048337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/4208717092208048337'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/01/how-to-get-textarea-id-using-javascript.html' title='How to get the textarea ID using javascript'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2923400052300792711</id><published>2010-01-24T03:53:00.000-08:00</published><updated>2010-01-24T04:45:13.613-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Text area with bold,Italic,etc..</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Ez_97HqqN54/S1w9fUO7k5I/AAAAAAAAAAU/S-OZ5LKqrlw/s1600-h/TinyMCE-Window.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 218px;" src="http://3.bp.blogspot.com/_Ez_97HqqN54/S1w9fUO7k5I/AAAAAAAAAAU/S-OZ5LKqrlw/s320/TinyMCE-Window.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5430282858918548370" /&gt;&lt;/a&gt;&lt;br /&gt;We are all know about Emails.In that we have seen the text area with the options to make our content bold,italic,etc.We can also make the text area like that in our site.&lt;br /&gt;For that what we have to do?&lt;br /&gt;There are lots of plugins available on the internet.I am using the plugin &lt;a href='http://tinymce.moxiecode.com/'&gt;TinyMCE&lt;/a&gt;In that we have almost all of the options to make the text area as richable and user friendly.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;How to integrate Tiny MCE to your site?&lt;/span&gt;&lt;br /&gt;You can simply&lt;br /&gt;download from the above site and then you can integerate the javascript from tiny mce.&lt;br /&gt;&lt;br /&gt;Depending upon your needs there are lots of themes(simple,advanced) are available.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What are the problems I am facing during usage?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        During the integeration there are n problems.I simply integerate the script.But when I am going to use I face a small problem.That is my site is fully developed using the ajax concepts.When I am using the editor the first time mail was sent successfully.During the mail send I validate through javascript.When I send the mail at second time it wont be sent.Why?&lt;br /&gt;        I got the result of the textarea Id is changed.So when I am validate at second time the error displayed there is no such an ID.Why it was changed?Because the tiny MCE change the text area Id depending upon that use.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;How I solved the problem?&lt;/span&gt;&lt;br /&gt;      I analyzed the Id going to be mce_0,mce_1,etc.So I simply get the id using Javascript (You can read &lt;a href='http://technotiger87.blogspot.com/2010/01/how-to-get-textarea-id-using-javascript.html'&gt;this post&lt;/a&gt; for get the ID using javscript )and pass that id during validation.Now the problem is solved simply.&lt;br /&gt;&lt;br /&gt;Please give the comments to improve us.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2923400052300792711?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2923400052300792711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/01/text-area-with-bolditalicetc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2923400052300792711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2923400052300792711'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/01/text-area-with-bolditalicetc.html' title='Text area with bold,Italic,etc..'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Ez_97HqqN54/S1w9fUO7k5I/AAAAAAAAAAU/S-OZ5LKqrlw/s72-c/TinyMCE-Window.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7713239046903555369</id><published>2010-01-16T06:08:00.000-08:00</published><updated>2010-11-29T23:04:45.561-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>How to replace the long text with dots</title><content type='html'>In php we can easily replace the long text with the dots.&lt;br /&gt;&lt;br /&gt;Here we use the substr function in PHP.&lt;br /&gt;&lt;br /&gt;The below example shows the program for that….&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt;&lt;br /&gt;&amp;amp;lthtml xmlns="http://www.w3.org/1999/xhtml" &amp;gt;&lt;br /&gt;&amp;amp;lthead &amp;gt;&lt;br /&gt;&amp;amp;ltmeta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt;&lt;br /&gt;&amp;amp;lttitle &amp;amp;gtUntitled Document&amp;lt;/title &amp;gt;&lt;br /&gt;&amp;lt;/head &amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;amp;ltbody &amp;gt;&lt;br /&gt;&amp;lt;?&lt;br /&gt;$message="ABCDEFGHIJKLMNOPQRSTUVWXYZ";&lt;br /&gt;&lt;br /&gt;if(strlen($message) &amp;amp;gt15)&lt;br /&gt;{&lt;br /&gt;$listedword=substr($message,0,15);&lt;br /&gt;echo $listedword."...";&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;echo $message;&lt;br /&gt;} &lt;br /&gt;? &amp;gt;&lt;br /&gt;&amp;lt;/body &amp;gt;&lt;br /&gt;&amp;lt;/html &amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The output is &lt;br /&gt;&lt;pre class="prettyprint"&gt;ABCDEFGHIJKLMNO...&lt;br /&gt;&lt;/pre&gt;The first fifteen  letters are printed and the remaining with dots…&lt;br /&gt;&lt;br /&gt;For more information visit &lt;br /&gt;&lt;br /&gt;&lt;a href="http://php.net/manual/en/function.substr.php"&gt;For more information&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Leave the comments to improve us..&lt;br /&gt;&lt;br /&gt;Click &lt;a href="http://www.mediafire.com/file/nim1mnz5yda/How%20to%20replace%20the%20long%20text%20with%20dots.doc"&gt;Download&lt;/a&gt; this as a word document&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7713239046903555369?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7713239046903555369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/01/how-to-replace-long-text-with-dots.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7713239046903555369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7713239046903555369'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/01/how-to-replace-long-text-with-dots.html' title='How to replace the long text with dots'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7869031634698622627</id><published>2010-01-10T06:03:00.000-08:00</published><updated>2010-01-10T06:32:48.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Import Contacts From LinkedIn,Yahoo,Gmail,Hotmail,etc..</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Ez_97HqqN54/S0njSFnAjyI/AAAAAAAAAAM/V52VKeP7_iU/s1600-h/image-thumb.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 284px;" src="http://4.bp.blogspot.com/_Ez_97HqqN54/S0njSFnAjyI/AAAAAAAAAAM/V52VKeP7_iU/s320/image-thumb.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5425117126027415330" /&gt;&lt;/a&gt;&lt;br /&gt;Hi Friends,&lt;br /&gt;         Every webdesigner and the programmer dream is,the site who is developed my theirself to get popular.So everyone try work hard to make SEO friendly and get to make the site going to be popular.For that the Invite friends in the social networking site help them a lot.&lt;br /&gt;       Because in the single click the site going to reach almost hundred and hundreds of users.So every social networking sites contain the feature of Invite friends.But as i programmer we cand get all the social networking sites API.Then What can we do?&lt;br /&gt;&lt;br /&gt;In my experience the best one is &lt;a href='openinviter.com'&gt;Open Inviter&lt;/a&gt;.Through this we can connect almost all of the websites those who are providing Email services or Social Networks.&lt;br /&gt;&lt;br /&gt;How can we Integerate OpenInviter?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1:&lt;/span&gt;Register the OpenInviter site with your domain name.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step:2&lt;/span&gt;They provide the API key associate with your domain name.Now download the OpenInviter.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step:3&lt;/span&gt;Unzip the file and Upload the OpenInviter to your root directory.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step:4&lt;/span&gt;Run the postinstall.php(Like this:http://yourdomainname.com/OpenInviter/postinstall.php&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step:5&lt;/span&gt;It tells you how can your website supporting OpenInviter technologey.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step:6&lt;/span&gt;Delete postinstall.php from the OpenInviter Directory.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step:7&lt;/span&gt;Run http://yourdomainname.com/OpenInviter/example.php.&lt;br /&gt;&lt;br /&gt;Change the messages and other things depend upon your need.It works fine.&lt;br /&gt;&lt;br /&gt;You can &lt;a href='http://www.mediafire.com/file/ozmzdycmmjm/Import Contacts From LinkedIn.doc'&gt;Download &lt;/a&gt;this post as word document.&lt;br /&gt;&lt;br /&gt;Leave the comment to improve us...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7869031634698622627?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7869031634698622627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/01/import-contacts-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7869031634698622627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7869031634698622627'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/01/import-contacts-from.html' title='Import Contacts From LinkedIn,Yahoo,Gmail,Hotmail,etc..'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Ez_97HqqN54/S0njSFnAjyI/AAAAAAAAAAM/V52VKeP7_iU/s72-c/image-thumb.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-3420920084478327115</id><published>2010-01-01T05:14:00.000-08:00</published><updated>2010-01-01T05:17:27.479-08:00</updated><title type='text'>HAPPY NEW YEAR</title><content type='html'>Hi friends,&lt;br /&gt;  Happy new year to every one.I wish you all the best to every one.This year will give the lights to your life.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-3420920084478327115?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/3420920084478327115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2010/01/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3420920084478327115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3420920084478327115'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2010/01/blog-post.html' title='HAPPY NEW YEAR'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-564922521267944362</id><published>2009-12-25T01:18:00.000-08:00</published><updated>2010-11-29T23:08:52.777-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Convert the time zone in PHP</title><content type='html'>In my application the client want to display the timezone in PST.&lt;br /&gt;But default the time is displayed in MST.That is we get the time from server and displayed in aparticular page.&lt;br /&gt;But the client want to show only in the particular page in PST.So I get the Program from PHP http://www.php.net/manual/en/function.date.php and use it.&lt;br /&gt;&lt;br /&gt;Here I need to change the America/New_York to America/Los_Angels and it display the PST time&lt;br /&gt;&lt;br /&gt;If you want it to display in different format change the argument in $format.Instead of g:i A T use D,h A T etc.&lt;br /&gt;# &lt;pre class="prettyprint"&gt;&amp;lt ?php&lt;br /&gt;function date_at_timezone($format, $locale, $timestamp=null){&lt;br /&gt;&lt;br /&gt;if(is_null($timestamp)) $timestamp = time();&lt;br /&gt;&lt;br /&gt;//Prepare to calculate the time zone offset&lt;br /&gt;$current = time();&lt;br /&gt;&lt;br /&gt;//Switch to new time zone locale&lt;br /&gt;$tz = date_default_timezone_get();&lt;br /&gt;date_default_timezone_set($locale);&lt;br /&gt;&lt;br /&gt;//Calculate the offset&lt;br /&gt;$offset = time() - $current;&lt;br /&gt;&lt;br /&gt;//Get the date in the new locale&lt;br /&gt;$output = date($format, $timestamp - $offset);&lt;br /&gt;&lt;br /&gt;//Restore the previous time zone&lt;br /&gt;date_default_timezone_set($tz);&lt;br /&gt;&lt;br /&gt;return $output;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//Examples&lt;br /&gt;$t = time();&lt;br /&gt;&lt;br /&gt;print date("g:i A T", $t); //4:16 PM PDT&lt;br /&gt;print date_at_timezone("g:i A T", "America/New_York", $t); //7:16 PM EDT&lt;br /&gt;print date_at_timezone("g:i A T", "Pacific/Samoa", $t); //12:16 PM SST&lt;br /&gt;print date("g:i A T", $t); //4:16 PM PDT&lt;br /&gt;? &amp;gt &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Leave the comments to improve us….&lt;br /&gt;&lt;a href='http://www.mediafire.com/file/2odymlgxzjn/Convert the time zone in PHP.docx'&gt;Click Here&lt;/a&gt; to download as word document...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-564922521267944362?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/564922521267944362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/12/convert-time-zone-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/564922521267944362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/564922521267944362'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/12/convert-time-zone-in-php.html' title='Convert the time zone in PHP'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2031323822940287107</id><published>2009-12-25T00:48:00.000-08:00</published><updated>2010-11-29T23:09:40.677-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Expand the tree without Disclosure Icon and change the tree Icons</title><content type='html'>Today I face the problem of open the tree without using the disclosure open and Close Icon and also they need to changr the First folder Icon only.&lt;br /&gt;&lt;br /&gt;Then I need to make the search and find out code for open the tree without disclosure Icon and also I merged the code for change the tree’s first folder.&lt;br /&gt;&lt;br /&gt;I give the coding below… &lt;br /&gt;&lt;br /&gt;You can use it.&lt;br /&gt;Thanks for &lt;a href=" http://blog.flexexamples.com"&gt;flexexamples&lt;/a&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt ?xml version="1.0" encoding="utf-8"?&amp;gt &lt;br /&gt;&amp;lt !-- http://blog.flexexamples.com/2008/04/05/opening-branches-by-clicking-rows-in-a-tree-control-in-flex/ --&amp;gt &lt;br /&gt;&amp;lt mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&lt;br /&gt;layout="vertical"&lt;br /&gt;verticalAlign="middle"&lt;br /&gt;backgroundColor="white"&amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt mx:Script&amp;gt &lt;br /&gt;&amp;lt ![CDATA[&lt;br /&gt;import mx.collections.ICollectionView;&lt;br /&gt;import mx.events.ListEvent;&lt;br /&gt;&lt;br /&gt;&amp;lt !----- Function to change the folder Icon of first node ----!&amp;gt &lt;br /&gt;[Embed("assets/folder_table.png")]&lt;br /&gt;private var FolderTableIcon:Class;&lt;br /&gt;&lt;br /&gt;private function init():void &lt;br /&gt;{&lt;br /&gt;var nodeOne:XML = xmlListColl.getItemAt(0) as XML;&lt;br /&gt;tree.setItemIcon(nodeOne, FolderTableIcon, FolderTableIcon);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&amp;lt !---Function for open the tree without disclosure Icon ---!&amp;gt &lt;br /&gt;private function tree_itemClick(evt:ListEvent):void {&lt;br /&gt;var item:Object = Tree(evt.currentTarget).selectedItem;&lt;br /&gt;if (tree.dataDescriptor.isBranch(item)) {&lt;br /&gt;tree.expandItem(item, !tree.isItemOpen(item), true);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private function tree_labelFunc(item:XML):String {&lt;br /&gt;var children:ICollectionView;&lt;br /&gt;var suffix:String = "";&lt;br /&gt;if (tree.dataDescriptor.isBranch(item)) {&lt;br /&gt;children = tree.dataDescriptor.getChildren(item);&lt;br /&gt;suffix = " (" + children.length + ")";&lt;br /&gt;}&lt;br /&gt;return item[tree.labelField] + suffix;&lt;br /&gt;}&lt;br /&gt;]]&amp;gt &lt;br /&gt;&amp;lt /mx:Script&amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt mx:XML id="dp"&amp;gt &lt;br /&gt;&amp;lt root&amp;gt &lt;br /&gt;&amp;lt folder label="One"&amp;gt &lt;br /&gt;&amp;lt folder label="One.A"&amp;gt &lt;br /&gt;&amp;lt item label="One.A.1" /&amp;gt &lt;br /&gt;&amp;lt item label="One.A.2" /&amp;gt &lt;br /&gt;&amp;lt item label="One.A.3" /&amp;gt &lt;br /&gt;&amp;lt item label="One.A.4" /&amp;gt &lt;br /&gt;&amp;lt item label="One.A.5" /&amp;gt &lt;br /&gt;&amp;lt /folder&amp;gt &lt;br /&gt;&amp;lt item label="One.1" /&amp;gt &lt;br /&gt;&amp;lt item label="One.2" /&amp;gt &lt;br /&gt;&amp;lt /folder&amp;gt &lt;br /&gt;&amp;lt folder label="Two"&amp;gt &lt;br /&gt;&amp;lt item label="Two.1" /&amp;gt &lt;br /&gt;&amp;lt folder label="Two.A"&amp;gt &lt;br /&gt;&amp;lt item label="Two.A.1" /&amp;gt &lt;br /&gt;&amp;lt item label="Two.A.2" /&amp;gt &lt;br /&gt;&amp;lt /folder&amp;gt &lt;br /&gt;&amp;lt /folder&amp;gt &lt;br /&gt;&amp;lt /root&amp;gt &lt;br /&gt;&amp;lt /mx:XML&amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt mx:Tree id="tree"&lt;br /&gt;dataProvider="{dp}"&lt;br /&gt;showRoot="false"&lt;br /&gt;labelField="@label"&lt;br /&gt;labelFunction="tree_labelFunc"&lt;br /&gt;width="300"&lt;br /&gt;rowCount="6"&lt;br /&gt;itemClick="tree_itemClick(event);" /&amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt /mx:Application&amp;gt &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can also download this coding from &lt;a href='http://www.mediafire.com/file/nhnjyq5qvly/Expand the tree without Disclosure Icon and change the tree Icons.docx'&gt;click here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Leave the  comments to Improve us….&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2031323822940287107?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2031323822940287107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/12/expand-tree-without-disclosure-icon-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2031323822940287107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2031323822940287107'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/12/expand-tree-without-disclosure-icon-and.html' title='Expand the tree without Disclosure Icon and change the tree Icons'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-655701227150092536</id><published>2009-12-25T00:14:00.000-08:00</published><updated>2009-12-25T00:19:00.579-08:00</updated><title type='text'>Happy X mas</title><content type='html'>Hello friends,&lt;br /&gt;&lt;br /&gt;Happy Christmas.And also I wish you the happy nw yaer.....&lt;br /&gt;&lt;br /&gt;This new year will bring you to the happiest moment .......&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-655701227150092536?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/655701227150092536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/12/happy-x-mas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/655701227150092536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/655701227150092536'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/12/happy-x-mas.html' title='Happy X mas'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2336165451630607603</id><published>2009-12-13T05:54:00.000-08:00</published><updated>2009-12-13T06:11:45.030-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Set maxLength Using Javascript</title><content type='html'>Hello friends,&lt;br /&gt;&lt;br /&gt;             Sometimes we need to set the maxlength for textbox or textarea depend upon the value selected.&lt;br /&gt;For example if you select the country then we need to set the zip code length depend upon the country.&lt;br /&gt;             If the country selection is depend upon the ajax it is easy to set the length.&lt;br /&gt;&lt;br /&gt;For example in US the zip code contain only 5 characters.But in india this going to be six.&lt;br /&gt;         It is simple and easiest way in the javascript.Set the maximum length by using the following code...&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;  &lt;br /&gt;document.getelementid('textbox1").maxLength=10&lt;br /&gt;&lt;/pre&gt;  &lt;br /&gt;&lt;a href='http://www.mediafire.com/?dmldzt2itiw'&gt;Click Here&lt;/a&gt; to download as PDF format..&lt;br /&gt;&lt;br /&gt;Leave the comment to improve us...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2336165451630607603?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2336165451630607603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/12/set-maxlength-using-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2336165451630607603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2336165451630607603'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/12/set-maxlength-using-javascript.html' title='Set maxLength Using Javascript'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-8616705642215734202</id><published>2009-12-05T06:27:00.000-08:00</published><updated>2009-12-05T06:28:34.337-08:00</updated><title type='text'>TechnoRati</title><content type='html'>This is a post for Technorati verification TW7YARVHC2ZT&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-8616705642215734202?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/8616705642215734202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/12/technorati.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8616705642215734202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8616705642215734202'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/12/technorati.html' title='TechnoRati'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2075788961052473945</id><published>2009-12-05T04:28:00.000-08:00</published><updated>2009-12-05T04:38:09.093-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Page redirection Using PHP</title><content type='html'>The simplest and easiest way is header redirection in PHP. &lt;br /&gt;&lt;br /&gt;The Header redirection has  the PHP following syntax.&lt;br /&gt;&lt;br /&gt;void header ( string $string [, bool $replace = true [, int $http_response_code ]] )&lt;br /&gt;&lt;br /&gt;Whenever you need to redirect the page you can use this.&lt;br /&gt;&lt;br /&gt;Today I need to solve the issue that contains this problem.&lt;br /&gt;&lt;br /&gt;        My situation is  when the user get the Message it will open in the Jquery Modal box with the button read and delete. When they get the popup and click the button it will redirect to the page with the url of ?MessageID=’something.’ &lt;br /&gt;&lt;br /&gt; Even if delete the message it will called in the ajax and the URL is NOT cleaned .Then after delete the ID also going to be cleared in Database. IF the user going to refresh after delete the message it gives the SQL error because of  there is no such a ID.&lt;br /&gt;&lt;br /&gt; In that situation I use the above header redirection. That is  I check whether the ID is NULL. If it is NULL then I redirect to the another URL.&lt;br /&gt;&lt;br /&gt; Otherwise I can do the Operation as Read a Message.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Leave the comments to improve ourself………….&lt;br /&gt;&lt;br /&gt;For more Information visit &lt;a href='http://php.net/manual/en/function.header.php'&gt;this site&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.mediafire.com/?k3mkn5mzgnm'&gt;Click Here&lt;/a&gt; to download as a PDF format&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2075788961052473945?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2075788961052473945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/12/page-redirection-using-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2075788961052473945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2075788961052473945'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/12/page-redirection-using-php.html' title='Page redirection Using PHP'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2281091776692067070</id><published>2009-12-03T23:40:00.000-08:00</published><updated>2010-11-29T23:10:32.110-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Concatenation in PHP</title><content type='html'>The easiest one operation in PHP is the concatenation operation.&lt;br /&gt;&lt;br /&gt;This is need only one dot operator for the concatenation .Whenever  we need the concatenation it tooks the simple dot and append the variable we need.&lt;br /&gt;&lt;br /&gt;The below code simply illustrates the two methods of Concatenation.&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt concatenation&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt ?&lt;br /&gt;$var1=' I am';&lt;br /&gt;$var2=' a';&lt;br /&gt;$var3=' boy';&lt;br /&gt;echo $var1.$var2.$var3;&lt;br /&gt;echo "&amp;lt br/ &amp;gt ";&lt;br /&gt;/************otherwise we can use like the below operation**************/&lt;br /&gt;$var4=' Hello ';&lt;br /&gt;$var4.='world';&lt;br /&gt;echo $var4;&lt;br /&gt;&lt;br /&gt;? &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Leave the comments to improve ourself…..&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.mediafire.com/file/tzznw0zlmn0/Concatenation.pdf'&gt;Click Here &lt;/a&gt; to download as PDF Format&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2281091776692067070?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2281091776692067070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/12/concatenation-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2281091776692067070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2281091776692067070'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/12/concatenation-in-php.html' title='Concatenation in PHP'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-688367508337488230</id><published>2009-11-30T19:35:00.000-08:00</published><updated>2010-11-29T23:11:16.316-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Connect to database using PHP</title><content type='html'>Connecting to the data base is the very effective and really needed one. Whenever  you going to perform the signup or other activities we need to update or insert the user activity to the databse.&lt;br /&gt;&lt;br /&gt;So the database connection playing vital role in website operations.&lt;br /&gt;&lt;br /&gt;So we need to connect our database for perform operation by using following code.&lt;br /&gt;&lt;br /&gt;It is really simple to connect the database,&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt ?php&lt;br /&gt;&lt;br /&gt;$con = mysql_connect("localhost","root","password");&lt;br /&gt;if (!$con)&lt;br /&gt;{&lt;br /&gt;die('Could not connect: ' . mysql_error());&lt;br /&gt;}&lt;br /&gt;mysql_select_db("database_name ", $con);&lt;br /&gt;&lt;br /&gt;? &amp;gt&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Put your password and database_ name to connect ..&lt;br /&gt;&lt;br /&gt;Leave the comments….It will help us to improve &lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.mediafire.com/?bzzoxz0ooyi'&gt;Click Here&lt;/a&gt; to download this article as PDF format&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-688367508337488230?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/688367508337488230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/connect-to-database-using-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/688367508337488230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/688367508337488230'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/connect-to-database-using-php.html' title='Connect to database using PHP'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-5700564149209136644</id><published>2009-11-30T00:04:00.000-08:00</published><updated>2010-11-29T23:12:04.897-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Page Redirection Using Jquery</title><content type='html'>Sometimes we need to redirect the page from the current page to another page.For example if the login is successful the we need to redirect into the Myprofile page or another page wherever you want.&lt;br /&gt;&lt;br /&gt;This is simple in Jquery.&lt;br /&gt;&lt;br /&gt;Like the javascript window.location.href here also we have the function to redirect.&lt;br /&gt;&lt;br /&gt;In the below example I illustrate the page redirection with simple button.If you want to make it depend upon user input in textbox there is also a code.For that you can simply remove the comment lines and use it.&lt;br /&gt;&lt;br /&gt;The code is given below&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt; !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &gt;&lt;br /&gt;&lt; xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt; equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt; src="jquery/jquery.js" type="text/javascript"&gt;&lt; /script &gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;$(document).ready(function(){&lt;br /&gt;$("#pageredirect").click(function()&lt;br /&gt;{&lt;br /&gt;/*Remove the comment line and put the comment line in var url="http://www.technotiger87.blogspot.com";*/&lt;br /&gt;/*It will redirect to the particular page given by user in text box*/&lt;br /&gt;//var url=$("#testing").val();&lt;br /&gt;&lt;br /&gt;var url = "http://www.technotiger87.blogspot.com"; &lt;br /&gt;$(location).attr('href',url);&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;});&lt;br /&gt;&lt; /script &gt;&lt;br /&gt;&lt; /head &gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt; !--Remove the below comment line when you want to enter the URL and redirect it-- &gt;&lt;br /&gt;&lt; !--Redirect Url:&lt; type="text" name="testing" id="testing"&gt;&lt;br /&gt;&lt; type="button" name="pageredirect" id="pageredirect" value="Redirect"&gt;&lt;br /&gt;&lt; /body &gt;&lt;br /&gt;&lt; /html &gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href='http://www.mediafire.com/file/jfzyjfdwhow/Page.pdf'&gt;click here&lt;/a&gt; to download at pdf format&lt;br /&gt;&lt;br /&gt;Leave the comments…&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-5700564149209136644?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/5700564149209136644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/page-redirection-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5700564149209136644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5700564149209136644'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/page-redirection-using-jquery.html' title='Page Redirection Using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-5502558979627487916</id><published>2009-11-25T02:36:00.000-08:00</published><updated>2010-11-29T23:12:50.558-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Decrypt MD5 using the following code in PHP</title><content type='html'>Most of us are known about encryption and decryption. Even though we known I give the small introduction about the encryption.&lt;br /&gt;&lt;br /&gt;Encryption is used to provide the security to the user. In this way we convert one type of text into another and those who are doesn’t know the decryption they doesn’t read the encryption text.&lt;br /&gt;&lt;br /&gt;The encryption is started in the old days. Not find out after the technical era.&lt;br /&gt;&lt;br /&gt;In this way we can say MD5 is the one way encryption and oesnt decrypt it.&lt;br /&gt;&lt;br /&gt;But the below code provide you to read the encrypted text. But  it is available only when small amount of text.&lt;br /&gt;&lt;br /&gt;If you find complex words please inform me to improve my knowledge.&lt;br /&gt;&lt;br /&gt;The code is shown below.&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt; !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &gt;&lt;br /&gt;&lt; xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt; equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;br /&gt;&lt;&gt; MD5Decryption&lt; /title &gt;&lt;br /&gt;&lt; /head &gt;&lt;br /&gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt; ?&lt;br /&gt;$hash = "202cb962ac59075b964b07152d234b70";&lt;br /&gt;$char[1] = "a";&lt;br /&gt;$char[2] = "b";&lt;br /&gt;$char[3] = "c";&lt;br /&gt;$char[4] = "d";&lt;br /&gt;$char[5] = "e";&lt;br /&gt;$char[6] = "f";&lt;br /&gt;$char[7] = "g";&lt;br /&gt;$char[8] = "h";&lt;br /&gt;$char[9] = "I";&lt;br /&gt;$char[10] = "j";&lt;br /&gt;$char[11] = "k";&lt;br /&gt;$char[12] = "l";&lt;br /&gt;$char[13] = "m";&lt;br /&gt;$char[14] = "and";&lt;br /&gt;$char[15] = "o";&lt;br /&gt;$char[16] = "p";&lt;br /&gt;$char[17] = "q";&lt;br /&gt;$char[18] = "are";&lt;br /&gt;$char[19] = "s";&lt;br /&gt;$char[20] = "t";&lt;br /&gt;$char[21] = "you";&lt;br /&gt;$char[22] = "v";&lt;br /&gt;$char[23] = "w";&lt;br /&gt;$char[24] = "x";&lt;br /&gt;$char[25] = "y";&lt;br /&gt;$char[26] = "z";&lt;br /&gt;$char[27] = "0";&lt;br /&gt;$char[28] = "1";&lt;br /&gt;$char[29] = "2";&lt;br /&gt;$char[30] = "3";&lt;br /&gt;$char[31] = "4";&lt;br /&gt;$char[32] = "5";&lt;br /&gt;$char[33] = "6";&lt;br /&gt;$char[34] = "7";&lt;br /&gt;$char[35] = "8";&lt;br /&gt;$char[36] = "9";&lt;br /&gt;$char[37] = "A";&lt;br /&gt;$char[38] = "B";&lt;br /&gt;$char[39] = "C";&lt;br /&gt;$char[40] = "D";&lt;br /&gt;$char[41] = "E";&lt;br /&gt;$char[42] = "F";&lt;br /&gt;$char[43] = "G";&lt;br /&gt;$char[44] = "H";&lt;br /&gt;$char[45] = "I";&lt;br /&gt;$char[46] = "J";&lt;br /&gt;$char[47] = "K";&lt;br /&gt;$char[48] = "L";&lt;br /&gt;$char[49] = "M";&lt;br /&gt;$char[50] = "and";&lt;br /&gt;$char[51] = "O";&lt;br /&gt;$char[52] = "P";&lt;br /&gt;$char[53] = "Q";&lt;br /&gt;$char[54] = "are";&lt;br /&gt;$char[55] = "S";&lt;br /&gt;$char[56] = "T";&lt;br /&gt;$char[57] = "you";&lt;br /&gt;$char[58] = "V";&lt;br /&gt;$char[59] = "W";&lt;br /&gt;$char[60] = "X";&lt;br /&gt;$char[61] = "Y";&lt;br /&gt;$char[62] = "Z";&lt;br /&gt;$top = count($char);&lt;br /&gt;For ($d = 0; $d &lt; = $top; $d++)&lt;br /&gt;{&lt;br /&gt;$ad = $ae.$char[$d];&lt;br /&gt;for ($c = 0; $c &lt; = $top; $c++)&lt;br /&gt;{&lt;br /&gt;$ac = $ad.$char[$c];&lt;br /&gt;for ($b = 0; $b &lt; = $top; $b++)&lt;br /&gt;{&lt;br /&gt;$ab = $ac.$char[$b];&lt;br /&gt;for ($a = 0; $a &lt; = $top; $a++)&lt;br /&gt;{&lt;br /&gt;$aa = $ab.$char[$a];&lt;br /&gt;if(md5($aa)==$hash)&lt;br /&gt;{&lt;br /&gt;die('Wachtwoord: '.$aa);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;Echo "Geen Result.";&lt;br /&gt;&lt;br /&gt;? &gt;&lt;br /&gt;&lt; /body &gt;&lt;br /&gt;&lt; /html &gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Please leave the comments…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click to &lt;a href='http://www.mediafire.com/file/5ykzyztnayy/Decrypt MD5 using the following code in PHP.doc'&gt; Download&lt;/a&gt; in the word format&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-5502558979627487916?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/5502558979627487916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/decrypt-md5-using-following-code-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5502558979627487916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/5502558979627487916'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/decrypt-md5-using-following-code-in-php.html' title='Decrypt MD5 using the following code in PHP'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-921929600581331737</id><published>2009-11-22T01:25:00.000-08:00</published><updated>2010-11-29T23:13:25.618-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Set the session Using Jquery</title><content type='html'>Sessions are playing vital role in the web development. Most of the time we need to set the session during development.&lt;br /&gt;&lt;br /&gt;For example when the user get the successful login we set the session Id or Cookie to track the user for the full of successful session.&lt;br /&gt;&lt;br /&gt;If we develop the code using Jquery we can create the session using Jqury session plugin. &lt;br /&gt;&lt;br /&gt;For that plugin you can download it from the following link&lt;br /&gt;&lt;br /&gt;http://code.google.com/p/jquery-session/downloads/list&lt;br /&gt;&lt;br /&gt;I used the version 0.3 in this example&lt;br /&gt;&lt;br /&gt;In this version there is also a JQuery, Json .Jquery.session is available.You can use it depend upon your meeds.&lt;br /&gt;&lt;br /&gt;The following PHP program set  the session  using Jquery&lt;br /&gt;&lt;pre class="prettyprint"&gt;&lt;br /&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Seesion Using Jquery&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript"  src="jquery/jquery.session.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" &amp;gt &lt;br /&gt;$(document).ready(function(){&lt;br /&gt;$.session("example","mysession");&lt;br /&gt;alert($.session("example"));&lt;br /&gt;});&lt;br /&gt;&amp;lt /script &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt !--Please Visit http://technotiger87.blogspot.com and leave the comments-- &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Use this and leave the comments&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-921929600581331737?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/921929600581331737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/set-session-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/921929600581331737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/921929600581331737'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/set-session-using-jquery.html' title='Set the session Using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-7279990379932709702</id><published>2009-11-19T23:30:00.000-08:00</published><updated>2009-11-19T23:31:51.205-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Tips'/><title type='text'>How to disable the outgoing calls eventhough there is balance</title><content type='html'>Whenever you going to give the mobile to your or well known person you get doubt whether they can make a call.&lt;br /&gt;&lt;br /&gt;Sometimes you cant told about don’t make a call. Because  it may totally broke the relationship.&lt;br /&gt;&lt;br /&gt;At that time you have simply change your settings and give the mobile. The settings we made doesn’t make any outgoing call. What do you change your setting?&lt;br /&gt;&lt;br /&gt;In Nokia  go to settings and then choose call settings and then go to send my caller identity and choose No in the  send my caller identity.&lt;br /&gt;&lt;br /&gt;Now make the call .The outgoing doesn’t enabled. And you can save the money and friendship.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you make the call it tolds only the network failure.&lt;br /&gt;&lt;br /&gt;Please leave comments&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-7279990379932709702?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/7279990379932709702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/how-to-disable-outgoing-calls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7279990379932709702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/7279990379932709702'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/how-to-disable-outgoing-calls.html' title='How to disable the outgoing calls eventhough there is balance'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-6786118919575454037</id><published>2009-11-18T05:48:00.000-08:00</published><updated>2010-11-29T23:14:24.882-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Text box allow only the numbers by using Jquery</title><content type='html'>Today I need a coding for text box only allow the numbers. I got the script from the net. Here I  am going to present for www.scribd.com users.&lt;br /&gt;&lt;br /&gt;The coding shows below…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HTML coding..&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt&lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml"&amp;gt&lt;br /&gt;&amp;lt head&amp;gt&lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&amp;gt&lt;br /&gt;&amp;lt title&amp;gtUntitled Document&amp;lt/title&amp;gt&lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery.js"&amp;gt&amp;lt/script&amp;gt&lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jqueryvalid.js"&amp;gt&amp;lt/script&amp;gt&lt;br /&gt;&amp;lt/head&amp;gt&lt;br /&gt;&amp;lt body&amp;gt&lt;br /&gt;&amp;lt input type="text" name="quantity" id="quantity" /&amp;gt &lt;br /&gt;&amp;lt/body&amp;gt&lt;br /&gt;&amp;lt/html&amp;gt&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Before going to run the code please note I include the jquery.js. This is the file you can get from http://jquery.com/ .before the jquery/jquery.js  here jqurey is the folder name you can write as username/jquery.js  or else what you wish.. &lt;br /&gt;&lt;br /&gt;Then in next I include another javascript file  named jqueryvalid.js.Here you need to write the jqueryvalid.js in the jquery folder.&lt;br /&gt;&lt;br /&gt;jqueryvalid.js ……&lt;br /&gt;&lt;pre class="prettyprint"&gt;$(document).ready(function(){&lt;br /&gt;&lt;br /&gt;$("#quantity").keypress(function (e){&lt;br /&gt;if( e.which!=8 &amp;&amp; e.which!=0 &amp;&amp; (e.which&lt;48 || e.which&gt;57))&lt;br /&gt;{&lt;br /&gt;//display error message&lt;br /&gt;$("#errmsg").html("Digits Only").show().fadeOut("slow"); &lt;br /&gt;return false;&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Whenever the key pressed within the textbox it is checked ASCII character for whwther is it number or alphabet. If alphabet it wont be allowed to enter.&lt;br /&gt;&lt;br /&gt;It is really  useful for validation…&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-6786118919575454037?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/6786118919575454037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/text-box-allow-only-numbers-by-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6786118919575454037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6786118919575454037'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/text-box-allow-only-numbers-by-using.html' title='Text box allow only the numbers by using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-644503961555358349</id><published>2009-11-18T05:46:00.000-08:00</published><updated>2010-11-29T23:15:34.985-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Hide a Table Column Using Jquery</title><content type='html'>Today I need a coding for hide table column in a table. Here I  am going to present for our blog  users.&lt;br /&gt;&lt;br /&gt;The coding shows below…&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HTML coding..&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt&lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml"&amp;gt&lt;br /&gt;&amp;lt head&amp;gt&lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&amp;gt&lt;br /&gt;&amp;lt title&amp;gtUntitled Document&amp;lt/title&amp;gt&lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery.js"&amp;gt&amp;lt/script&amp;gt&lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/hidetable.js"&amp;gt&amp;lt/script&amp;gt&lt;br /&gt;&lt;br /&gt;&amp;lt/head&amp;gt&lt;br /&gt;&lt;br /&gt;&amp;lt body&amp;gt&lt;br /&gt;&amp;lt table&amp;gt&lt;br /&gt;&amp;lt tr&amp;gt&lt;br /&gt;&amp;lt td&amp;gt&lt;br /&gt;&amp;lt input type="radio" id="radiobtn" name="radiobtn" value="1"/ &amp;gt Show Table column&amp;ltbr/&amp;gt&lt;br /&gt;&amp;lt input type="radio" id="radiobtn" name="radiobtn" value="2"/ &amp;gt Show Table column&amp;ltbr/&amp;gt&lt;br /&gt;&amp;lt input type="radio" id="radiobtn" name="radiobtn" value="3"/ &amp;gt Hide Table Column&amp;ltbr/&amp;gt&lt;br /&gt;&amp;lt/td&amp;gt&lt;br /&gt;&amp;lt td id="hidecolumn"&amp;gt&lt;br /&gt;&amp;lt input type="checkbox" name="checkme" id="checkme"/&amp;gt Check me&lt;br /&gt;&amp;lt input type="text" name="entertext" id="entertext"/&amp;gt I am Text box&lt;br /&gt;&amp;lt/td&amp;gt&lt;br /&gt;&amp;lt tr&amp;gt&lt;br /&gt;&amp;lt/table&amp;gt&lt;br /&gt;&amp;lt/body&amp;gt&lt;br /&gt;&amp;lt/html&amp;gt&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Before going to run the code please note I include the jquery.js. This is the file you can get from http://jquery.com/ .before the jquery/jquery.js  here jqurey is the folder name you can write as username/jquery.js  or else what you wish.. &lt;br /&gt;&lt;br /&gt;Then in next I include another javascript file  named jqueryvalid.js.Here you need to write the jqueryvalid.js in the jquery folder.&lt;br /&gt;&lt;br /&gt;jqueryvalid.js ……&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;$(document).ready(function(){&lt;br /&gt;$("input:radio[name='radiobtn']").click(function() {&lt;br /&gt;var isDisabled = $(this).is(":checked") &amp;&amp; $(this).val() == "3";&lt;br /&gt;if(isDisabled==true)&lt;br /&gt;{&lt;br /&gt;$("#hidecolumn").hide();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;$("#hidecolumn").show();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Use this and leave the comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-644503961555358349?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/644503961555358349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/hide-table-column-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/644503961555358349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/644503961555358349'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/hide-table-column-using-jquery.html' title='Hide a Table Column Using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-6002681362176064495</id><published>2009-11-18T05:42:00.000-08:00</published><updated>2010-11-29T23:16:17.115-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Get the dropdown value using Jquery</title><content type='html'>Today I am going to tell you how to get the dropdown value when the user clicks on it. It sometimes very much useful to get the value and stored it on database.&lt;br /&gt;&lt;br /&gt;For example you may use the time zone or anything.At that time it provides more helpful to you.&lt;br /&gt;&lt;br /&gt;Even this is going to be small thing it helps a lot.&lt;br /&gt;&lt;br /&gt;Here the HTML code is displayed…&lt;br /&gt;&lt;pre class="prettyprint"&gt;;"&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Untitled Document&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/getdropdownvalue.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt select name="getdropdown" id="getdropdown" &amp;gt &lt;br /&gt;&amp;lt option value="1" &amp;gt Trial  1&amp;lt /option &amp;gt &lt;br /&gt;&amp;lt option value="2" &amp;gt Trial  2&amp;lt /option &amp;gt &lt;br /&gt;&amp;lt option value="2" &amp;gt Trial  3&amp;lt /option &amp;gt &lt;br /&gt;&amp;lt option value="2" &amp;gt Trial  4&amp;lt /option &amp;gt &lt;br /&gt;&amp;lt option value="2" &amp;gt Trial  5&amp;lt /option &amp;gt &lt;br /&gt;&amp;lt option value="2" &amp;gt Trial  6&amp;lt /option &amp;gt &lt;br /&gt;&amp;lt /select &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The Jquery will be coded below as…&lt;br /&gt;&lt;pre class="prettyprint"&gt;$(document).ready(function(){&lt;br /&gt;&lt;br /&gt;$("#getdropdown").change(function() {&lt;br /&gt;var trial=$("#getdropdown option:selected").text();&lt;br /&gt;alert(trial);&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;});&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here getdropdown  is the ID of dropdown box&lt;br /&gt;&lt;br /&gt;You can put val() instead of text() you get the dropdown value&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-6002681362176064495?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/6002681362176064495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/get-dropdown-value-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6002681362176064495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/6002681362176064495'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/get-dropdown-value-using-jquery.html' title='Get the dropdown value using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-3539890331321034371</id><published>2009-11-17T23:56:00.000-08:00</published><updated>2010-11-29T23:17:18.686-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jquery'/><title type='text'>Create a cookie using Jquery</title><content type='html'>Today I told you the fact creating cookie.Creating cookie is often we need when we develop the site.&lt;br /&gt;&lt;br /&gt;Here I told you how to create a cookie .&lt;br /&gt;&lt;br /&gt;Creating a cookie in Jquery is very simple than other languages.But for creating a cookie you need the plugin   you can download it from the following link.&lt;br /&gt;&lt;br /&gt;http://plugins.jquery.com/files/jquery.cookie.js.txt&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Untitled Document&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/jquery.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" src="jquery/cookie.js" &amp;gt &amp;lt /script &amp;gt &lt;br /&gt;&amp;lt script type="text/javascript" &amp;gt &lt;br /&gt;$(document).ready(function(){&lt;br /&gt;$.cookie("example","mycookie");&lt;br /&gt;});&lt;br /&gt;&amp;lt /script &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt ?php echo $_COOKIE["example"];? &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Run the above code will give result of  cookie value. The &lt;br /&gt;&lt;pre class="prettyprint"&gt;$.cookie("example","mycookie");&lt;br /&gt;&lt;/pre&gt; means example give name to cookie,mycookie is the value&lt;br /&gt;&lt;br /&gt;My cookie is printed on the page.&lt;br /&gt;&lt;br /&gt;You can delete the cookie by&lt;br /&gt;&lt;pre class="prettyprint"&gt;$.cookie("example", null);&lt;br /&gt;&lt;/pre&gt;Create the cookie with expiration &lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;$.cookie("example", "foo", { expires: 7 });&lt;br /&gt;&lt;/pre&gt;Please leave the comments&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-3539890331321034371?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/3539890331321034371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/create-cookie-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3539890331321034371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/3539890331321034371'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/create-cookie-using-jquery.html' title='Create a cookie using Jquery'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-1377268734540411777</id><published>2009-11-17T03:14:00.000-08:00</published><updated>2010-11-29T23:17:54.461-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Click on the text for select the radio button</title><content type='html'>Some times we need to make the radio button going to be selected whenever the text near to the radio button is clicked.&lt;br /&gt;&lt;br /&gt;For this kind of program we doesn’t need any javascript or anything. Even we doesn’t need the form.&lt;br /&gt;&lt;br /&gt;The following example shows that method.&lt;br /&gt;&lt;br /&gt;Use this code and leave the comments&lt;br /&gt;&lt;pre class="prettyprint"&gt;&amp;lt !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &amp;gt &lt;br /&gt;&amp;lt html xmlns="http://www.w3.org/1999/xhtml" &amp;gt &lt;br /&gt;&amp;lt head &amp;gt &lt;br /&gt;&amp;lt meta http-equiv="Content-Type" content="text/html; charset=utf-8" / &amp;gt &lt;br /&gt;&amp;lt title &amp;gt Untitled Document&amp;lt /title &amp;gt &lt;br /&gt;&amp;lt /head &amp;gt &lt;br /&gt;&lt;br /&gt;&amp;lt body &amp;gt &lt;br /&gt;&amp;lt p &amp;gt Try clicking on the text labels:&amp;lt /p &amp;gt &lt;br /&gt;&amp;lt input type="radio" name="sex" id="male" / &amp;gt &amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt label for="male" &amp;gt Male&amp;lt /label &amp;gt &lt;br /&gt;&amp;lt br / &amp;gt &lt;br /&gt;&amp;lt input type="radio" name="sex" id="female" / &amp;gt &amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;lt label for="female" &amp;gt Female&amp;lt /label &amp;gt &lt;br /&gt;&amp;lt /body &amp;gt &lt;br /&gt;&amp;lt /html &amp;gt &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note the above code  name contain the same name for both label.But the id contain different name.So using that we can perform the function.&lt;br /&gt;&lt;br /&gt;Use it and leave the comments to improve …&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-1377268734540411777?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/1377268734540411777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/click-on-text-for-select-radio-button.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1377268734540411777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/1377268734540411777'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/click-on-text-for-select-radio-button.html' title='Click on the text for select the radio button'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-2296487440981647156</id><published>2009-11-16T20:16:00.000-08:00</published><updated>2010-11-29T23:18:47.126-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Avoid the errors in the PHP</title><content type='html'>Sometimes we need to avoid the warnings in the PHP. We know very well these warnings doesn’t need to take care. These kind of we need to use one PHP function.&lt;br /&gt;&lt;br /&gt;It doesn’t display any Errors on the page. Be careful to using this kind of function.&lt;br /&gt;&lt;br /&gt;The below example illustrate how to avoid errors,&lt;br /&gt;&lt;br /&gt;Include the below lines into the Container file where the error coming from&lt;br /&gt;&lt;br /&gt;&lt;pre class="prettyprint"&gt;php ini_set('display_errors',0)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When using this the errors doesn’t display on the page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-2296487440981647156?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/2296487440981647156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/avoid-errors-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2296487440981647156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/2296487440981647156'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/avoid-errors-in-php.html' title='Avoid the errors in the PHP'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-237291747606225342</id><published>2009-11-06T06:04:00.000-08:00</published><updated>2010-11-29T23:21:52.874-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='URL Rewriting'/><title type='text'>URL Rewriting</title><content type='html'>Sometimes you may be seen the URL doesn’t have the extensions like .php, .html, .asp or anything else.&lt;br /&gt;Because they are aware of SEO and the security .Before going to the URL rewrite we see the small introduction of SEO.&lt;br /&gt;&lt;br /&gt;What is SEO?&lt;br /&gt;&lt;br /&gt;1. SEO stands for Search Engine Optimization.&lt;br /&gt;2. If you don’t know about SEO what do you first do?&lt;br /&gt;3. Go for the Google or other search engines then type SEO and press enter. It provides the millions and millions of WebPages&lt;br /&gt;4. But you read only the first few pages or first page alone.&lt;br /&gt;5. So the website owners work hard to publish their pages in the first few pages.&lt;br /&gt;6. What are the advantages for them?&lt;br /&gt;7. They got advertising through the page rank. So they earn the lot.&lt;br /&gt;8. For this purpose we go for the url rewriting.&lt;br /&gt;&lt;br /&gt;URL rewriting in PHP&lt;br /&gt;&lt;br /&gt;For this you need to run in the linux server.&lt;br /&gt;&lt;br /&gt;Step 1:Create the file using notepad or wordpad with extension “.htaccess”.It must be accurate.&lt;br /&gt;Step 2:save in the root directory.&lt;br /&gt;Step 3:create the PHP file&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;span style="font-weight: bold;"&gt;&lt; !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" &gt;&lt;br /&gt;&lt; xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt; equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;br /&gt;&lt;&gt; Trial&lt; /title &gt;&lt;br /&gt;&lt; ?php&lt;br /&gt;$_GET;&lt;br /&gt;? &gt;&lt;br /&gt;&lt; /head &gt;&lt;br /&gt;&lt;br /&gt;&lt;&gt;&lt;br /&gt;&lt;br /&gt;&lt;&gt; &lt;&gt;&lt;br /&gt;&lt; href="Ajaxhelper"&gt; Test This &lt; /a &gt; &lt;&gt; &lt;&gt;&lt;br /&gt;&lt; href="PHP"&gt;  I am going to test &lt; /a &gt; &lt;&gt; &lt;&gt;&lt;br /&gt;&lt; href="Ajax"&gt; Then  &lt; /a &gt; &lt;&gt; &lt;&gt;&lt;br /&gt;&lt; href="Java1234"&gt;  Watch  &lt; /a &gt; &lt;&gt; &lt;&gt;&lt;br /&gt;&lt; href="pg123"&gt;  The&lt; /a &gt; &lt;&gt; &lt;&gt;&lt;br /&gt;&lt; href="1234"&gt;   URL &lt; /a &gt;&lt;br /&gt;&lt; /body &gt;&lt;br /&gt;&lt; /html &gt; &lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then Create the .htaccess file&lt;br /&gt;&lt;br /&gt;Options +FollowSymlinks&lt;br /&gt;RewriteEngine On&lt;br /&gt;# Prevent Directory Listing&lt;br /&gt;Options -Indexes&lt;br /&gt;RewriteRule ^([a-z0-9A-Z]+)/?$ index.php?a=$1 [QSA]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How it runs?&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• RewriteRule - Tells Apache that this like refers to a single RewriteRule.&lt;br /&gt;• RewriteEngine On- # Turn on the rewriting engine&lt;br /&gt;• # - Command Line&lt;br /&gt;• Options +FollowSymlinks – It is an optional&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Don’t forget to put $_GET on the PHP file.If you don’t put it it wont be run. Please try it and leave comments…&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-237291747606225342?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/237291747606225342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/url-rewriting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/237291747606225342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/237291747606225342'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/url-rewriting.html' title='URL Rewriting'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4415852579837187701.post-8490011442378128858</id><published>2009-11-06T06:01:00.000-08:00</published><updated>2009-11-06T06:04:17.240-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><title type='text'>Declare the variable globally in Java script</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CNeemdev%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;Today I am facing the problem of get the value from the variable that declared inside the function. But I need to get that value from outside of the function.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;For that we need th declare the variable globally is the best way of doing program.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;In Java script&lt;span style=""&gt;  &lt;/span&gt;it is simple technique to globally declare the variable.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;How can you declare the variable globally?&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Is we need to put global infront of that.No…&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;See the following program…..&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p style="font-weight: bold;" class="MsoNormal"&gt;Function1()&lt;/p&gt;  &lt;p style="font-weight: bold;" class="MsoNormal"&gt;{&lt;/p&gt;  &lt;p style="font-weight: bold;" class="MsoNormal"&gt;Var&lt;span style=""&gt;  &lt;/span&gt;myname;//declared globally&lt;/p&gt;  &lt;p style="font-weight: bold;" class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; font-weight: bold;"&gt;Function2()&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; font-weight: bold;"&gt;{&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; font-weight: bold;"&gt;Var myaddress;//with in the function&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; font-weight: bold;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; font-weight: bold;"&gt;Myname//access in this function&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; font-weight: bold;"&gt;}&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 2in; font-weight: bold;"&gt;Function3()&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 2in; font-weight: bold;"&gt;{&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 2in; font-weight: bold;"&gt;Myname;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 2in; font-weight: bold;"&gt;}&lt;/p&gt;  &lt;p style="font-weight: bold;" class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p style="font-weight: bold;" class="MsoNormal"&gt;}&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;When accessing the global variable don’t put var within the function…&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Read and use it.Leave the comments for improvements…&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4415852579837187701-8490011442378128858?l=technotiger87.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technotiger87.blogspot.com/feeds/8490011442378128858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://technotiger87.blogspot.com/2009/11/declare-variable-globally-in-java.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8490011442378128858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4415852579837187701/posts/default/8490011442378128858'/><link rel='alternate' type='text/html' href='http://technotiger87.blogspot.com/2009/11/declare-variable-globally-in-java.html' title='Declare the variable globally in Java script'/><author><name>technotiger</name><uri>http://www.blogger.com/profile/07572281313401107498</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
