<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thinkdiff.net &#187; PHP</title>
	<atom:link href="http://thinkdiff.net/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkdiff.net</link>
	<description>geeky stuff, facebook, twitter, linkedin, php, mysql, web development, tips and more</description>
	<lastBuildDate>Sat, 28 Aug 2010 18:23:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Retrieve time period like facebook fashion</title>
		<link>http://thinkdiff.net/facebook/retrieve-time-period-like-facebook-fashion/</link>
		<comments>http://thinkdiff.net/facebook/retrieve-time-period-like-facebook-fashion/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 18:51:05 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[time period]]></category>
		<category><![CDATA[unix_timestamp]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=1883</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_1883()',5000);window.setTimeout('loadFBShare_1883()',5000); }); function loadTwitter_1883(){ jQuery(document).ready(function($) { $('.dd-twitter-1883').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_1883(){ jQuery(document).ready(function($) { $('.dd-fbshare-1883').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }In facebook stream you&#8217;ll see the time period at the bottom of the stream. For example: 4 minutes ago, 2 days ago, 3 weeks ago&#8230;. In our recent project we have to show similar time fashion for [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/facebook/retrieve-time-period-like-facebook-fashion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Are you defensive programmer?</title>
		<link>http://thinkdiff.net/php/are-you-defensive-programmer/</link>
		<comments>http://thinkdiff.net/php/are-you-defensive-programmer/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 18:47:04 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=1830</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_1830()',5000);window.setTimeout('loadFBShare_1830()',5000); }); function loadTwitter_1830(){ jQuery(document).ready(function($) { $('.dd-twitter-1830').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_1830(){ jQuery(document).ready(function($) { $('.dd-fbshare-1830').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }So what is defensive programming? Shortly said, in any problematic situation your code doesn&#8217;t break rather bypass the situation by taking proper steps. If you want to know details just visit wikipedia I am just writing this [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/php/are-you-defensive-programmer/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>MySQL random data selection</title>
		<link>http://thinkdiff.net/mysql/mysql-random-data-selection/</link>
		<comments>http://thinkdiff.net/mysql/mysql-random-data-selection/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 08:41:13 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[order by rand]]></category>
		<category><![CDATA[rand()]]></category>
		<category><![CDATA[random selection from mysql]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=1586</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_1586()',5000);window.setTimeout('loadFBShare_1586()',5000); }); function loadTwitter_1586(){ jQuery(document).ready(function($) { $('.dd-twitter-1586').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_1586(){ jQuery(document).ready(function($) { $('.dd-fbshare-1586').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }Some days ago I was working in a vocabulary game and dictionary. The dictionary contains 1,10,000 words and meanings. I developed a vocabulary game where I had to randomly choose 10 words out of 1,10,000 dataset. Here [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/mysql/mysql-random-data-selection/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to get rank using mysql query</title>
		<link>http://thinkdiff.net/mysql/how-to-get-rank-using-mysql-query/</link>
		<comments>http://thinkdiff.net/mysql/how-to-get-rank-using-mysql-query/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 18:28:22 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[game user rank]]></category>
		<category><![CDATA[quiz user rank]]></category>
		<category><![CDATA[rank]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=1158</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_1158()',5000);window.setTimeout('loadFBShare_1158()',5000); }); function loadTwitter_1158(){ jQuery(document).ready(function($) { $('.dd-twitter-1158').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_1158(){ jQuery(document).ready(function($) { $('.dd-fbshare-1158').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); } Some days ago I was working in a quiz project. Where user will play quiz and for each correct answer they will earn points. One of the task of this quiz application was, to get rank [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/mysql/how-to-get-rank-using-mysql-query/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>How to use amazon s3 using php</title>
		<link>http://thinkdiff.net/framework/how-to-use-amazon-s3-using-php/</link>
		<comments>http://thinkdiff.net/framework/how-to-use-amazon-s3-using-php/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 07:03:56 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[amazon s3]]></category>
		<category><![CDATA[amazon s3 php]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend amazon s3]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=1101</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_1101()',5000);window.setTimeout('loadFBShare_1101()',5000); }); function loadTwitter_1101(){ jQuery(document).ready(function($) { $('.dd-twitter-1101').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_1101(){ jQuery(document).ready(function($) { $('.dd-fbshare-1101').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }Amazon Simple Storage Service is designed to make web-scale computing easier for developers. If you have a medium to high traffic web application then S3 will help you to load your content faster. Here contents may be [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/framework/how-to-use-amazon-s3-using-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Develop dynamic flash widget using PHP &amp; ActionScript 3.0</title>
		<link>http://thinkdiff.net/facebook/develop-dynamic-flash-widget-using-php-actionscript-3-0/</link>
		<comments>http://thinkdiff.net/facebook/develop-dynamic-flash-widget-using-php-actionscript-3-0/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 19:22:53 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[action]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[ActionScript 3.0 to PHP]]></category>
		<category><![CDATA[amfphp]]></category>
		<category><![CDATA[amfphp tutorial]]></category>
		<category><![CDATA[facebook flash tutorial]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=923</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_923()',5000);window.setTimeout('loadFBShare_923()',5000); }); function loadTwitter_923(){ jQuery(document).ready(function($) { $('.dd-twitter-923').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_923(){ jQuery(document).ready(function($) { $('.dd-fbshare-923').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); } Basically I&#8217;m mainly php base web application developer. But I have  much interest in ActionScript project. Sometimes when I get opportunity I work on it. Someday ago, I was assigned in a project, where I&#8217;ve to [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/facebook/develop-dynamic-flash-widget-using-php-actionscript-3-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Obfuscate your email in webpage</title>
		<link>http://thinkdiff.net/php/obfuscate-your-email-in-webpage/</link>
		<comments>http://thinkdiff.net/php/obfuscate-your-email-in-webpage/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 15:12:23 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[email anti spam]]></category>
		<category><![CDATA[email spam]]></category>
		<category><![CDATA[obfuscate email]]></category>
		<category><![CDATA[rot13 email]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=957</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_957()',5000);window.setTimeout('loadFBShare_957()',5000); }); function loadTwitter_957(){ jQuery(document).ready(function($) { $('.dd-twitter-957').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_957(){ jQuery(document).ready(function($) { $('.dd-fbshare-957').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }If you have blog or website where you placed your email address, you may notice that there might be many spam emails send to your email address. This is because spammer scour the web to harvest email [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/php/obfuscate-your-email-in-webpage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Publish facebook page status or wall post automatically</title>
		<link>http://thinkdiff.net/facebook/update-facebook-page-status-automatically/</link>
		<comments>http://thinkdiff.net/facebook/update-facebook-page-status-automatically/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 14:49:02 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook page wall]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[page update]]></category>
		<category><![CDATA[status update]]></category>
		<category><![CDATA[wall post]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=934</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_934()',5000);window.setTimeout('loadFBShare_934()',5000); }); function loadTwitter_934(){ jQuery(document).ready(function($) { $('.dd-twitter-934').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_934(){ jQuery(document).ready(function($) { $('.dd-fbshare-934').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }Facebook page is now very popular. Many companies and people create facebook page for their own publicity. Suppose your company has 100 products and they want to maintain 100 facebook pages, then isn&#8217;t it very difficult to [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/facebook/update-facebook-page-status-automatically/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>YouTube Search functionality in facebook app</title>
		<link>http://thinkdiff.net/facebook/youtube-search-functionality-in-facebook-app/</link>
		<comments>http://thinkdiff.net/facebook/youtube-search-functionality-in-facebook-app/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 12:49:59 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[FB Connect]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php youtube]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[youtube search]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=909</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_909()',5000);window.setTimeout('loadFBShare_909()',5000); }); function loadTwitter_909(){ jQuery(document).ready(function($) { $('.dd-twitter-909').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_909(){ jQuery(document).ready(function($) { $('.dd-fbshare-909').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }Someday ago I had to add youtube video search functionality in a facebook app. Here I described how I added youtube search functionality in that facebook app using Zend_Gdata php library. Here is a screenshot of that [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/facebook/youtube-search-functionality-in-facebook-app/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Develop auto post publishing twitter app</title>
		<link>http://thinkdiff.net/php/develop-auto-post-publishing-twitter-app/</link>
		<comments>http://thinkdiff.net/php/develop-auto-post-publishing-twitter-app/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 14:47:20 +0000</pubDate>
		<dc:creator>mahmud ahsan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[twitter auto post]]></category>
		<category><![CDATA[twitter cron]]></category>
		<category><![CDATA[twitter post]]></category>

		<guid isPermaLink="false">http://thinkdiff.net/?p=880</guid>
		<description><![CDATA[jQuery(document).ready(function($) { window.setTimeout('loadTwitter_880()',5000);window.setTimeout('loadFBShare_880()',5000); }); function loadTwitter_880(){ jQuery(document).ready(function($) { $('.dd-twitter-880').remove();$.getScript('http://platform.twitter.com/widgets.js'); }); } function loadFBShare_880(){ jQuery(document).ready(function($) { $('.dd-fbshare-880').remove(); $.getScript('http://static.ak.fbcdn.net/connect.php/js/FB.Share'); }); }Twitter is a free social networking and micro-blogging service that enables its users to send and read messages known as tweets. Though according to CEO of Twitter he says &#8220;We think of Twitter as it&#8217;s not a [...]]]></description>
		<wfw:commentRss>http://thinkdiff.net/php/develop-auto-post-publishing-twitter-app/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>
