<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Roshan Bhattarai's Blog -  A blog about PHP, Ajax, JavaScript, CSS and Web 2.0</title>
	
	<link>http://roshanbh.com.np</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<pubDate>Fri, 08 Aug 2008 09:02:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/phpajaxguru" type="application/rss+xml" /><feedburner:emailServiceId>1456759</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fphpajaxguru" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fphpajaxguru" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fphpajaxguru" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.rojo.com/add-subscription?resource=http%3A%2F%2Ffeeds.feedburner.com%2Fphpajaxguru" src="http://blog.rojo.com/RojoWideRed.gif">Subscribe with Rojo</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/phpajaxguru" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fphpajaxguru" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fphpajaxguru" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fphpajaxguru" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:browserFriendly>Please choose the appropriate feed reader.</feedburner:browserFriendly><item>
		<title>Useful flash Components for your website</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/359256358/useful-flash-components.html</link>
		<comments>http://roshanbh.com.np/2008/08/useful-flash-components.html#comments</comments>
		<pubDate>Fri, 08 Aug 2008 09:02:46 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[website review]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=209</guid>
		<description><![CDATA[Today again, I&#8217;m going to talk about another website which might be very useful for the web developers  who use flash in their web application to add more interactivity to their web applications.  Flashloaded.com contains huge list of useful flash components and extension. You can buy these flash components from their website with reasonable price [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Useful+flash+Components+for+your+website&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F08%2Fuseful-flash-components.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Today again, I&#8217;m going to talk about another website which might be very useful for the web developers  who use flash in their web application to add more interactivity to their web applications.  Flashloaded.com contains huge list of useful <a href="http://www.flashloaded.com">flash</a> components and extension. You can buy these flash components from their website with reasonable price and even you can get few components at free of cost. Most interestingly, to use these components in flash you require very little or no coding.</p>
<p><span id="more-209"></span></p>
<p style="text-align: justify;">These <a href="http://www.flashloaded.com">flash components</a> are used for extending the functionality of flash. These flash components or flash extension<a href="http://www.flashloaded.com">s</a> are installed in Flash Authoring environment(IDE).</p>
<h4>Various Flash Components</h4>
<p style="text-align: justify;">Flashloaded.com has varieties of flash components divided in various categories like Menus, CMS, sounds and effects, charts etc. These exclusive collections of flash components or extensions can be useful to you for adding more visualization, effects and interactivity to your web based projects.</p>
<p style="text-align: justify;">Now, I&#8217;m going to talk about few flash components from their website which I liked during my browsing to that website.</p>
<h4>3D Menus Component</h4>
<p>You can view the demo of 3D menu <a href="http://www.flashloaded.com">flash components</a> in their website. You can different kind of 3D fancy in their website menu available at reasonable price. Once you buy them, you can easily create fancy menus with a very little code in your web application.</p>
<h4>Hotflashvideo extension</h4>
<p>Another very useful flash extension, which might be handy tool if you&#8217;re going to build a community based website or video portal. This extension allows you to easily add interactive hotspots to your Flash Video without embedding a heavy .flv into your SWF file. You can view the demo of hotstop and this extension from here.</p>
<p><a href="http://www.flashloaded.com/flashcomponents/hotflashvideo/example1.html" target="_blank">http://www.flashloaded.com/flashcomponents/hotflashvideo/example1.html </a></p>
<p>If you click on the man in the video, you&#8217;ll see the detail of that person in the right hand side. Isn&#8217;t this a cool component?</p>
<h4>Try Free  Components</h4>
<p>Even flashloaded.com is providing some of the components at free of cost. You can download and use them in your project. Why don&#8217;t you try and use these free flash components from flashloaded.com?</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=H88cUK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=H88cUK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=7KyLik"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=7KyLik" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=XFkK4k"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=XFkK4k" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=6fY5vK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=6fY5vK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=nCOO7K"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=nCOO7K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=uV5iAk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=uV5iAk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/359256358" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/08/useful-flash-components.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/08/useful-flash-components.html</feedburner:origLink></item>
		<item>
		<title>Freeiconsdownloads.com : Free high quality Icons</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/357295419/free-high-quality-icon-sets.html</link>
		<comments>http://roshanbh.com.np/2008/08/free-high-quality-icon-sets.html#comments</comments>
		<pubDate>Wed, 06 Aug 2008 10:37:21 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[website review]]></category>

		<category><![CDATA[free icon]]></category>

		<category><![CDATA[icons]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=207</guid>
		<description><![CDATA[Today, I was searching for free icons for a website. And, I found a very useful website freeiconsdownloads.com. Free Icons Downloads offer over 230 high quality Royalty Free Icons sets. The best thing about them is all the Icon-set displayed in their website is free to download.You know many of similar kind of website offers [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Freeiconsdownloads.com+%3A+Free+high+quality+Icons&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F08%2Ffree-high-quality-icon-sets.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Today, I was searching for free icons for a website. And, I found a very useful website <a href="http://www.freeiconsdownload.com/" target="_blank">freeiconsdownloads.com</a>. Free Icons Downloads offer over 230 high quality Royalty Free Icons sets. The best thing about them is all the Icon-set displayed in their website is free to download.You know many of similar kind of website offers high quality icons but you&#8217;ve to spend some money for this which you&#8217;ve not do in this website.</p>
<p><span id="more-207"></span></p>
<pre><a title="Free Icon Donwloads" href="http://www.freeiconsdownload.com" target="_blank"><img src="http://www.freeiconsdownload.com/images/fid.jpg" border="0" alt="" /></a></pre>
<h4>Icons divided in Various Category</h4>
<p style="text-align: justify;">There are more than 15 categories under which icons are categorized in <a href="http://www.freeiconsdownload.com" target="_blank">Free Icons Download</a>. So it will be easy for you to find the icon of certain category of your choice. Furthermore, you can browser the icon-sets by various options such as <strong>Latest</strong>, <strong>Most Downloads</strong>, <strong>Most Populars</strong> .</p>
<h4>Useful Icons</h4>
<p>Whenever I need icons for me, my first choice is Freeiconsdownloads as they have exclusive collections of useful items icons divided under various category. You can find the icons in that website easily navigating from different category.</p>
<h4>Other free designing Stuff</h4>
<p>Including free Icons,Freeiconsdownload has many other free designing stuffs like free banners, free logos and designs and interfaces. You can browser all these other free designing stuffs from the right sider bar of their website.</p>
<p>Have look at <a href="http://www.freeiconsdownload.com/" target="_blank">freeiconsdownloads.com</a> , it very useful website for for designing stuffs which you may need on your daily works.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=qF1LUK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=qF1LUK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=sPxbOk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=sPxbOk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=a3Cpfk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=a3Cpfk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=EowvGK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=EowvGK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=eK6SkK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=eK6SkK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=xaTrDk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=xaTrDk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/357295419" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/08/free-high-quality-icon-sets.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/08/free-high-quality-icon-sets.html</feedburner:origLink></item>
		<item>
		<title>Increase the feedburner’s feedcount with simple hack</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/355574999/increase-the-feedburners-feedcount-easily.html</link>
		<comments>http://roshanbh.com.np/2008/08/increase-the-feedburners-feedcount-easily.html#comments</comments>
		<pubDate>Mon, 04 Aug 2008 18:29:46 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[blogs]]></category>

		<category><![CDATA[feedburner]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=205</guid>
		<description><![CDATA[Wish this tips could have known to me few days back then I could have been the blogging idol organized by dailyblogtips.com.It will take just 5 minute to hack the stat of feedburner&#8217;s feedcount. And you can do it very easily. Just watch this video from Joop Dorresteijn from thenextweb.org. You are just one day [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Increase+the+feedburner%26%238217%3Bs+feedcount+with+simple+hack&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F08%2Fincrease-the-feedburners-feedcount-easily.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Wish this tips could have known to me few days back then I could have been the blogging idol organized by dailyblogtips.com.It will take just 5 minute to hack the stat of feedburner&#8217;s feedcount. And you can do it very easily. Just watch this video from <a href="http://thenextweb.org/2008/08/04/feedburner-hack-how-to-get-2500-subscribers-overnight-video/" target="_blank">Joop Dorresteijn</a> from thenextweb.org. You are just one day from adding hundreds and thousand subscribers.Why don&#8217;t you increase the feedburner&#8217;s feedcount stat and get high ranking in  the sites like reviewme.com and start promoting your blog.</p>
<p><span id="more-205"></span><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="251" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.vimeo.com/moogaloop.swf?clip_id=1463913&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="251" src="http://www.vimeo.com/moogaloop.swf?clip_id=1463913&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=oRuXDK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=oRuXDK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=5bsJVk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=5bsJVk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=xkI4Kk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=xkI4Kk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=dmBVVK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=dmBVVK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=7NDOzK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=7NDOzK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=x6ZiTk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=x6ZiTk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/355574999" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/08/increase-the-feedburners-feedcount-easily.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/08/increase-the-feedburners-feedcount-easily.html</feedburner:origLink></item>
		<item>
		<title>How to display pop-up message on mouse clicked position using jQuery</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/355482434/pop-up-message-mouse-clicked-position-jquery.html</link>
		<comments>http://roshanbh.com.np/2008/08/pop-up-message-mouse-clicked-position-jquery.html#comments</comments>
		<pubDate>Mon, 04 Aug 2008 16:39:20 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[message box]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=203</guid>
		<description><![CDATA[<script type="text/javascript">dzone_url = "http://roshanbh.com.np/2008/08/pop-up-message-mouse-clicked-position-jquery.html";</script>var dzone_style="2";Yesterday, my friend Sujit asked me how can we get the mouse clicked position and display the pop-up message in that mouse clicked position using jQuery.Today, I&#8217;ve come up with the tutorial for the solution of this problem. In this tutorial, you&#8217;ll see how to display the pop-up message in mouse clicked position using [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=How+to+display+pop-up+message+on+mouse+clicked+position+using+jQuery&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F08%2Fpop-up-message-mouse-clicked-position-jquery.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<script type="text/javascript">dzone_url = "http://roshanbh.com.np/2008/08/pop-up-message-mouse-clicked-position-jquery.html";</script><script>var dzone_style="2";</script><script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script><p style="text-align: justify;">Yesterday, my friend <a href="http://sks.com.np" target="_blank">Sujit</a> asked me how can we get the mouse clicked position and display the pop-up message in that mouse clicked position using jQuery.Today, I&#8217;ve come up with the tutorial for the solution of this problem. In this tutorial, you&#8217;ll see how to display the pop-up message in mouse clicked position using jQuery. When you click the mouse in any position of document, the pop-up message gets displayed with the mouse position around the middle part of the pop-up message.</p>
<p><span id="more-203"></span></p>
<p style="text-align: justify;"><a href="http://roshanbh.com.np/examples/popup-message/" target="_blank"><strong>Live Demo</strong></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://roshanbh.com.np/codes/popup-message.zip"><strong>Download Full Source Code</strong></a></p>
<h4>HTML code to display pop-up message on mouse clicked position</h4>
<pre class="prettyprint" style="overflow:auto ">&lt;div id="popuup_div" class="popup_msg"&gt;
   ....you can write the mssage here...
&lt;/div&gt;</pre>
<p style="text-align: justify;">As you can above, the element displaying pop-up message is defined with the id &#8220;<span style="color: #000080;">popup_div</span>&#8221; and class of this element is &#8220;<span style="color: #000080;">popup_msg</span>&#8220;. You can write your custom message inside that div.</p>
<h4>CSS code to display pop-up message on mouse clicked position</h4>
<pre style="border: 1px solid #888888; padding: 2px"><span style="color: #ff00ff;">.popup_msg{</span>
<span style="color: #333399;">position:absolute;
z-index:10;
width:172px;
height:102px;
text-align:center;
color:#FF0000;
font: 14px Verdana, Arial, Helvetica, sans-serif;
background:url(bg_image.gif) bottom right no-repeat;
display:none;</span>
<span style="color: #ff00ff;">}</span></pre>
<p style="text-align: justify;">The above CSS attribute is straightforward and you can change the attribute according to your requirement. But remember that, the <span style="color: #000080;">position</span> attribute should be set to <span style="color: #000080;">absolute</span> value and <span style="color: #000080;">z-index</span> should be greater than the other element&#8217;s z-index. Furthermore, the width and height attribute must be set according to the background image of pop-up message.</p>
<h4>JavaScript ( jQuery ) code for displaying pop-up message</h4>
<pre class="prettyprint" style="overflow:auto ">$(document).click(function(e)
{
  //getting height and width of the message box
  var height = $('#popuup_div').height();
  var width = $('#popuup_div').width();
  //calculating offset for displaying popup message
  leftVal=e.pageX-(width/2)+"px";
  topVal=e.pageY-(height/2)+"px";
  //show the popup message and hide with fading effect
  $('#popuup_div').css({left:leftVal,top:topVal}).show().fadeOut(1500);
});</pre>
<p style="text-align: justify;">As the above code is well document. I&#8217;m just going to give you the brief description. First of all, we took the height and width of the pop-up element. After that, we&#8217;ve calculated the <span style="color: #000080;">left</span> and <span style="color: #000080;">top</span> offset of element so that it gets displayed with the mouse position is around in it&#8217;s middle part. of the element With the last  line of jQuery code, pop-up message&#8217;s left and top position is set and displayed. This pop-up message gets hidden with fading effect with the <span style="color: #000080;">fadeOut()</span> function of jQuery.</p>
<p style="text-align: justify;"><a href="http://roshanbh.com.np/examples/popup-message/" target="_blank"><strong>Live Demo</strong></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://roshanbh.com.np/codes/popup-message.zip"><strong>Download Full Source Code</strong></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=WMpvPK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=WMpvPK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=UZWq3k"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=UZWq3k" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=Rq9mSk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=Rq9mSk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=5Z8EDK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=5Z8EDK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=CRgs7K"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=CRgs7K" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=86fnQk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=86fnQk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/355482434" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/08/pop-up-message-mouse-clicked-position-jquery.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/08/pop-up-message-mouse-clicked-position-jquery.html</feedburner:origLink></item>
		<item>
		<title>CRM software solutions for your business</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/354559728/crm-software-solutions-for-your-business.html</link>
		<comments>http://roshanbh.com.np/2008/08/crm-software-solutions-for-your-business.html#comments</comments>
		<pubDate>Sun, 03 Aug 2008 18:05:38 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[website review]]></category>

		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=200</guid>
		<description><![CDATA[Customers are the backbone of business. &#8220;Maintain the old customers and get the new customers&#8221; is the basic logic behind the successful business.So, CRM (Customer Relationship Management) is the vital component of your business and you should always manage good relationship with customer for the continuous growth of your business. For this, CRM software or [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=CRM+software+solutions+for+your+business&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F08%2Fcrm-software-solutions-for-your-business.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Customers are the backbone of business. &#8220;<strong>Maintain the old customers and get the new customers</strong>&#8221; is the basic logic behind the successful business.So, <strong>CRM</strong> (Customer Relationship Management) is the vital component of your business and you should always manage good relationship with customer for the continuous growth of your business. For this, CRM software or sales automation software is used to support these processes by storing and managing information of customers and future customers.</p>
<p style="text-align: justify;"><span id="more-200"></span></p>
<p style="text-align: justify;">If you want to manage the good relationship with customers  of your business and gain more customers then you can check the <a href="http://www.cis-group.com/en/index.php">sales automation software</a> from CIS group - Sales Companion. As mentioned in their site, with the help of latest mobile technology Sales Companion allows the sales representative and delivery personnel manager to manage their sales cycle.</p>
<p style="text-align: justify;">Route Companion , a complete <a href="http://www.cis-group.com/en/companion0.php">direct store delivery software</a>, is a complete software solution that allows you to manage the direct store delivery activities. With the help of hand held computer devices, delivery personnel can manage their daily activities with the help of this <a href="http://www.cis-group.com/en/companion1.php">route accounting software</a>.</p>
<p style="text-align: justify;">Companion suite has got very good reviews from their clients as a CRM software. The major corporate clients in business are using this software suite which includes Coca-cola, Danone, Nestle and many more. So, If you want to improve and manage customer relationship in your business then why don&#8217;t you give Companion Suite a try.</p>
<p style="text-align: justify;">
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=ha18iK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=ha18iK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=U9z5Pk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=U9z5Pk" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=oFjb5k"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=oFjb5k" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=g8lrwK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=g8lrwK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=vLWecK"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=vLWecK" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=gW95fk"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=gW95fk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/354559728" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/08/crm-software-solutions-for-your-business.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/08/crm-software-solutions-for-your-business.html</feedburner:origLink></item>
		<item>
		<title>Web Services and PHP - SOAP vs XML-RPC vs REST</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/351489236/web-services-php-soap-vs-xml-rpc-vs-rest.html</link>
		<comments>http://roshanbh.com.np/2008/07/web-services-php-soap-vs-xml-rpc-vs-rest.html#comments</comments>
		<pubDate>Thu, 31 Jul 2008 12:23:35 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[php]]></category>

		<category><![CDATA[web services]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[REST]]></category>

		<category><![CDATA[SOAP]]></category>

		<category><![CDATA[XML-RPC]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=183</guid>
		<description><![CDATA[<script type="text/javascript">dzone_url = "http://roshanbh.com.np/2008/07/web-services-php-soap-vs-xml-rpc-vs-rest.html";</script>var dzone_style="2";<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Web+Services+and+PHP+-+SOAP+vs+XML-RPC+vs+REST&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fweb-services-php-soap-vs-xml-rpc-vs-rest.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<script type="text/javascript">dzone_url = "http://roshanbh.com.np/2008/07/web-services-php-soap-vs-xml-rpc-vs-rest.html";</script><script>var dzone_style="2";</script><script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script><h4 ">What is web services?</h4>
<p style="text-align: justify;">In a typical web surfing scenario, a visitor visits a website and use the functionality provided by that particular website.HTTP request is send to server from web browsers and server responses are translated by browser to display the desired result of the visitor. But, this scenario has been changed in the recenttdays. You don&#8217;t need to visit the particular website to use their service and functionality if they are providing web services. <strong>Web services</strong> are set of platform independent exposed APIs(functions) which can be used used from remote server over the Internet. There are basically two parties involved in this, one which provides a set of exposed APIs and the another one ,commonly know as web services consumers,is the party which uses the functionality and services provided by web services providing party.</p>
<p><span id="more-183"></span></p>
<p style="text-align: justify;">There are different method for providing web services but the most common are<a href="http://en.wikipedia.org/wiki/SOAP" target="_blank"> SOAP</a>, <a href="http://en.wikipedia.org/wiki/Xml-rpc" target="_blank">XML-RPC</a> and <a href="http://en.wikipedia.org/wiki/REST">REST</a> .</p>
<h4>SOAP</h4>
<p style="text-align: justify;"><a href="http://en.wikipedia.org/wiki/SOAP" target="_blank">SOAP</a> was the acronym of <strong>Simple Object Access Protocal</strong> but this acronym was dropped in the version of 1.2 of SOAP. It is method for exchanging XML based message over the Internet for providing and consuming web services. SOAP message are transferred forming the SOAP-Envelope.You can view the typical <a href="http://www.w3schools.com/soap/soap_syntax.asp" target="_blank">SOAP Message articture from here</a>. SOAP is widely criticized for it&#8217;s design complexity.</p>
<p style="text-align: justify;">In PHP 5, there is built-in extension for the providing and consuming web services. But, I personally prefer <a href="http://sourceforge.net/projects/nusoap/" target="_blank">Nusoap</a> toolkit of PHP for providing and consuming web services using SOAP in PHP.</p>
<h4>XML-RPC</h4>
<p><a href="http://en.wikipedia.org/wiki/Xml-rpc" target="_blank">XML-RPC (remote procedure call)</a> another way of providing and consuming web services. It uses XML to encode and decode the remote procedure call along with it&#8217;s parameter. Compared to the articture of SOAP, it has simpler architecture. You can even define data type of parameters of procedure in XML-RPC. You can visit the official website <a href="www.xmlrpc.com">www.xmlrpc.com </a> to know more about XML-RPC.</p>
<p style="text-align: justify;">In PHP, there is extension <a href="http://www.php.net/xmlrpc" target="_blank">which contain various functions</a> for facilating XML-RPC request and response. But the functions <a href="http://www.php.net/xmlrpc_encode_request" target="_blank">xmlrpc_encode_request()</a> and <a href="http://www.php.net/xmlrpc_decode_request">xmlrpc_decode_request()</a> available in PHP is very useful for when it comes to encode and decode XML-RPC request and response.</p>
<p style="text-align: justify;">I&#8217;ve built  <a href="http://roshanbh.com.np/tools/nepali-currency-converter/" target="_blank">Nepali Currency Converter</a> using XML-RPC web services provided by <a href="http://foxrate.org">foxrate.org</a>.</p>
<h4>REST</h4>
<p style="text-align: justify;">Representational State Trasfer(REST)  is comparatively simpler method for providing and consuming web services. Nowadays, this method is becoming popular in the arena of web services. Unlike above two method, it is not necessary to use XML as a data interchange format in REST. REST architecture is basically focused on two things : <strong>Resources</strong> and <strong>Interface</strong>.RESTful  is another term to define REST web services .</p>
<p style="text-align: justify;"><strong>Resources</strong> are application&#8217;s state and functionality which is represented by a unique URL.  The resources share a uniform <strong>interface</strong> to transfer the state between the client and server.</p>
<p style="text-align: justify;">For example the URL, http://example.com/product/11 can be a <strong>resource</strong>.Suppose, GET method is used to retrieve product detail from that URL, POST method is used to modify the production information and DELETE method can be used to delete the product from the same URL. Here, the HTTP methods works as a <strong>interface</strong> to access the resources.</p>
<p style="text-align: justify;">Talking about  PHP, the format of information(representation) returned can be in XML, JSON or even in HTML format. <a href="http://www.php.net/dom" target="_blank">DOM functions</a>, <a href="http://www.php.net/simplexml">SimpleXML functions</a> and <a href="http://www.php.net/json" target="_blank">JSON functions</a> comes handy when you are handling RESTful interfaces in PHP.</p>
<p style="text-align: justify;">I also want to know your view. Please participate in the poll below.</p>
<p style="text-align: justify;">Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=29jPxJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=29jPxJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=VSrs9j"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=VSrs9j" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=iuoATj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=iuoATj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=VnU3fJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=VnU3fJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=6efRWJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=6efRWJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=8xjOij"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=8xjOij" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/351489236" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/web-services-php-soap-vs-xml-rpc-vs-rest.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/web-services-php-soap-vs-xml-rpc-vs-rest.html</feedburner:origLink></item>
		<item>
		<title>jQuery is the most popular JavaScript and Ajax Framework</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/349657343/jquery-most-popular-javascript-ajax-framework.html</link>
		<comments>http://roshanbh.com.np/2008/07/jquery-most-popular-javascript-ajax-framework.html#comments</comments>
		<pubDate>Tue, 29 Jul 2008 17:54:59 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[Poll &amp; Views]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[framework]]></category>

		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=187</guid>
		<description><![CDATA[<script type="text/javascript">dzone_url = "http://roshanbh.com.np/2008/07/jquery-most-popular-javascript-ajax-framework.html";</script>var dzone_style="2";In last poll, Many people supported Zend Framework as the first choice for the PHP developments. And, today I would like to announce the result of the poll &#8220;which is the best JavaScript and Ajax framework ?&#8221; I would like to thanks all of you 690 voters who has participated in this poll. Today, [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=jQuery+is+the+most+popular+JavaScript+and+Ajax+Framework&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fjquery-most-popular-javascript-ajax-framework.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<script type="text/javascript">dzone_url = "http://roshanbh.com.np/2008/07/jquery-most-popular-javascript-ajax-framework.html";</script><script>var dzone_style="2";</script><script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script><p style="text-align: justify;">In last poll, Many people supported <a href="http://http://roshanbh.com.np/2008/06/zend-framework-most-popular-php-framework.html">Zend Framework as the first choice for the PHP developments</a>. And, today I would like to announce the result of the poll &#8220;which is the <a href="http://roshanbh.com.np/2008/06/which-is-the-best-javascript-ajax-framework.html">best JavaScript and Ajax framework</a> ?&#8221; I would like to thanks all of you 690 voters who has participated in this poll. Today, I&#8217;ve no hesitation on saying that jQuery is the most popular and leading choice of web developer as a JavaScript and Ajax framework.</p>
<p><span id="more-187"></span></p>
<p style="text-align: justify;">You can look at the poll result below. There is no dispute that  <a href="http://ejohn.org/" target="_blank">John Resig&#8217;s</a> JavaScript library (jQuery) is their first choice as 52% web developers have voted for this library. In this blog, I&#8217;ve also posted many jQuery tutorials, <a href="http://roshanbh.com.np/category/jquery">Check them out</a> .</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=7BjnEJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=7BjnEJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=gPdiFj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=gPdiFj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=91ZFZj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=91ZFZj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=sKKB3J"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=sKKB3J" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=e5DBSJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=e5DBSJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=jGqXJj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=jGqXJj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/349657343" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/jquery-most-popular-javascript-ajax-framework.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/jquery-most-popular-javascript-ajax-framework.html</feedburner:origLink></item>
		<item>
		<title>Nepali Currency Converter is launched</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/348586848/nepali-currency-converter-is-lunched.html</link>
		<comments>http://roshanbh.com.np/2008/07/nepali-currency-converter-is-lunched.html#comments</comments>
		<pubDate>Mon, 28 Jul 2008 17:19:20 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=178</guid>
		<description><![CDATA[I was thinking to build some tool in this blog. And today,I am happy to inform you that I&#8217;ve made a currency conversion tool which converts the foreign currency to Nepali currency. I&#8217;ve used AJAX along with API from foxrate.org to make this Nepali currency conversion tool. The main benefit of this tool is you [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Nepali+Currency+Converter+is+launched&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fnepali-currency-converter-is-lunched.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I was thinking to build some tool in this blog. And today,I am happy to inform you that I&#8217;ve made a currency conversion tool which converts the foreign currency to Nepali currency. I&#8217;ve used AJAX along with API from foxrate.org to make this Nepali currency conversion tool. The main benefit of this tool is you can convert from currency of many countries to Nepali currency. This currency conversion tool might be very useful if you&#8217;re going to visit Nepal to estimate your budget.</p>
<p><span id="more-178"></span></p>
<p style="text-align: justify;"><strong>View <a href="http://roshanbh.com.np/tools/nepali-currency-converter/" target="_blank">Nepali Currency Converter Tool </a></strong></p>
<p style="text-align: justify;">You might be wondering, why this person hasn&#8217;t posted the code here. Don&#8217;t worry I&#8217;m a good boy, I&#8217;ll post the code for currency conversion in next post and you&#8217;ll also be able to make the currency convertion tool for your  native currency.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=y1TRkJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=y1TRkJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=cB26nj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=cB26nj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=usLLxj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=usLLxj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=thi0cJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=thi0cJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=HuKEhJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=HuKEhJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=PBK6Aj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=PBK6Aj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/348586848" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/nepali-currency-converter-is-lunched.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/nepali-currency-converter-is-lunched.html</feedburner:origLink></item>
		<item>
		<title>Some true acronyms</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/347225340/true-acronyms.html</link>
		<comments>http://roshanbh.com.np/2008/07/true-acronyms.html#comments</comments>
		<pubDate>Sun, 27 Jul 2008 06:42:42 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[humor]]></category>

		<category><![CDATA[jokes]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=172</guid>
		<description><![CDATA[Another weekend, time for some laugh. Today I&#8217;m going to post few acronyms and their actual meaning. And believe me, you&#8217;ll enjoy these true full-forms.  Have a look at these and enjoy.

&#160;
&#160;
&#160;

PCMCIA -     People Can&#8217;t Memorize Computer Industry Acronyms
ISDN -       It Still Does Nothing
APPLE - [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Some+true+acronyms&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Ftrue-acronyms.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Another weekend, time for some laugh. Today I&#8217;m going to post few acronyms and their actual meaning. And believe me, you&#8217;ll enjoy these true full-forms.  Have a look at these and enjoy.</p>
<p><span id="more-172"></span></p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;">
<strong>PCMCIA</strong> -     People Can&#8217;t Memorize Computer Industry Acronyms<br />
<strong>ISDN</strong> -       It Still Does Nothing<br />
<strong>APPLE</strong> - Arrogance Produces Profit-Losing Entity<br />
<strong>SCSI</strong> -        System Can&#8217;t See It<br />
<strong>DOS</strong> -        Defunct Operating System<br />
<strong>BASIC </strong>-      Bill&#8217;s Attempt to Seize Industry Control<br />
<strong>IBM </strong>-        I Blame Microsoft<br />
<strong>DEC</strong> -        Do Expect Cuts<br />
<strong>CD-ROM </strong>-     Consumer Device, Rendered Obsolete in Months<br />
<strong>OS/2</strong> - Obsolete Soon, Too.<br />
<strong>WWW</strong> -        World Wide Wait<br />
<strong>MACINTOSH</strong> -  Most Applications Crash; If Not, The Operating System Hangs<br />
<strong>WINDOWS</strong> -  Will Install Needless Data On Whole System<br />
<strong>MICROSOFT</strong> -  Most Intelligent Customers Realize Our Software Only Fools Teenagers</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=xFxYHJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=xFxYHJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=Gzoi9j"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=Gzoi9j" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=9DswOj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=9DswOj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=SVadAJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=SVadAJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=hxNsTJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=hxNsTJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=njvZvj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=njvZvj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/347225340" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/true-acronyms.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/true-acronyms.html</feedburner:origLink></item>
		<item>
		<title>Get the IT magazines, journals and white paper at free of cost</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/345561919/it-magazine-journals-free-of-cost.html</link>
		<comments>http://roshanbh.com.np/2008/07/it-magazine-journals-free-of-cost.html#comments</comments>
		<pubDate>Fri, 25 Jul 2008 11:13:14 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<category><![CDATA[blogs]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=170</guid>
		<description><![CDATA[Hello friends&#8230;.Today I&#8217;m very happy to announce a good news for the readers of roshanbh.com.np. In collaboration with tradepub.com. Today, I&#8217;ve launched http://roshanbh.tradepub.com, it a free book and magazine store and the resources available are all in free of cost. So don&#8217;t be late start surfing the store right now and get the free copy [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Get+the+IT+magazines%2C+journals+and+white+paper+at+free+of+cost&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fit-magazine-journals-free-of-cost.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Hello friends&#8230;.Today I&#8217;m very happy to announce a good news for the readers of roshanbh.com.np. In collaboration with tradepub.com. Today, I&#8217;ve launched <a href="http://roshanbh.tradepub.com">http://roshanbh.tradepub.com</a>, it a free book and magazine store and the resources available are all in free of cost. So don&#8217;t be late start surfing the store right now and get the free copy IT related magazines, journals and white papers.</p>
<p><span id="more-170"></span></p>
<p style="text-align: justify;">For, your convince I&#8217;ve short-listed few of the highlighted magazine, journal and white papers without paying a single cent. Here are some of the good list do subscribe them for free of cost.</p>
<ul>
<li><a href="http://roshanbh.tradepub.com/free/orm/" target="_blank">Oracle Magazine</a> - Popular oracle technology related magazine</li>
<li><a href="http://roshanbh.tradepub.com/free/ew/" target="_blank">eWeek</a> - One of the popular Information technology source magazine</li>
<li><a href="http://roshanbh.tradepub.com/free/w_swm02/" target="_blank">Security Source</a> - New magazine focused on the security on the web</li>
<li><a href="http://roshanbh.tradepub.com/free/w_good11/" target="_blank">Good Architecture and Security</a> - A white paper provided by Motorola for web security</li>
<li><a href="http://roshanbh.tradepub.com/free/w_sym24/" target="_blank">Delivering Integrated Security, Recovery, and Archive Protection with Symantec Backup Exec 12</a></li>
<li><a href="http://roshanbh.tradepub.com/free/w_hp25/" target="_blank">Blind Sql Injection</a> - A while paper provided by HP for web application security</li>
<li><a href="http://roshanbh.tradepub.com/free/ddj/" target="_blank">Dr. Dobb&#8217;s Journal</a> - It enables programmers to write the most efficient and sophisticated programs</li>
<li><a href="http://roshanbh.tradepub.com/free/w_cred11/">Full Data Encryption2</a></li>
<li><a href="http://roshanbh.tradepub.com/free/w_nl21/">8 Surefire Strategies for Monetizing Your B2B Website </a></li>
</ul>
<p>There are just a few in the list, you can get more free magazines, journals , white papers from <a href="http://roshanbh.tradepub.com" target="_blank">http://roshanbh.tradepub.com</a>. Go get them for free of of cost.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=BE6MbJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=BE6MbJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=S4ACmj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=S4ACmj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=mySlZj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=mySlZj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=FeZ0aJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=FeZ0aJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=XzgMDJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=XzgMDJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=0sUV6j"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=0sUV6j" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/345561919" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/it-magazine-journals-free-of-cost.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/it-magazine-journals-free-of-cost.html</feedburner:origLink></item>
		<item>
		<title>State preserved bottom hanging message box using jQuery</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/343476982/state-preserved-bottom-hanging-message-box-using-jquery.html</link>
		<comments>http://roshanbh.com.np/2008/07/state-preserved-bottom-hanging-message-box-using-jquery.html#comments</comments>
		<pubDate>Wed, 23 Jul 2008 11:45:53 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[how-to]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=169</guid>
		<description><![CDATA[Last time, I&#8217;ve made the top floating message box using jquery. And a lot of people has asked me how can I preserve the state of that message box so that when it is closed.It won&#8217;t be open to for some time interval. Today, I&#8217;ve come with state preserved bottom hanging message box. When you [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=State+preserved+bottom+hanging+message+box+using+jQuery&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fstate-preserved-bottom-hanging-message-box-using-jquery.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Last time, I&#8217;ve made the top floating message box using jquery. And a lot of people has asked me how can I preserve the state of that message box so that when it is closed.It won&#8217;t be open to for some time interval. Today, I&#8217;ve come with state preserved bottom hanging message box. When you close the message box, it&#8217;s state is preserved in cookie created using JavScript so that this message box won&#8217;t show up for certain hours.</p>
<p><span id="more-169"></span></p>
<p style="text-align: justify;"><a href="http://roshanbh.com.np/examples/bottom-hanging-jquery" target="_blank"><strong>View Live Demo </strong></a></p>
<p style="text-align: justify;">I&#8217;m not going to post the HTML code, it is same the previous post of <a href="http://roshanbh.com.np/2008/07/top-floating-message-box-using-jquery.html">floating message box using jQuery</a>. You can refer to that article for HTML code.</p>
<h4>CSS code for state preserved hanging message</h4>
<pre style="border: 1px solid #888888; padding: 2px"><span style="color: #ff00ff;">#message_box { </span>
<span style="color: #333399;">position: absolute;
left: 0px;
z-index: 10;
background:#ffc;
padding:5px;
border:1px solid #CCCCCC;
text-align:center;
width:99%;
display:none;
color:#0000FF;
font: bold 12px Verdana, Arial, Helvetica, sans-serif;</span>
<span style="color: #ff00ff;">}</span></pre>
<p style="text-align: justify;">The element with id &#8220;message_box&#8221; is made hidden first with it&#8217;s position set to &#8220;absolute&#8221; for making it hanging. Other attribute you can change according to your need.</p>
<h4>JavaScript Code for state preserved hanging message box</h4>
<p style="text-align: justify;">As this time, I&#8217;ve come up with the state preserved solution. I&#8217;ve used JavaScript for setting and getting value from cookie. I&#8217;ve used two functions getCookie()  directly taken from <a href="http://www.w3schools.com/JS/js_cookies.asp" target="_blank">w2school&#8217;s JavaScript cookie tutorial</a>.But I&#8217;ve modified the setCookie() functions where you can set the cookie expirty time in number of hours Here is that function,</p>
<pre class="prettyprint" style="overflow:auto">//function to set the cookie name, values and expiry time in hours
function setCookie(c_name,value,expireHours)
{
  var exhour=new Date(); //create the current date object
  exhour.setHours(exhour.getHours()+1); //setting hours
  document.cookie=c_name+ "=" +escape(value)+
  ((expireHours==null) ? "" : ";expires="+exhour.toGMTString());
}</pre>
<p style="text-align: justify;">Now, let&#8217;s dig through the jQuery code to provide the state preserved bottom hanging message box.</p>
<pre class="prettyprint" style="overflow:auto">//when the close button at right corner of the message box is clicked
$('#close_message').click(function()
{
  //the messagebox gets scrool down with top property and gets hidden with zero opacity
  $('#message_box').animate({ top:"-=15px",opacity:0 }, "slow");
   setCookie('show_message','no',1); //cookies is set to "no" value
});</pre>
<p style="text-align: justify;">As you can see above, when the cross icon is clicked the message box gets hidden and furtheremroe, it sets a cookie &#8220;show_message&#8221; with value &#8220;no&#8221; which expires in one hour. Now, look at the jquery code,</p>
<pre class="prettyprint" style="overflow:auto">if(getCookie('show_message')!='no')
{
  var pos=parseInt($(window).scrollTop())+parseInt($(window).height());
  $('#message_box').css("top",pos-26+"px");
  $('#message_box').show(); //display the message box

  //scroll the message box to the top offset of browser's scrool bar
  $(window).scroll(function()
  {
    var pos=parseInt($(window).scrollTop())+parseInt($(window).height());
    $('#message_box').animate({top:pos-26+"px" },{queue: false, duration: 500});
  });
}</pre>
<p style="text-align: justify;">As, you can see there is condition to show the message box and  code inside scroll event to execute. If the cookie is not set then the message box gets displayed and it will be shown to the bottom of the page according to the requirement.</p>
<p style="text-align: justify;"><a href="http://roshanbh.com.np/codes/bottom-hanging-jquery.zip" target="_blank"><strong>Download Full Source Code </strong></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=f6DFqJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=f6DFqJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=2vWilj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=2vWilj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=ZtqjQj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=ZtqjQj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=tWr5qJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=tWr5qJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=IYbhvJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=IYbhvJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=fn9Hpj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=fn9Hpj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/343476982" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/state-preserved-bottom-hanging-message-box-using-jquery.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/state-preserved-bottom-hanging-message-box-using-jquery.html</feedburner:origLink></item>
		<item>
		<title>Strucutures of Females in defined by C programmer</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/340559655/strucutures-of-females-in-c-programming.html</link>
		<comments>http://roshanbh.com.np/2008/07/strucutures-of-females-in-c-programming.html#comments</comments>
		<pubDate>Sun, 20 Jul 2008 09:57:41 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<category><![CDATA[coding technique]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[funny]]></category>

		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=167</guid>
		<description><![CDATA[Today, I&#8217;ve got a interesting email from one of my friend which contains the structure of female defined by a C programmer. This programmer did a research on female and defined their structure in C  programming. Checkout these cool structures of females and have fun  .

&#160;
&#160;
Struct female_professional s
{
double styles;
short skirts;
long time_to_understand_ problems;
float mind;
void [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Strucutures+of+Females+in+defined+by+C+programmer&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fstrucutures-of-females-in-c-programming.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Today, I&#8217;ve got a interesting email from one of my friend which contains the structure of female defined by a C programmer. This programmer did a research on female and defined their structure in C  programming. Checkout these cool structures of females and have fun <img src='http://roshanbh.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><span id="more-167"></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Struct female_professional s<br />
{<br />
double styles;<br />
short skirts;<br />
long time_to_understand_ problems;<br />
float mind;<br />
void knowledge;<br />
char non_co-operative;<br />
}</strong></p>
<p><strong>Struct married_females<br />
{<br />
double weight;<br />
Short tempered;<br />
long gossip;<br />
Float hopes;<br />
void word;<br />
char unstable;<br />
}</strong></p>
<p><strong>Struct engaged_females<br />
{<br />
double time_on_phone;<br />
short attention_on_ work;<br />
long boast;<br />
float on_cloud_nine;<br />
void understanding;<br />
char edgy;<br />
}</strong></p>
<p><strong>Struct newly_married_ females<br />
{<br />
double dinner_invitation;<br />
Short time_at_work;<br />
long lunch_break;<br />
void bank_balance;<br />
char hen_pecked;<br />
}</strong></p>
<p><strong>Struct husband_wife_ professionals<br />
{<br />
double income;<br />
Short tempered;<br />
long time_no_see_ each_other;<br />
void love_life;<br />
char money_making;<br />
}</strong></p>
<p><strong>Struct beautiful_city_ girl<br />
{<br />
double boyfriends;<br />
short affairs;<br />
long stories;<br />
void greymatter;<br />
char flirt;<br />
}</strong></p>
<p><strong>Struct old_lady<br />
{<br />
double chin;<br />
Short memory;<br />
long sighs ;<br />
void attention_from_ men ;<br />
char chatterbox;<br />
} </strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=v6QWfJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=v6QWfJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=Jt8FQj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=Jt8FQj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=WguG8j"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=WguG8j" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=tyg19J"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=tyg19J" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=hjfe0J"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=hjfe0J" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=6MRHAj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=6MRHAj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/340559655" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/strucutures-of-females-in-c-programming.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/strucutures-of-females-in-c-programming.html</feedburner:origLink></item>
		<item>
		<title>Getting country , city name from IP address in PHP</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/337942170/getting-country-city-name-from-ip-address-in-php.html</link>
		<comments>http://roshanbh.com.np/2008/07/getting-country-city-name-from-ip-address-in-php.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 10:41:18 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[how-to]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[tips and technique]]></category>

		<category><![CDATA[web services]]></category>

		<category><![CDATA[api]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=164</guid>
		<description><![CDATA[Yesterday,  miaki asked me how can we get the country name from the IP address in PHP. Today, I&#8217;ve come up with the answer of this question. I&#8217;ve used the API from hostip.info to fetch the country name , city name and country code from the given IP address. I&#8217;ve mad this function in [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Getting+country+%2C+city+name+from+IP+address+in+PHP&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fgetting-country-city-name-from-ip-address-in-php.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Yesterday,  <a rel="nofollow" href="http://rowebsoft.com">miaki</a> asked me how can we get the country name from the IP address in PHP. Today, I&#8217;ve come up with the answer of this question. I&#8217;ve used the API from <a href="http://www.hostip.info/use.html">hostip.info</a> to fetch the country name , city name and country code from the given IP address. I&#8217;ve mad this function in PHP which uses XML response from  hostip.info and extracted country name, city name and country code using regular expression.</p>
<p><span id="more-164"></span></p>
<h4>Function to return country, city name from IP address in PHP</h4>
<pre class="prettyprint" style="overflow:auto;">function countryCityFromIP($ipAddr)
{
//function to find country and city from IP address
//Developed by Roshan Bhattarai http://roshanbh.com.np

//verify the IP address for the
ip2long($ipAddr)== -1 || ip2long($ipAddr) === false ? trigger_error("Invalid IP", E_USER_ERROR) : "";
$ipDetail=array(); //initialize a blank array

//get the XML result from hostip.info
$xml = file_get_contents("http://api.hostip.info/?ip=".$ipAddr);

//get the city name inside the node &lt;gml:name&gt; and &lt;/gml:name&gt;
preg_match("@&lt;Hostip&gt;(\s)*&lt;gml:name&gt;(.*?)&lt;/gml:name&gt;@si",$xml,$match);

//assing the city name to the array
$ipDetail['city']=$match[2]; 

//get the country name inside the node &lt;countryName&gt; and &lt;/countryName&gt;
preg_match("@&lt;countryName&gt;(.*?)&lt;/countryName&gt;@si",$xml,$matches);

//assign the country name to the $ipDetail array
$ipDetail['country']=$matches[1];

//get the country name inside the node &lt;countryName&gt; and &lt;/countryName&gt;
preg_match("@&lt;countryAbbrev&gt;(.*?)&lt;/countryAbbrev&gt;@si",$xml,$cc_match);
$ipDetail['country_code']=$cc_match[1]; //assing the country code to array

//return the array containing city, country and country code
return $ipDetail;

}</pre>
<p style="text-align: justify; font-weight: bold;"><a href="http://roshanbh.com.np/codes/country-ip.phps">Download Source Code</a></p>
<p style="text-align: justify;">As you can see, I&#8217;ve documented all the PHP code and I don&#8217;t think I need explain anymore about that code. Just notice that, this function returns the array containg three key elements &#8220;country&#8221; , &#8220;city&#8221; and &#8220;country_code&#8221;. Each elements have the value of city, country and country code.</p>
<p style="text-align: justify;">Now, look the the how we can use the above function in PHP,</p>
<pre class="prettyprint" style="overflow:auto;">$IPDetail=countryCityFromIP('12.215.42.19');
echo $IPDetail['country']; //country of that IP address
echo $IPDetail['city']; //outputs the IP detail of the city</pre>
<p style="text-align: justify;">Notice that the above PHP function returns the array containing the country , city and country code from IP Address and we can use them in PHP. If you want to know how to get IP address in PHP, you can check this post how you can get <a href="http://roshanbh.com.np/2007/12/getting-real-ip-address-in-php.html">real IP address in PHP</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=FxeKLJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=FxeKLJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=sHT9Dj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=sHT9Dj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=xTSTQj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=xTSTQj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=oknVMJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=oknVMJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=VEDG8J"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=VEDG8J" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=69zWRj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=69zWRj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/337942170" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/getting-country-city-name-from-ip-address-in-php.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/getting-country-city-name-from-ip-address-in-php.html</feedburner:origLink></item>
		<item>
		<title>My First Google Adsense Cheque</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/337217570/first-google-adsense-cheque.html</link>
		<comments>http://roshanbh.com.np/2008/07/first-google-adsense-cheque.html#comments</comments>
		<pubDate>Wed, 16 Jul 2008 16:33:51 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<category><![CDATA[blogs]]></category>

		<category><![CDATA[adsense]]></category>

		<category><![CDATA[cheque]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=165</guid>
		<description><![CDATA[Hello friends you must know Google Adsense is one of the popular way of monetizing the blog. Today, I&#8217;ve got the first cheque from Google and I would like to share it with you guyz. It is not that  big money I&#8217;m making from Adsense. In first six month, I was able to make just [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=My+First+Google+Adsense+Cheque&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Ffirst-google-adsense-cheque.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Hello friends you must know Google Adsense is one of the popular way of monetizing the blog. Today, I&#8217;ve got the first cheque from Google and I would like to share it with you guyz. It is not that  big money I&#8217;m making from Adsense. In first six month, I was able to make just $165. But, making money from a blog goes slowly and steadily. Most Importantly, this is tech blog and most visitor are aware of Google Adsense so they don&#8217;t click on the Google ads usually.<br />
<span id="more-165"></span></p>
<pre><img src="http://farm4.static.flickr.com/3130/2673825595_3b5309b461.jpg" alt="My first google adsense checkque" width="500" height="203" />
</pre>
<p>The above cheque doesn&#8217;t contain the big amount but it is my first cheque from Google and you must know that everything which comes first in your life is always precious and so this cheque is.  Hope this might be a ladder for huge adsense cheque for me in future <img src='http://roshanbh.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=OAkbCJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=OAkbCJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=ODfbdj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=ODfbdj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=YSkAtj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=YSkAtj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=zoAYoJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=zoAYoJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=zuBHpJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=zuBHpJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=UEJXlj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=UEJXlj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/337217570" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/first-google-adsense-cheque.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/first-google-adsense-cheque.html</feedburner:origLink></item>
		<item>
		<title>Getting technorati ranking in PHP without using their API</title>
		<link>http://feeds.feedburner.com/~r/phpajaxguru/~3/336266593/getting-technorati-ranking-php-without-using-api.html</link>
		<comments>http://roshanbh.com.np/2008/07/getting-technorati-ranking-php-without-using-api.html#comments</comments>
		<pubDate>Tue, 15 Jul 2008 17:07:51 +0000</pubDate>
		<dc:creator>Roshan</dc:creator>
		
		<category><![CDATA[how-to]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[tips and technique]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[technorati]]></category>

		<guid isPermaLink="false">http://roshanbh.com.np/?p=163</guid>
		<description><![CDATA[Today, I was going through the Technorati API to find the rank of the blog using PHP. Those who doesn&#8217;t know about Technorati, Technorati is known as the authority for tracking, indexing and ranking the blog sytems. When I went through the Technorati Api, I found that it is not that hard to get the [...]<p><a href="http://sharethis.com/item?&#038;wp=2.6&#38;publisher=d1651b94-c790-4fb2-8807-7f919449f1be&#38;title=Getting+technorati+ranking+in+PHP+without+using+their+API&#38;url=http%3A%2F%2Froshanbh.com.np%2F2008%2F07%2Fgetting-technorati-ranking-php-without-using-api.html">ShareThis</a></p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Today, I was going through the T<a href="http://www.technorati.com">echnorati</a> API to find the rank of the blog using PHP. Those who doesn&#8217;t know about Technorati, Technorati is known as the authority for tracking, indexing and ranking the blog sytems. When I went through the Technorati Api, I found that it is not that hard to get the ranking of a blog which is indexed in Technorati.You need to get the developer API  key from Technorati and use their Web Services to get the ranking of a blog.</p>
<p><span id="more-163"></span></p>
<p style="text-align: justify;">But, those who are not registered to the Technorati, here is the shortcut method to get the ranking of blogs indexed under Technorati without using their Api. I&#8217;ve used the following  URL of technorati</p>
<p style="text-align: justify;">&#8220;http://www.technorati.com/blogs/&lt;blog-url&gt;&#8221;</p>
<p style="text-align: justify;">and used some regular expression to find the ranking of the blog indexed under technorati withoug using their API.</p>
<h4>PHP code to find the technorati ranking without using API</h4>
<pre class="prettyprint" style="overflow:auto">&lt;?php
//enter the blog url don't include http
$blog_url="roshanbh.com.np";
//seeting the URL for technorati
$technorati_url="http://www.technorati.com/blogs/".$blog_url;
//get the html code of the URL
$html_values=file_get_contents($technorati_url);
//get the string within &lt;div class="rank"&gt;&lt;/div&gt;
preg_match("@&lt;div\b[^&gt;]* class=\"rank\"&gt;(.*?)&lt;/div&gt;@si",$html_values,$matches);
//strip out of the HTML element from the matches
$rankvalue=strip_tags($matches[1]);
//geting the the rank values out of the string
preg_match("/(\d+(,\d+)?(,\d+)?)/",$rank_value,$matches);
//Display the rank.
echo "Technorati rank is : ".$matches[0];
?&gt;</pre>
<p style="text-align: justify;"><strong><a href="http://roshanbh.com.np/codes/technorati.phps" target="_blank">Download Source Code</a></strong></p>
<p style="text-align: justify;">As you can above, I&#8217;ve used <a href="http://www.php.net/file_get_contents" target="_blank">file_get_contens()</a> function of PHP to get the content from Technorati. The rank of the blog if found under the division &#8220;&lt;div class=&#8221;rank&#8221;&gt;&lt;/div&gt;&#8221; in that page of Technorati, you can verify it by viewing the source of that page. After that, I&#8217;ve used few regular expression to find the ranking of the blog in PHP.</p>
<p style="text-align: justify;">One thing you must notice that this code will works under this design of Technorati, if the technorati will change the design then there is no guarantee that this code will work at that scenario.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/phpajaxguru?a=sZtUxJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=sZtUxJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=MG4dej"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=MG4dej" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=BIEt6j"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=BIEt6j" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=ypVpIJ"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=ypVpIJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=GjUa4J"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=GjUa4J" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/phpajaxguru?a=jjhjaj"><img src="http://feeds.feedburner.com/~f/phpajaxguru?i=jjhjaj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/phpajaxguru/~4/336266593" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://roshanbh.com.np/2008/07/getting-technorati-ranking-php-without-using-api.html/feed</wfw:commentRss>
		<feedburner:origLink>http://roshanbh.com.np/2008/07/getting-technorati-ranking-php-without-using-api.html</feedburner:origLink></item>
	</channel>
</rss>
