<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:10:58 +0000</lastBuildDate>
    <item>
      <title>(PHP) kill url injection when using 'PHP_SELF' - tasmanweb</title>
      <link>https://snipplr.com/view/70441/kill-url-injection-when-using-phpself</link>
      <description>&lt;p&gt;kill url injection when using 'PHP_SELF' in forms&lt;/p&gt;</description>
      <pubDate>Sat, 16 Mar 2013 01:55:23 UTC</pubDate>
      <guid>https://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) - tasmanweb</title>
      <link>https://snipplr.com/view/70440/isempty--safely-test-for-an-empty-string-or-mixed-variable</link>
      <description>&lt;p&gt;a function to safely test for an empty string (or mixed variable) in cases when "0" is not intended to be empty&lt;/p&gt;</description>
      <pubDate>Sat, 16 Mar 2013 01:38:30 UTC</pubDate>
      <guid>https://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 - tasmanweb</title>
      <link>https://snipplr.com/view/52822/stripformslashes-strip-extra-slashes-if-magic-quotes-is-on-works-with-strings-or-arrays</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 30 Apr 2011 01:15:25 UTC</pubDate>
      <guid>https://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 - tasmanweb</title>
      <link>https://snipplr.com/view/52820/makes-a-html-year-select-starting-at-the-current--the-next-2-years</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 30 Apr 2011 01:11:21 UTC</pubDate>
      <guid>https://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 - tasmanweb</title>
      <link>https://snipplr.com/view/52819/random-alphanumeric-text-of-length-codelength</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 30 Apr 2011 01:04:30 UTC</pubDate>
      <guid>https://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 - tasmanweb</title>
      <link>https://snipplr.com/view/52686/printr-printr-replacement-that-can--handle-nested-arrays-and-strings</link>
      <description>&lt;p&gt;A print_r replacement function that can  handle nested arrays and strings.&#13;
Usage: printr($array);&lt;/p&gt;</description>
      <pubDate>Thu, 28 Apr 2011 01:25:08 UTC</pubDate>
      <guid>https://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 - tasmanweb</title>
      <link>https://snipplr.com/view/52685/extended-parseurl-parses-a-url-correctly-even-with-a-url-as-query-parameter</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Thu, 28 Apr 2011 01:19:53 UTC</pubDate>
      <guid>https://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 - tasmanweb</title>
      <link>https://snipplr.com/view/52684/monthlength-number-of-days-in-the-month-taking-leapyears-into-account</link>
      <description>&lt;p&gt;Returns the number of days in the month taking leap-years into account.&lt;/p&gt;</description>
      <pubDate>Thu, 28 Apr 2011 01:11:13 UTC</pubDate>
      <guid>https://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 - tasmanweb</title>
      <link>https://snipplr.com/view/52682/isint-accurately-test-for-integer</link>
      <description>&lt;p&gt;A better and more accurate function to see if a value is an integer.&lt;/p&gt;</description>
      <pubDate>Thu, 28 Apr 2011 01:07:11 UTC</pubDate>
      <guid>https://snipplr.com/view/52682/isint-accurately-test-for-integer</guid>
    </item>
  </channel>
</rss>
