<?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:31:26 +0000</lastBuildDate>
    <item>
      <title>(PHP) 2 way encryption / decryption in PHP w/ mcrypt - bradless</title>
      <link>https://snipplr.com/view/46950/2-way-encryption--decryption-in-php-w-mcrypt</link>
      <description>&lt;p&gt;Here are some functions I found on the net that will allow you to easily do encryption / decryption as long as you have the mcrypt extension loaded with PHP.&lt;/p&gt;</description>
      <pubDate>Wed, 12 Jan 2011 01:40:04 UTC</pubDate>
      <guid>https://snipplr.com/view/46950/2-way-encryption--decryption-in-php-w-mcrypt</guid>
    </item>
    <item>
      <title>(PHP) Prevent Web Page from Expiring - bradless</title>
      <link>https://snipplr.com/view/46885/prevent-web-page-from-expiring</link>
      <description>&lt;p&gt;I use the following code to prevent a user from getting a "webpage expired" message when hitting the back button on a page where the search results are also on the page with the form.&lt;/p&gt;</description>
      <pubDate>Tue, 11 Jan 2011 01:50:39 UTC</pubDate>
      <guid>https://snipplr.com/view/46885/prevent-web-page-from-expiring</guid>
    </item>
    <item>
      <title>(CSS) Force a Page Break When Printing a Web Page - bradless</title>
      <link>https://snipplr.com/view/32613/force-a-page-break-when-printing-a-web-page</link>
      <description>&lt;p&gt;This will force a page break where this class appears.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Apr 2010 15:44:45 UTC</pubDate>
      <guid>https://snipplr.com/view/32613/force-a-page-break-when-printing-a-web-page</guid>
    </item>
    <item>
      <title>(Other) Rollback to previous package version after upgrade with Ubuntu 8.04LTS and apt - bradless</title>
      <link>https://snipplr.com/view/31445/rollback-to-previous-package-version-after-upgrade-with-ubuntu-804lts-and-apt</link>
      <description>&lt;p&gt;I recently did an upgrade using apt-get update / upgrade and one of the packages didn't fair so well so I needed to roll it back.&lt;/p&gt;</description>
      <pubDate>Mon, 12 Apr 2010 14:09:43 UTC</pubDate>
      <guid>https://snipplr.com/view/31445/rollback-to-previous-package-version-after-upgrade-with-ubuntu-804lts-and-apt</guid>
    </item>
    <item>
      <title>(PHP) convert date to YYYY-MM-DD with PHP - bradless</title>
      <link>https://snipplr.com/view/31164/convert-date-to-yyyymmdd-with-php</link>
      <description>&lt;p&gt;This will convert dates from MM-DD-YYYY to YYYY-MM-DD (iso format)&lt;/p&gt;</description>
      <pubDate>Fri, 09 Apr 2010 08:43:59 UTC</pubDate>
      <guid>https://snipplr.com/view/31164/convert-date-to-yyyymmdd-with-php</guid>
    </item>
    <item>
      <title>(PHP) Prompt user to open or save when delivering file data stored in database with PHP - bradless</title>
      <link>https://snipplr.com/view/30225/prompt-user-to-open-or-save-when-delivering-file-data-stored-in-database-with-php</link>
      <description>&lt;p&gt;This set of headers works for me when I output file data from the database for the user to save or open.&lt;/p&gt;</description>
      <pubDate>Wed, 24 Mar 2010 14:28:02 UTC</pubDate>
      <guid>https://snipplr.com/view/30225/prompt-user-to-open-or-save-when-delivering-file-data-stored-in-database-with-php</guid>
    </item>
    <item>
      <title>(PHP) uploaded file handling with php - bradless</title>
      <link>https://snipplr.com/view/30181/uploaded-file-handling-with-php</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 23 Mar 2010 16:44:06 UTC</pubDate>
      <guid>https://snipplr.com/view/30181/uploaded-file-handling-with-php</guid>
    </item>
    <item>
      <title>(MySQL) calculate the difference between dates in one columns within the same  table - bradless</title>
      <link>https://snipplr.com/view/28622/calculate-the-difference-between-dates-in-one-columns-within-the-same--table</link>
      <description>&lt;p&gt;I use something similar to the example to get the difference between statuses in a status log table that I have. It comes in handy when determining the number of days between status changes. This works in MySQL 5.0.&lt;/p&gt;</description>
      <pubDate>Fri, 19 Feb 2010 12:06:53 UTC</pubDate>
      <guid>https://snipplr.com/view/28622/calculate-the-difference-between-dates-in-one-columns-within-the-same--table</guid>
    </item>
    <item>
      <title>(jQuery) Alternate Row Colors / Zebra Striping with jQuery - bradless</title>
      <link>https://snipplr.com/view/28196/alternate-row-colors--zebra-striping-with-jquery</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 11 Feb 2010 15:13:44 UTC</pubDate>
      <guid>https://snipplr.com/view/28196/alternate-row-colors--zebra-striping-with-jquery</guid>
    </item>
    <item>
      <title>(PHP) Escaping Multiple Post Values for MySQL with PHP - bradless</title>
      <link>https://snipplr.com/view/27924/escaping-multiple-post-values-for-mysql-with-php</link>
      <description>&lt;p&gt;This is useful for escaping multiple values in a POST array.&lt;/p&gt;</description>
      <pubDate>Mon, 08 Feb 2010 11:06:26 UTC</pubDate>
      <guid>https://snipplr.com/view/27924/escaping-multiple-post-values-for-mysql-with-php</guid>
    </item>
    <item>
      <title>(MySQL) Specify 'Order By' order - bradless</title>
      <link>https://snipplr.com/view/27049/specify-order-by-order</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 25 Jan 2010 15:10:44 UTC</pubDate>
      <guid>https://snipplr.com/view/27049/specify-order-by-order</guid>
    </item>
  </channel>
</rss>
