<?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 17:30:54 +0000</lastBuildDate>
    <item>
      <title>(Perl) Process PHP-style array (square brackets) from HTML form in Perl CGI - ptepper</title>
      <link>https://snipplr.com/view/21336/process-phpstyle-array-square-brackets-from-html-form-in-perl-cgi</link>
      <description>&lt;p&gt;This is inspired by this http://www.cgi101.com/book/ch5/text.html so I'm using a similar example. In PHP you can combine a set of checkboxes into an array using square brackets like this:&#13;
&#13;
&lt;form&gt;&#13;
      &lt;input&gt; Red&lt;br&gt;&#13;
      &lt;input&gt; Green&lt;br&gt;&#13;
      &lt;input&gt; Blue&lt;br&gt;&#13;
      &lt;input&gt; Gold&lt;br&gt;&#13;
      &lt;input&gt;&#13;
&lt;/form&gt;&#13;
&#13;
PHP does not do this automatically but it's pretty simple to do if you filter by regular expressions.&lt;/p&gt;</description>
      <pubDate>Fri, 16 Oct 2009 16:19:42 UTC</pubDate>
      <guid>https://snipplr.com/view/21336/process-phpstyle-array-square-brackets-from-html-form-in-perl-cgi</guid>
    </item>
  </channel>
</rss>
