<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Geekpedia - Knowledge Base</title>
<link>http://www.geekpedia.com/KBArchive.html</link>
<description>Latest knowledge base entries at Geekpedia.com.</description>
<copyright>Copyright 2004 - 2008 Geekpedia.com. All rights reserved.</copyright>
<language>en-us</language>
<generator>Geekpedia RSS Generator</generator>
<image><url>http://www.geekpedia.com/Graphics/GeekpediaLogo.png</url><title>Geekpedia - Knowledge Base</title><link>http://www.geekpedia.com/KBArchive.html</link></image>
<item>
<title>How To Prevent Hotlinking Using .htaccess</title>
<description>A very easy way to prevent your gif, jpeg, png files (and any other file formats you choose) from being hotlinked in other websites is to use a few mod_rewrite rules in your .htaccess file. [code=php...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB137_How-To-Prevent-Hotlinking-Using-htaccess.html&quot;&gt;Read This Apache Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB137_How-To-Prevent-Hotlinking-Using-htaccess.html</link>
<guid>http://www.geekpedia.com/KB137_How-To-Prevent-Hotlinking-Using-htaccess.html</guid>
<pubDate>Sat, 27 Sep 2008 05:41:11 -0500</pubDate>
</item>
<item>
<title>Google Chrome Beta User Agent String</title>
<description>The first beta version of the Google Chrome browser has an user agent string of its own, and although it will change with the next version, it will most likely follow the same format thus making it safe...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB136_Google-Chrome-Beta-User-Agent-String.html&quot;&gt;Read This Google Chrome Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB136_Google-Chrome-Beta-User-Agent-String.html</link>
<guid>http://www.geekpedia.com/KB136_Google-Chrome-Beta-User-Agent-String.html</guid>
<pubDate>Sat, 20 Sep 2008 05:41:11 -0500</pubDate>
</item>
<item>
<title>Search and replace table field contents</title>
<description>The query below will replace all occurences of &quot;Bob Loblaw Law Blog&quot; found in the field &quot;BlogName&quot; field of the Blogs table. All instances of the string are being replaced, and the search is case sensitive...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB135_Search-and-replace-table-field-contents.html&quot;&gt;Read This MySQL Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB135_Search-and-replace-table-field-contents.html</link>
<guid>http://www.geekpedia.com/KB135_Search-and-replace-table-field-contents.html</guid>
<pubDate>Thu, 18 Sep 2008 23:18:30 -0500</pubDate>
</item>
<item>
<title>How to redirect www requests to non-www URL</title>
<description>   If you would like to redirect all the requests to the www version of an URL to the non-www version - for example http://www.geekpedia.com to http://geekpedia.com - you can do that by placing the...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB134_How-to-redirect-www-requests-to-non-www-URL.html&quot;&gt;Read This Apache Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB134_How-to-redirect-www-requests-to-non-www-URL.html</link>
<guid>http://www.geekpedia.com/KB134_How-to-redirect-www-requests-to-non-www-URL.html</guid>
<pubDate>Wed, 19 Mar 2008 00:18:30 -0500</pubDate>
</item>
<item>
<title>How to have PHP show the errors within the current script</title>
<description>   Before the PHP code starts, add the following lines: error_reporting(E_ALL); ini_set(&#039;display_errors&#039;, &#039;1&#039;);   These two lines set script-wide variables that will allow the errors in your current...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB133_How-to-have-PHP-show-the-errors-within-the-current-script.html&quot;&gt;Read This PHP Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB133_How-to-have-PHP-show-the-errors-within-the-current-script.html</link>
<guid>http://www.geekpedia.com/KB133_How-to-have-PHP-show-the-errors-within-the-current-script.html</guid>
<pubDate>Fri, 29 Feb 2008 21:49:48 -0600</pubDate>
</item>
<item>
<title>How do I change the timeout limit for my PHP code?</title>
<description>   If you would like to overwrite the script execution timeout limit defined in php.ini, you can do that directly from your PHP code using the following line: // Set it to no-limit   set_time_limit...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB132_How-do-I-change-the-timeout-limit-for-my-PHP-code.html&quot;&gt;Read This PHP Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB132_How-do-I-change-the-timeout-limit-for-my-PHP-code.html</link>
<guid>http://www.geekpedia.com/KB132_How-do-I-change-the-timeout-limit-for-my-PHP-code.html</guid>
<pubDate>Sun, 11 Nov 2007 00:51:34 -0600</pubDate>
</item>
<item>
<title>How to improve the performance of your for loops</title>
<description>   Instead of the typical:  for(var i=0; i&amp;lt;theArray.length; i++) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Loop }  Use:  for(var i=0, arrLen=theArray.length; i&amp;lt;arrLen; ++i ) { &amp;nbsp;&amp;nbsp...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB131_How-to-improve-the-performance-of-your-for-loops.html&quot;&gt;Read This JavaScript Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB131_How-to-improve-the-performance-of-your-for-loops.html</link>
<guid>http://www.geekpedia.com/KB131_How-to-improve-the-performance-of-your-for-loops.html</guid>
<pubDate>Fri, 02 Nov 2007 02:33:59 -0500</pubDate>
</item>
<item>
<title>How to pop up the Print dialog from a web page</title>
<description>   You can very easily pop up the Print dialog using a JavaScript call to a function. The following code works in all major browsers, including Internet Explorer and Firefox:  &amp;lt;a href=&amp;quot;#&amp;...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB130_How-to-pop-up-the-Print-dialog-from-a-web-page.html&quot;&gt;Read This JavaScript Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB130_How-to-pop-up-the-Print-dialog-from-a-web-page.html</link>
<guid>http://www.geekpedia.com/KB130_How-to-pop-up-the-Print-dialog-from-a-web-page.html</guid>
<pubDate>Fri, 02 Nov 2007 02:00:56 -0500</pubDate>
</item>
<item>
<title>How to swap two numbers without using a third variable</title>
<description>   Using pointers you can easily swap two variables without using an additional variable to store a temporary value. This is because instead of swapping values, you can swap addresses, as shown in...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB129_How-to-swap-two-numbers-without-using-a-third-variable.html&quot;&gt;Read This C++ Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB129_How-to-swap-two-numbers-without-using-a-third-variable.html</link>
<guid>http://www.geekpedia.com/KB129_How-to-swap-two-numbers-without-using-a-third-variable.html</guid>
<pubDate>Sun, 07 Oct 2007 15:04:57 -0500</pubDate>
</item>
<item>
<title>Regular expression for validating phone numbers</title>
<description>   The following regular expression will validate phone numbers in all well known formats, such as:    555-12-34  555 12 34   555 1234   555 12-34  5551234  (012) 555-12-34  (012) 555 1234 +...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.geekpedia.com/KB128_Regular-expression-for-validating-phone-numbers.html&quot;&gt;Read This Regex Entry&lt;/a&gt;</description>
<link>http://www.geekpedia.com/KB128_Regular-expression-for-validating-phone-numbers.html</link>
<guid>http://www.geekpedia.com/KB128_Regular-expression-for-validating-phone-numbers.html</guid>
<pubDate>Tue, 02 Oct 2007 22:46:57 -0500</pubDate>
</item>
</channel>
</rss>