<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - gbot</title>
<link>http://snipplr.com/users/gbot</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 06 Jul 2008 21:28:03 GMT</pubDate>
<item>
<title>(PHP) PHP - Size converter</title>
<link>http://snipplr.com/view/7124/php--size-converter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Jul 2008 06:32:59 GMT</pubDate>
<guid>http://snipplr.com/view/7124/php--size-converter/</guid>
</item>
<item>
<title>(Apache) Add http header to force IE8 to render in IE7 mode</title>
<link>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</link>
<description><![CDATA[ <p>In summary, IE7 compatibility support looks as follows:

IE=7

Display in IE7 Standards mode; Already supported in the IE8 Beta 1 release

IE=EmulateIE7

Display standards DOCTYPEs in IE7 Standards mode; Display quirks DOCTYPEs in Quirks mode; Available through the IE June Security Update for IE8 Beta 1

There are two ways to implement this tag:

    * On a per-site basis, add a custom HTTP header 

    X-UA-Compatible: IE=EmulateIE7

    * On a per-page basis, add a special HTML tag to each document, right after the  tag 

    

Implementing the HTTP header is beneficial if a site owner wants most of their site to render as it did in IE7 or if there are no plans to update site content. Inclusion of this header honors any Quirks mode pages that belong to the site.

Using the meta-tag on a per-page basis is beneficial when the publisher wants to opt-in specific pages to render as they did in IE7.

NOTE: The X-UA-Compatible tag and header override any existing DOCTYPE. Also, the mode specified by the page takes precedent over the HTTP header. For example, you could add the EmulateIE7 HTTP header to a site, and set specific pages to display in IE8 mode (by using the meta-tag with content=”IE8”).</p> ]]></description>
<pubDate>Thu, 19 Jun 2008 10:16:46 GMT</pubDate>
<guid>http://snipplr.com/view/6781/add-http-header-to-force-ie8-to-render-in-ie7-mode/</guid>
</item>
<item>
<title>(JavaScript) string trim function</title>
<link>http://snipplr.com/view/5905/string-trim-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Apr 2008 05:58:25 GMT</pubDate>
<guid>http://snipplr.com/view/5905/string-trim-function/</guid>
</item>
<item>
<title>(JavaScript) Get browser viewport width and height</title>
<link>http://snipplr.com/view/5896/get-browser-viewport-width-and-height/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Apr 2008 10:49:30 GMT</pubDate>
<guid>http://snipplr.com/view/5896/get-browser-viewport-width-and-height/</guid>
</item>
<item>
<title>(JavaScript) Mootools set file types to open in new window</title>
<link>http://snipplr.com/view/5881/mootools-set-file-types-to-open-in-new-window/</link>
<description><![CDATA[ <p>From: David Walsh.
http://davidwalsh.name/dw-content/open-links.php</p> ]]></description>
<pubDate>Wed, 16 Apr 2008 06:30:23 GMT</pubDate>
<guid>http://snipplr.com/view/5881/mootools-set-file-types-to-open-in-new-window/</guid>
</item>
<item>
<title>(PHP) remove whitespace</title>
<link>http://snipplr.com/view/5683/remove-whitespace/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 03 Apr 2008 10:15:32 GMT</pubDate>
<guid>http://snipplr.com/view/5683/remove-whitespace/</guid>
</item>
<item>
<title>(PHP) Human Readable filesize</title>
<link>http://snipplr.com/view/5570/human-readable-filesize/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 26 Mar 2008 21:22:33 GMT</pubDate>
<guid>http://snipplr.com/view/5570/human-readable-filesize/</guid>
</item>
<item>
<title>(PHP) force page to ssl</title>
<link>http://snipplr.com/view/5555/force-page-to-ssl/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Mar 2008 10:40:06 GMT</pubDate>
<guid>http://snipplr.com/view/5555/force-page-to-ssl/</guid>
</item>
<item>
<title>(Apache) disable IE6 image toolbar with http header via htaccess</title>
<link>http://snipplr.com/view/5554/disable-ie6-image-toolbar-with-http-header-via-htaccess/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Mar 2008 07:25:57 GMT</pubDate>
<guid>http://snipplr.com/view/5554/disable-ie6-image-toolbar-with-http-header-via-htaccess/</guid>
</item>
<item>
<title>(PHP) Rebuild query string</title>
<link>http://snipplr.com/view/5351/rebuild-query-string/</link>
<description><![CDATA[ <p>I modified some code created by Macromedia Dreamweaver into a flexible function to rebuild the query string. The function is very useful for pagination or passing variables from one page to another.In this version it's possible to add more than one variable names into the functions arguments. This names will be filtered from the new generated query string. Just add the variable names you don't need into a comma seperated string.</p> ]]></description>
<pubDate>Mon, 10 Mar 2008 10:37:28 GMT</pubDate>
<guid>http://snipplr.com/view/5351/rebuild-query-string/</guid>
</item>
<item>
<title>(PHP) ultimate validate email function</title>
<link>http://snipplr.com/view/5345/ultimate-validate-email-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Mar 2008 08:15:50 GMT</pubDate>
<guid>http://snipplr.com/view/5345/ultimate-validate-email-function/</guid>
</item>
<item>
<title>(PHP) String begins with</title>
<link>http://snipplr.com/view/5344/string-begins-with/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Mar 2008 07:48:42 GMT</pubDate>
<guid>http://snipplr.com/view/5344/string-begins-with/</guid>
</item>
<item>
<title>(PHP) String to title case</title>
<link>http://snipplr.com/view/5343/string-to-title-case/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Mar 2008 07:42:39 GMT</pubDate>
<guid>http://snipplr.com/view/5343/string-to-title-case/</guid>
</item>
<item>
<title>(PHP) php redirect function</title>
<link>http://snipplr.com/view/5337/php-redirect-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 09:33:21 GMT</pubDate>
<guid>http://snipplr.com/view/5337/php-redirect-function/</guid>
</item>
<item>
<title>(PHP) Get file extension</title>
<link>http://snipplr.com/view/5336/get-file-extension/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 09:32:29 GMT</pubDate>
<guid>http://snipplr.com/view/5336/get-file-extension/</guid>
</item>
<item>
<title>(PHP) encode mailto: link</title>
<link>http://snipplr.com/view/5334/encode-mailto-link/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 09:20:40 GMT</pubDate>
<guid>http://snipplr.com/view/5334/encode-mailto-link/</guid>
</item>
<item>
<title>(CSS) Another CSS autoclear</title>
<link>http://snipplr.com/view/5333/another-css-autoclear/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 08:28:06 GMT</pubDate>
<guid>http://snipplr.com/view/5333/another-css-autoclear/</guid>
</item>
<item>
<title>(JavaScript) form input prefill clearer and reset</title>
<link>http://snipplr.com/view/5332/form-input-prefill-clearer-and-reset/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 08:04:52 GMT</pubDate>
<guid>http://snipplr.com/view/5332/form-input-prefill-clearer-and-reset/</guid>
</item>
<item>
<title>(JavaScript) javascript get/set/del cookies</title>
<link>http://snipplr.com/view/5330/javascript-getsetdel-cookies/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 01:26:26 GMT</pubDate>
<guid>http://snipplr.com/view/5330/javascript-getsetdel-cookies/</guid>
</item>
<item>
<title>(PHP) Php string in string function</title>
<link>http://snipplr.com/view/5329/php-string-in-string-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 01:24:02 GMT</pubDate>
<guid>http://snipplr.com/view/5329/php-string-in-string-function/</guid>
</item>
</channel>
</rss>