<?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 12:09:01 +0000</lastBuildDate>
    <item>
      <title>(PHP) PHP: Remove Everything But Letters And Numbers â€“ Reg Expressions - Wardy</title>
      <link>https://snipplr.com/view/33404/php-remove-everything-but-letters-and-numbers--reg-expressions</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 28 Apr 2010 04:18:21 UTC</pubDate>
      <guid>https://snipplr.com/view/33404/php-remove-everything-but-letters-and-numbers--reg-expressions</guid>
    </item>
    <item>
      <title>(PHP) PHP Check if number is odd - Wardy</title>
      <link>https://snipplr.com/view/11430/php-check-if-number-is-odd</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 22 Jan 2009 05:55:10 UTC</pubDate>
      <guid>https://snipplr.com/view/11430/php-check-if-number-is-odd</guid>
    </item>
    <item>
      <title>(PHP) Retrieve valid entries for a MySQL ENUM/SET column - Wardy</title>
      <link>https://snipplr.com/view/10428/retrieve-valid-entries-for-a-mysql-enumset-column</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 12 Dec 2008 06:50:48 UTC</pubDate>
      <guid>https://snipplr.com/view/10428/retrieve-valid-entries-for-a-mysql-enumset-column</guid>
    </item>
    <item>
      <title>(PHP) php - Capitalise First Letter of Words - Wardy</title>
      <link>https://snipplr.com/view/10286/php--capitalise-first-letter-of-words</link>
      <description>&lt;p&gt;First Remove all capital letters, then capitalise the first ones in each word.&lt;/p&gt;</description>
      <pubDate>Fri, 05 Dec 2008 08:04:30 UTC</pubDate>
      <guid>https://snipplr.com/view/10286/php--capitalise-first-letter-of-words</guid>
    </item>
    <item>
      <title>(PHP) Create easily readable password in PHP - Wardy</title>
      <link>https://snipplr.com/view/9712/create-easily-readable-password-in-php</link>
      <description>&lt;p&gt;Now, itâ€™s true that if we use this function to generate passwords, the passwords created will be less secure â€” this function can only create 285 (17 million) different five-character passwords whereas if I had included the missing characters this number wouldâ€™ve been 365 (60 million). Thatâ€™s a trade-off youâ€™ll have to accept in return for fewer frustrated users having difficulty logging on to your site, which can be mitigated by forcing users to change their generated password to something chosen by them.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Nov 2008 08:10:18 UTC</pubDate>
      <guid>https://snipplr.com/view/9712/create-easily-readable-password-in-php</guid>
    </item>
    <item>
      <title>(PHP) Save session value - then header redirect - Wardy</title>
      <link>https://snipplr.com/view/9186/save-session-value--then-header-redirect</link>
      <description>&lt;p&gt;The problem is some times the redirect may kick you off to the next page before all the session variables have been saved. The true solution to lost session vars on redirect is to simply call session_write_close(); before setting the redirect header. This will insure that php finishes writing the session info before page redirect gets underway.&lt;/p&gt;</description>
      <pubDate>Wed, 22 Oct 2008 06:18:05 UTC</pubDate>
      <guid>https://snipplr.com/view/9186/save-session-value--then-header-redirect</guid>
    </item>
    <item>
      <title>(PHP) php - validating email address - Reg Expresion - Wardy</title>
      <link>https://snipplr.com/view/8570/php--validating-email-address--reg-expresion</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 24 Sep 2008 06:00:02 UTC</pubDate>
      <guid>https://snipplr.com/view/8570/php--validating-email-address--reg-expresion</guid>
    </item>
    <item>
      <title>(PHP) A PHP function to return the first N words from a string - Wardy</title>
      <link>https://snipplr.com/view/8480/a-php-function-to-return-the-first-n-words-from-a-string</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 18 Sep 2008 11:18:03 UTC</pubDate>
      <guid>https://snipplr.com/view/8480/a-php-function-to-return-the-first-n-words-from-a-string</guid>
    </item>
    <item>
      <title>(PHP) How to strip HTML tags, scripts, and styles from a web page - Wardy</title>
      <link>https://snipplr.com/view/8404/how-to-strip-html-tags-scripts-and-styles-from-a-web-page</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 15 Sep 2008 08:55:03 UTC</pubDate>
      <guid>https://snipplr.com/view/8404/how-to-strip-html-tags-scripts-and-styles-from-a-web-page</guid>
    </item>
  </channel>
</rss>
