title: Truncated/missing form data when form contains large number of inputs?
body: <p><strong>The Background</strong><br>
  I am using CodeIgniter 2.1.4 and PHP 5.3 running on Nginx. I have an HTML form representing what is essentially rows of homogeneous data. Each "row" has several <code>&lt;input /&gt;</code> fields, each with the same name. Here's a simplified example:</p>
  
  <pre><code>&lt;input type="text" name="firstname[]" /&gt;
  &lt;input type="text" name="lastname[]" /&gt;
  </code></pre>
  
  <p>So, I've got many <code>firstname[]</code> inputs, <code>lastname[]</code> inputs, etc. After submitting the form (the action is <code>POST</code>), I retrieve the data in a controller method like so (note that I'm using CodeIgniter):</p>
  
  <pre><code>$firstnames = $this-&gt;input-&gt;post('firstnames');
  $lastnames = $this-&gt;input-&gt;post('lastnames');
  </code></pre>
  
  <p>These variables are arrays containing the values from the corresponding rows in the form, and from here I do some processing on this data.</p>
  
  <p><strong>The Problem</strong><br>
  When the number of rows in the form is large (several hundred), the size of the resulting PHP arrays <strong>do not match the number of inputs in the form</strong> -- for example, the form might have 200 <code>firstname</code> inputs, but the <code>$firstname</code> array only has 167. What's more, the <code>$lastname</code> variable has a different size as well -- 166. </p>
  
  <p>When the form has a smaller number of elements, everything works fine.</p>
  
  <p>My theory is that I am exceeding some sort of maximum size setting or buffer somewhere in the stack, causing the form data to be truncated. Is there a PHP or CodeIgniter or nginx setting for "maximum form size" that I am not aware of? </p>
  
  <p>For what it's worth, I have seen the same behavior when using both <code>application/x-www-form-urlencoded</code> or <code>multipart/form-data</code> as the content type for the form. </p>
  
  <p>What am I missing?</p>