title: $_POST is empty data in PHP
body: <p>I'm having an odd issue with my $_POST data not coming through. First, this works fine on my local host, but doesn't work on my shared host on the web. Here's the form:</p>
  
  <pre><code>&lt;form action="/add" method="POST" enctype="multipart/form-data"&gt;
  
  &lt;div&gt;
      Name : &lt;input type='text' name='form[name]' class='form-text ' value="" style='width: 350px' placeholder="I.E. Boulder Vote Bus" maxlength="30"/&gt;
  &lt;/div&gt;
  &lt;div&gt;
      Description : &lt;textarea name='form[description]' class='form-bigbox '/&gt;&lt;/textarea&gt;
  &lt;/div&gt;
  &lt;div class='clearfix pull-left'&gt;
      Logo: &lt;input type="file" name='form[image_name]' class='' value="" accept="image/jpeg, image/jpg, image/png"/&gt;
  &lt;/div&gt;
  &lt;div class='clearfix'&gt;&lt;/div&gt;
  &lt;div&gt;
      &lt;span id='date' class='change'&gt;
          Date : &lt;input type='text' name='form[date]' id='datepicker' class='form-text ' placeholder="mm/dd/yyyy" value="" style='width: 160px;'/&gt; 
      &lt;/span&gt;
      Time : &lt;input type='text' name='form[hr]' class='form-text ' style='width: 40px;' placeholder="01" value=""/&gt; : &lt;input type='text' style='width: 40px;' name='form[min]' class='form-text ' placeholder="00" value=""/&gt; &lt;select name='form[ampm]' class='form-text form-select' style='width: 60px;'&gt;&lt;option value='am' &gt;AM&lt;/option&gt;&lt;option value='pm' &gt;PM&lt;/option&gt;&lt;/select&gt;
  &lt;/div&gt;
  &lt;div&gt;
      Your Email : &lt;input type='text' name='form[email]' class='form-text '  value="" style='width: 350px' placeholder="hero@voterides.com"/&gt;
  &lt;/div&gt;
  &lt;div&gt;
      Zip code : &lt;input type='text' name='form[zipcode]' class='form-text '  value="" placeholder="80304"/&gt; Radius : &lt;input type='text' name='form[radius]' class='form-text '  value="" placeholder="25" style='width:50px;'/&gt; mi
  &lt;/div&gt;
                      &lt;div&gt;
                              &lt;input type='submit' class='form-submit btn-warning' value='Create a Ride' /&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Problem is, after I submit the form, I have no $_POST data. If I do <code>echo serialize($_POST);</code> I get <code>a:0:{}</code>. However, if I do, <code>echo file_get_contents('php://input');</code> I get the following:</p>
  
  <pre><code>------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[name]"
  
  
  
  Some Name
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[description]"
  
  
  
  Some Description
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[image_name]"; filename=""
  
  Content-Type: application/octet-stream
  
  
  
  
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[date]"
  
  
  
  
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[hr]"
  
  
  
  
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[min]"
  
  
  
  
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[ampm]"
  
  
  
  am
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[email]"
  
  
  
  
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[zipcode]"
  
  
  
  
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO
  
  Content-Disposition: form-data; name="form[radius]"
  
  
  
  
  
  ------WebKitFormBoundaryLCabCxfMMHCvWsAO--
  </code></pre>
  
  <p>Furthermore, and odder, if I take the form down to just 3 elements, it works. Any 3 elements are fine, but 4 and it doesn't work. Additionally, other forms on the site (with more than 3 elements) work just fine. It's just this one.</p>
  
  <p>Here are some relevant PHP settings from my shared host:</p>
  
  <pre><code>PHP Version 5.3.16
  max_execution_time  300 
  max_file_uploads    20  
  max_input_time  -1  -1
  max_input_vars  1000    1000
  memory_limit    128M    128M
  post_max_size   500M    500M 
  </code></pre>
  
  <p>If it's a server setting, any idea what it could be? Seems like a size issue, but there just isn't that much data being passed (all of these are small values).</p>
  
  <p>I have an htaccess, but I don't think it's related (I'm using codeigniter, and it's the standard CI htaccess, and my other forms submit a-ok):</p>
  
  <pre><code>AddDefaultCharset UTF-8
  &lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
      RewriteBase /
  
      #Removes access to the system folder by users.
      #Additionally this will allow you to create a System.php controller,
      #previously this would not have been possible.
      #'system' can be replaced if you have renamed your system folder.
      RewriteCond %{REQUEST_URI} ^system.*
      RewriteRule ^(.*)$ /index.php?/$1 [L]
  
      #When your application folder isn't in the system folder
      #This snippet prevents user access to the application folder
      #Submitted by: Fabdrol
      #Rename 'application' to your applications folder name.
      RewriteCond %{REQUEST_URI} ^application.*
      RewriteRule ^(.*)$ /index.php?/$1 [L]
  
      #Checks to see if the user is attempting to access a valid file,
      #such as an image or css document, if this isn't true it sends the
      #request to index.php
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Here's what print_r($_SERVER) produces (slightly redacted for security sake):</p>
  
  <pre><code>Array
  (
      [CONTENT_LENGTH] =&gt; 1077
      [CONTENT_TYPE] =&gt; multipart/form-data; boundary=----WebKitFormBoundarydBnbAkAUNJntI6dz
      [DOCUMENT_ROOT] =&gt; [redaced]
      [GATEWAY_INTERFACE] =&gt; CGI/1.1
      [HTTP_ACCEPT] =&gt; text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      [HTTP_ACCEPT_CHARSET] =&gt; ISO-8859-1,utf-8;q=0.7,*;q=0.3
      [HTTP_ACCEPT_ENCODING] =&gt; gzip,deflate,sdch
      [HTTP_ACCEPT_LANGUAGE] =&gt; en-US,en;q=0.8
      [HTTP_CACHE_CONTROL] =&gt; max-age=0
      [HTTP_CONNECTION] =&gt; keep-alive
      [HTTP_COOKIE] =&gt; vrsession=8pO1KwOg4OPzCYqsJHX0Qr6FPfLteTimRjIKQPRC%2F83GlFRTepX%2FnrfE1yDxYxDXiPa2JcX4kQviV6lezxrXmJHjqVbWMe%2FgRne%2Bp9P4%2FfxlZrxta2Zl4DACs2C2nsp1SkqYj6k6xhP6Wc9Zlpxgsma752%2BGxHkvwnT6%2F%2FTey699wnV5je99kZe%2FIhSa04DZvoGXoFc6bx1%2B%2FZRtSvojD86ktpWK91AUFUvltcoj8%2F31jeX0h%2BR7VEOPMZLBeqJrcn7qZGeQ6N2XvCIsh6gqTRZIPdsvyAIW%2FTTibBiY0qUvh50yE5MH060D8utqsiv4S54UrXypBsCP3H2w66pLXHTQKKrK%2FAsn1SEWb2pew%2BEOE4prm%2BJKGxcAq0efCGhkpsHZoP9ZDKDekMzaJTIxUin99RUeXVZTF0yqsMD5A%2FFF0AdZuz343VWsJcV9zru4hPHaAky5NMoZa6R1be9PwA%3D%3D; __utma=74945813.1164249566.1347560100.1347560100.1347560100.1; __utmb=74945813.176.10.1347560100; __utmc=74945813; __utmz=74945813.1347560100.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
      [HTTP_HOST] =&gt; [redacted]
      [HTTP_ORIGIN] =&gt; [redacted]
      [HTTP_REFERER] =&gt; [redacted]/add
      [HTTP_USER_AGENT] =&gt; Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
      [PATH] =&gt; /bin:/usr/bin
      [PHPRC] =&gt; [redacted]
      [QUERY_STRING] =&gt; 
      [REDIRECT_QUERY_STRING] =&gt; /add
      [REDIRECT_STATUS] =&gt; 200
      [REDIRECT_UNIQUE_ID] =&gt; UFJZCUoyAC0AAE5v7ps
      [REDIRECT_URL] =&gt; /add
      [REMOTE_ADDR] =&gt; [redacted]
      [REMOTE_PORT] =&gt; 48098
      [REQUEST_METHOD] =&gt; POST
      [REQUEST_URI] =&gt; /add
      [SCRIPT_FILENAME] =&gt; [redacted]/index.php
      [SCRIPT_NAME] =&gt; /index.php
      [SERVER_ADDR] =&gt; [redacted]
      [SERVER_ADMIN] =&gt; [redacted]
      [SERVER_NAME] =&gt; [redacted]
      [SERVER_PORT] =&gt; 80
      [SERVER_PROTOCOL] =&gt; HTTP/1.1
      [SERVER_SIGNATURE] =&gt; &lt;ADDRESS&gt;Apache/1.3.42 Server at [redacted] Port 80&lt;/ADDRESS&gt;
  
      [SERVER_SOFTWARE] =&gt; Apache/1.3.42 (Unix) Sun-ONE-ASP/4.0.2 Resin/2.1.13 mod_fastcgi/2.4.6 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
      [UNIQUE_ID] =&gt; UFJZCUoyAC0AAE5v7ps
      [PHP_SELF] =&gt; /index.php
      [REQUEST_TIME] =&gt; 1347574025
      [argv] =&gt; Array
          (
              [0] =&gt; /add
          )
  
      [argc] =&gt; 1
  )
  </code></pre>