<?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>Programming Facts &#187; Helpful Tips and Tricks</title>
	<atom:link href="http://www.programmingfacts.com/category/helpful-tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.programmingfacts.com</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 08:16:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>[JavaScript] How to Reload iFrame &#8211; Works in FF, Crome, IE, Safari</title>
		<link>http://www.programmingfacts.com/javascript-reload-iframe-works/</link>
		<comments>http://www.programmingfacts.com/javascript-reload-iframe-works/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 07:25:04 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=1088</guid>
		<description><![CDATA[I was working with one web application and I placed a iFrame in it. I am making ajax call and updating iFrame files. Now I want to refresh only iFrame. I found many solution via Google and I tried many with my own idea to replace iFrame or load iFrame etc etc. But none of them works in all browsers including IE. Some of them are working in FF, some of them in other browsers. I was looking for a solution which works in all browsers. Finally I found the one which works in all browsers.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/javascript-reload-iframe-works/' addthis:title='[JavaScript] How to Reload iFrame &#8211; Works in FF, Crome, IE, Safari' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/javascript-reload-iframe-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PHP] Stripslashes and fwrite not working</title>
		<link>http://www.programmingfacts.com/php-stripslashes-fwrite-working/</link>
		<comments>http://www.programmingfacts.com/php-stripslashes-fwrite-working/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:09:26 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[fwrite Stripslashes Solved]]></category>
		<category><![CDATA[Stripslashes magic quotes solved]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=1061</guid>
		<description><![CDATA[I was working with one project and writing textarea's data into one file using fwrite function of PHP. It keeps adding forward slash whenever single quote comes in string. I have tried to use stripslashes but it did not work. I tried stripslashes twice but it did not work as well.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/php-stripslashes-fwrite-working/' addthis:title='[PHP] Stripslashes and fwrite not working' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/php-stripslashes-fwrite-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Solved] Cooloris 3D Wall Crossdomain.xml error</title>
		<link>http://www.programmingfacts.com/solved-cooloris-3d-wall-crossdomain-xml-error/</link>
		<comments>http://www.programmingfacts.com/solved-cooloris-3d-wall-crossdomain-xml-error/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 10:09:57 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[Solved Cooloris Media RSS 3D Wall]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=1019</guid>
		<description><![CDATA[I was implementing Cooloris 3D Wall. After so much trouble, i get success in implementing Cooloris 3D Wall. If you are facing problem in implementing Cooloris 3D Wall Gallery with your own Media RSS than look at my last post. If you are done with implementing Cooloris 3D Wall and facing a crossdomain.xml issue than follow below instructions.
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/solved-cooloris-3d-wall-crossdomain-xml-error/' addthis:title='[Solved] Cooloris 3D Wall Crossdomain.xml error' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/solved-cooloris-3d-wall-crossdomain-xml-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Solved] Cooloris 3D Wall &#8211; Not Working &#8211; Media RSS &#8211; Flickr Picasa RSS</title>
		<link>http://www.programmingfacts.com/solved-cooloris-3d-wall-not-working-media-rss-flickr-picasa-rss/</link>
		<comments>http://www.programmingfacts.com/solved-cooloris-3d-wall-not-working-media-rss-flickr-picasa-rss/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 09:52:56 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[Solved Cooloris Media RSS 3D Wall]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=1017</guid>
		<description><![CDATA[I was implementing Cooloris 3D Wall for one of my client. I followed the instructions given in Cooloris site. I am really unhappy with their documents, help, forums and developer section. They are not clear with the point how to implement media RSS in Cooloris 3D Wall. I searched in Google but not finding any solutions. Peoples or developers are searching for the code and they are just trying to solve by try-error method.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/solved-cooloris-3d-wall-not-working-media-rss-flickr-picasa-rss/' addthis:title='[Solved] Cooloris 3D Wall &#8211; Not Working &#8211; Media RSS &#8211; Flickr Picasa RSS' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/solved-cooloris-3d-wall-not-working-media-rss-flickr-picasa-rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PHP] What is the difference between sort &amp; asort in php ?</title>
		<link>http://www.programmingfacts.com/php-difference-sort-asort/</link>
		<comments>http://www.programmingfacts.com/php-difference-sort-asort/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 10:48:50 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[Difference between sort and asort php]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=1003</guid>
		<description><![CDATA[Many times developers are not aware with the core functions of PHP. PHP have sort and asort built in array functions. You may or may not be aware with these functions. But when you will face a PHP interview than you may be asked for this question.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/php-difference-sort-asort/' addthis:title='[PHP] What is the difference between sort &#038; asort in php ?' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/php-difference-sort-asort/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[Dreamweaver] Open .thtml .ctp .phtml (view) Files in Dreamweaver</title>
		<link>http://www.programmingfacts.com/dreamweaver-open-thtml-ctp/</link>
		<comments>http://www.programmingfacts.com/dreamweaver-open-thtml-ctp/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 13:55:24 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[Add File Type in Dreamweaver]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=992</guid>
		<description><![CDATA[I am working with Famous PHP Frameworks i.e. CakePHP and Zend Framework in recent days. For CakePHP, view file extensions are either ctp or thtml and for Zend Framework, view file extentions is phtml. They are not opening in Dreamweaver. You need to add file extentions in document types file of Dreamweaver.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/dreamweaver-open-thtml-ctp/' addthis:title='[Dreamweaver] Open .thtml .ctp .phtml (view) Files in Dreamweaver' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/dreamweaver-open-thtml-ctp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript and PHP Email Validation</title>
		<link>http://www.programmingfacts.com/javascript-php-email-validation/</link>
		<comments>http://www.programmingfacts.com/javascript-php-email-validation/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 06:17:07 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[JavaScript PHP Email Validate]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=985</guid>
		<description><![CDATA[I have noticed that many developers are facing problem in Form Email validation. Developers are always use to make a JavaScript Email validation and forgot to put server side email validation. As a developer, i suggest to put a server side validation as well. Serverside validation is most important if you want to make spamming free web application. Please have a look at both validation code. First is JavaScript Email Validation and second one is PHP Email validation.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/javascript-php-email-validation/' addthis:title='Javascript and PHP Email Validation' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/javascript-php-email-validation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find a Lat/Long with in x miles/kilometer Radius</title>
		<link>http://www.programmingfacts.com/find-lat-long-miles-kilometer-radius/</link>
		<comments>http://www.programmingfacts.com/find-lat-long-miles-kilometer-radius/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 07:34:52 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[Latitude Longitude Miles Radius]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=912</guid>
		<description><![CDATA[You are at the right place if you are looking for solution to get or check latitude and longitude is with in x miles of radius with given latitude and longitude. This is very easy with a single equation. Get all lat/long list from database if current lat/long is with in x miles of radius.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/find-lat-long-miles-kilometer-radius/' addthis:title='Find a Lat/Long with in x miles/kilometer Radius' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/find-lat-long-miles-kilometer-radius/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Parse/Get XML attribute using PHP SimpleXMLElement</title>
		<link>http://www.programmingfacts.com/parseget-xml-attribute-php-simplexmlelement/</link>
		<comments>http://www.programmingfacts.com/parseget-xml-attribute-php-simplexmlelement/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 08:34:43 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Parse XML Attributes]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=903</guid>
		<description><![CDATA[Today i write something about xml parsing using PHP. I am taking xml file contents using file_get_contents function. Now parsing file contents by creating object of SimpleXMLElement. I can easily get all elements of xml using $xml->name or if it is an array than $xml->name[0]->fname. But the problem is with attributes. I have one array which have attributes. Below is the simple way to get/parse xml attributes.<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/parseget-xml-attribute-php-simplexmlelement/' addthis:title='Parse/Get XML attribute using PHP SimpleXMLElement' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/parseget-xml-attribute-php-simplexmlelement/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Write Array in txt file with PHP</title>
		<link>http://www.programmingfacts.com/write-array-in-txt-file-with-php/</link>
		<comments>http://www.programmingfacts.com/write-array-in-txt-file-with-php/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 12:36:17 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[Writing Array fwrite text file php]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=834</guid>
		<description><![CDATA[Every programmer knows how to interact with file functions like fopen, fwrite, fread and fclose. Also most of us are aware with writing values in text file by using fwrite file handling function. Today i face a situation where i need to write array in text file using php as i am interacting with XML-RPC<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.programmingfacts.com/write-array-in-txt-file-with-php/' addthis:title='Write Array in txt file with PHP' ><a class="addthis_button_twitter"></a><a class="addthis_button_facebook"></a><a class="addthis_button_googlebuzz"></a><a class="addthis_button_digg"></a><a class="addthis_button_stumbleupon"></a><a class="addthis_button_delicious"></a><a class="addthis_button_myspace"></a><a class="addthis_button_linkedin"></a><a class="addthis_button_reddit"></a></div>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/write-array-in-txt-file-with-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (User agent is rejected)
Database Caching 39/49 queries in 1.475 seconds using disk

Served from: www.programmingfacts.com @ 2012-02-08 02:17:03 -->
