<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - tasmanweb</title>
<link>http://snipplr.com/users/tasmanweb</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 04:36:58 GMT</pubDate>
<item>
<title>(PHP) kill url injection when using 'PHP_SELF'</title>
<link>http://snipplr.com/view/70441/kill-url-injection-when-using-phpself/</link>
<description><![CDATA[ <p>kill url injection when using 'PHP_SELF' in forms</p> ]]></description>
<pubDate>Sat, 16 Mar 2013 01:55:23 GMT</pubDate>
<guid>http://snipplr.com/view/70441/kill-url-injection-when-using-phpself/</guid>
</item>
<item>
<title>(PHP) is_empty() : safely test for an empty string (or mixed variable)</title>
<link>http://snipplr.com/view/70440/isempty--safely-test-for-an-empty-string-or-mixed-variable/</link>
<description><![CDATA[ <p>a function to safely test for an empty string (or mixed variable) in cases when "0" is not intended to be empty</p> ]]></description>
<pubDate>Sat, 16 Mar 2013 01:38:30 GMT</pubDate>
<guid>http://snipplr.com/view/70440/isempty--safely-test-for-an-empty-string-or-mixed-variable/</guid>
</item>
<item>
<title>(PHP) stripformslashes: strip extra slashes if magic quotes is on, works with strings or arrays</title>
<link>http://snipplr.com/view/52822/stripformslashes-strip-extra-slashes-if-magic-quotes-is-on-works-with-strings-or-arrays/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 30 Apr 2011 01:15:25 GMT</pubDate>
<guid>http://snipplr.com/view/52822/stripformslashes-strip-extra-slashes-if-magic-quotes-is-on-works-with-strings-or-arrays/</guid>
</item>
<item>
<title>(PHP) Makes a html year select starting at the current + the next 2 years</title>
<link>http://snipplr.com/view/52820/makes-a-html-year-select-starting-at-the-current--the-next-2-years/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 30 Apr 2011 01:11:21 GMT</pubDate>
<guid>http://snipplr.com/view/52820/makes-a-html-year-select-starting-at-the-current--the-next-2-years/</guid>
</item>
<item>
<title>(PHP) random alphanumeric text of length $codelength</title>
<link>http://snipplr.com/view/52819/random-alphanumeric-text-of-length-codelength/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 30 Apr 2011 01:04:30 GMT</pubDate>
<guid>http://snipplr.com/view/52819/random-alphanumeric-text-of-length-codelength/</guid>
</item>
<item>
<title>(PHP) printr: print_r replacement that can  handle nested arrays and strings</title>
<link>http://snipplr.com/view/52686/printr-printr-replacement-that-can--handle-nested-arrays-and-strings/</link>
<description><![CDATA[ <p>A print_r replacement function that can  handle nested arrays and strings.
Usage: printr($array);</p> ]]></description>
<pubDate>Thu, 28 Apr 2011 01:25:08 GMT</pubDate>
<guid>http://snipplr.com/view/52686/printr-printr-replacement-that-can--handle-nested-arrays-and-strings/</guid>
</item>
<item>
<title>(PHP) Extended parse_url: parses a url correctly even with a url as query parameter</title>
<link>http://snipplr.com/view/52685/extended-parseurl-parses-a-url-correctly-even-with-a-url-as-query-parameter/</link>
<description><![CDATA[ <p>Parses a url correctly even with a url as query parameter,  also retuns dirname, basename and extension besides the other parse_url bits. See comments for more info.</p> ]]></description>
<pubDate>Thu, 28 Apr 2011 01:19:53 GMT</pubDate>
<guid>http://snipplr.com/view/52685/extended-parseurl-parses-a-url-correctly-even-with-a-url-as-query-parameter/</guid>
</item>
<item>
<title>(PHP) month_length: number of days in the month taking leap-years into account</title>
<link>http://snipplr.com/view/52684/monthlength-number-of-days-in-the-month-taking-leapyears-into-account/</link>
<description><![CDATA[ <p>Returns the number of days in the month taking leap-years into account.</p> ]]></description>
<pubDate>Thu, 28 Apr 2011 01:11:13 GMT</pubDate>
<guid>http://snipplr.com/view/52684/monthlength-number-of-days-in-the-month-taking-leapyears-into-account/</guid>
</item>
<item>
<title>(PHP) is_int(): accurately test for integer</title>
<link>http://snipplr.com/view/52682/isint-accurately-test-for-integer/</link>
<description><![CDATA[ <p>A better and more accurate function to see if a value is an integer.</p> ]]></description>
<pubDate>Thu, 28 Apr 2011 01:07:11 GMT</pubDate>
<guid>http://snipplr.com/view/52682/isint-accurately-test-for-integer/</guid>
</item>
<item>
<title>(PHP) is_odd</title>
<link>http://snipplr.com/view/52681/isodd/</link>
<description><![CDATA[ <p>returns TRUE if the given number is odd else FALSE.
remember: if a number is not odd then that doesn't automatically mean it is even (fractions, negative numbers).
even = number / 2 = 0.
odd = number / 2 = 1.</p> ]]></description>
<pubDate>Thu, 28 Apr 2011 01:04:20 GMT</pubDate>
<guid>http://snipplr.com/view/52681/isodd/</guid>
</item>
<item>
<title>(PHP) is_even</title>
<link>http://snipplr.com/view/52680/iseven/</link>
<description><![CDATA[ <p>returns TRUE if the given number is even else FALSE.
remember: if a number is not even then that doesn't automatically mean it is odd (fractions, negative numbers). 
even = number / 2 = 0. 
odd = number / 2 = 1.</p> ]]></description>
<pubDate>Thu, 28 Apr 2011 01:02:26 GMT</pubDate>
<guid>http://snipplr.com/view/52680/iseven/</guid>
</item>
</channel>
</rss>