<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/favorites/depiction</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 19:26:37 GMT</pubDate>
<item>
<title>(PHP) Clean Up WordPress 3.0+ Head - depiction</title>
<link>http://snipplr.com/view/50695/clean-up-wordpress-30-head/</link>
<description><![CDATA[ <p>Clean up the crap in wp_head(). Put it in yo functions file.</p> ]]></description>
<pubDate>Wed, 16 Mar 2011 00:23:12 GMT</pubDate>
<guid>http://snipplr.com/view/50695/clean-up-wordpress-30-head/</guid>
</item>
<item>
<title>(Apache) 301 Redirect for Query Strings - depiction</title>
<link>http://snipplr.com/view/49133/301-redirect-for-query-strings/</link>
<description><![CDATA[ <p>Key for code below:

querystring = just the query string. (e.g. url=page)
index = the page that the query string is appended to (e.g. index.php)
domain.com = the domain and page you want to rewrite to</p> ]]></description>
<pubDate>Thu, 17 Feb 2011 07:49:24 GMT</pubDate>
<guid>http://snipplr.com/view/49133/301-redirect-for-query-strings/</guid>
</item>
<item>
<title>(PHP) Manually load (Google's) Latest jQuery in Wordpress - depiction</title>
<link>http://snipplr.com/view/17540/manually-load-googles-latest-jquery-in-wordpress/</link>
<description><![CDATA[ <p>The URL is normative and has nothing to do with the Source. Because so many blog posts with so few solutions (either outmoded or simply not relevant).

This allows you to prevent Wordpress's $script->add(); function (in "wp-includes/script-loader.php") from loading jQuery; then you can load Google's stored copy of jQuery (with gzip, so that you get the as-advertised 19kb, depending on server specifications, though).</p> ]]></description>
<pubDate>Mon, 27 Jul 2009 19:06:33 GMT</pubDate>
<guid>http://snipplr.com/view/17540/manually-load-googles-latest-jquery-in-wordpress/</guid>
</item>
<item>
<title>(PHP) Prevent SQL Injection - depiction</title>
<link>http://snipplr.com/view/4205/prevent-sql-injection/</link>
<description><![CDATA[ <p>Pass a user-inputted variable to this function in order to prevent SQL injection. Example:

mysql_query("INSERT INTO table VALUES('" . sql_sanitize($_POST["variable") . "')");

Instead of:

mysql_query("INSERT INTO table VALUES('" . $_POST["variable"] . "'");</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 09:25:01 GMT</pubDate>
<guid>http://snipplr.com/view/4205/prevent-sql-injection/</guid>
</item>
<item>
<title>(PHP) 301 Redirect Google Safe - depiction</title>
<link>http://snipplr.com/view/2491/301-redirect-google-safe/</link>
<description><![CDATA[ <p>This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let Google know your address has changed.</p> ]]></description>
<pubDate>Mon, 16 Apr 2007 21:08:19 GMT</pubDate>
<guid>http://snipplr.com/view/2491/301-redirect-google-safe/</guid>
</item>
<item>
<title>(SQL) Command line instructions to create a database in MySQL - depiction</title>
<link>http://snipplr.com/view/875/command-line-instructions-to-create-a-database-in-mysql/</link>
<description><![CDATA[ <p>$ mysql -u ''adminusername'' -p</p> ]]></description>
<pubDate>Mon, 21 Aug 2006 01:09:40 GMT</pubDate>
<guid>http://snipplr.com/view/875/command-line-instructions-to-create-a-database-in-mysql/</guid>
</item>
<item>
<title>(PHP) Check for valid email address - depiction</title>
<link>http://snipplr.com/view/2/check-for-valid-email-address/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 30 Nov -0001 00:00:00 GMT</pubDate>
<guid>http://snipplr.com/view/2/check-for-valid-email-address/</guid>
</item>
</channel>
</rss>