<?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 21:25:11 +0000</lastBuildDate>
    <item>
      <title>(PHP) Credit card Year dropdown - acosonic</title>
      <link>https://snipplr.com/view/174985/credit-card-year-dropdown</link>
      <description>&lt;p&gt;This snippet adds credit card select box dropdown values 10 years in future from current year.&lt;/p&gt;</description>
      <pubDate>Wed, 14 Sep 2016 23:00:37 UTC</pubDate>
      <guid>https://snipplr.com/view/174985/credit-card-year-dropdown</guid>
    </item>
    <item>
      <title>(PHP) PHP force file download instead opening in new tab/window - acosonic</title>
      <link>https://snipplr.com/view/22546/php-force-file-download-instead-opening-in-new-tabwindow</link>
      <description>&lt;p&gt;provide file via URL var, and script will grab it &amp; force download. Take a look at code, and add some of your filetypes if required&lt;/p&gt;</description>
      <pubDate>Thu, 05 Nov 2009 02:51:13 UTC</pubDate>
      <guid>https://snipplr.com/view/22546/php-force-file-download-instead-opening-in-new-tabwindow</guid>
    </item>
    <item>
      <title>(PHP) Using PHP's filter_var to validate email or number - acosonic</title>
      <link>https://snipplr.com/view/19122/using-phps-filtervar-to-validate-email-or-number</link>
      <description>&lt;p&gt;This code generates SQL depending on semantic type of  variable from user input.&#13;
&#13;
php&gt;5.2&lt;/p&gt;</description>
      <pubDate>Tue, 01 Sep 2009 09:32:53 UTC</pubDate>
      <guid>https://snipplr.com/view/19122/using-phps-filtervar-to-validate-email-or-number</guid>
    </item>
    <item>
      <title>(PHP) getting content of URL via fopen and fread to variable - acosonic</title>
      <link>https://snipplr.com/view/19046/getting-content-of-url-via-fopen-and-fread-to-variable</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 31 Aug 2009 02:09:45 UTC</pubDate>
      <guid>https://snipplr.com/view/19046/getting-content-of-url-via-fopen-and-fread-to-variable</guid>
    </item>
    <item>
      <title>(PHP) grabbing content from URL via CURL to PHP variable - acosonic</title>
      <link>https://snipplr.com/view/19043/grabbing-content-from-url-via-curl-to-php-variable</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 31 Aug 2009 01:42:05 UTC</pubDate>
      <guid>https://snipplr.com/view/19043/grabbing-content-from-url-via-curl-to-php-variable</guid>
    </item>
    <item>
      <title>(PHP) Sending multipart/alternative (text and html both together) email messages from PHP directly via sendmail - acosonic</title>
      <link>https://snipplr.com/view/18943/sending-multipartalternative-text-and-html-both-together-email-messages-from-php-directly-via-sendmail</link>
      <description>&lt;p&gt;sendmail needs to be working and configured properly&#13;
&#13;
uses popen and fputs&lt;/p&gt;</description>
      <pubDate>Fri, 28 Aug 2009 03:30:06 UTC</pubDate>
      <guid>https://snipplr.com/view/18943/sending-multipartalternative-text-and-html-both-together-email-messages-from-php-directly-via-sendmail</guid>
    </item>
    <item>
      <title>(PHP) Mysql query in PHP with proper error detection - acosonic</title>
      <link>https://snipplr.com/view/18892/mysql-query-in-php-with-proper-error-detection</link>
      <description>&lt;p&gt;Dumps whole query so developer can see where is error. However it's potential security issue, exposing SQL commands to attacker. (Recommended to use only during development, replace message code with some custom error text)&lt;/p&gt;</description>
      <pubDate>Thu, 27 Aug 2009 02:08:56 UTC</pubDate>
      <guid>https://snipplr.com/view/18892/mysql-query-in-php-with-proper-error-detection</guid>
    </item>
  </channel>
</rss>
