title: How do I POST an array with multipart/form-data encoding?
body: <p>In a GET parameter string, or an "x-www-form-urlencoded" POST request, it's possible to specify an array of parameters by naming them with brackets (e.g. "name[]").</p>
  
  <p>Is there a "correct" (or at least a wide-spread convention) way to specify an array of parameters with a "multipart/form-data" POST request?</p>
  
  <p>Would the following be correct?</p>
  
  <pre><code>Content-Type: multipart/form-data; boundary=--abc
  
  --abc
  Content-Disposition: form-data; name="name[]"
  
  first index
  --abc
  Content-Disposition: form-data; name="name[]"
  
  second index
  </code></pre>
  
  <p>If it varies by platform, I'm interested in the convention for Apache/PHP.</p>