title: $_POST array is always empty and server method return GET while I use POST
body: <p>I use a method="post" form and made a test script.php to check my variables and this is what I get:</p>
  
  <pre><code>array(0) {
  }
  array(0) {
  }
  array(0) {
  }
  Array ( ) GET
  </code></pre>
  
  <p>this is my html:</p>
  
  <pre><code>&lt;form id="contacts-form" method="post" action="contact.php" 
  enctype="multipart/form-data"&gt;
  &lt;fieldset&gt;
  &lt;div class="field"&gt;&lt;input type="text" name="f_name"/&gt;&lt;/div&gt;
  &lt;div class="field"&gt;&lt;input type="text" name="f_email"/&gt;&lt;/div&gt;
  &lt;div class="field"&gt;&lt;input type="text" name="f_phone"/&gt;&lt;/div&gt;
  &lt;div class="field"&gt;&lt;textarea name="f_message" cols="1" rows="1"&gt;&lt;/textarea&gt;&lt;/div&gt;
  &lt;div class="wrapper"&gt;
  &lt;a href="contact.php" class="link2"
  onclick="document.getElementById('contacts-form').submit()" name="subjoin"&gt; 
  &lt;span&gt;
  &lt;span&gt;Send Your   Message&lt;/span&gt;
  &lt;/span&gt;
  &lt;/a&gt;
  &lt;/div&gt;
  &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>here's my contact.php script:</p>
  
  <pre><code>&lt;?php
  $mypostdata = file("php://input");
  print "&lt;pre&gt;";
  var_dump($_POST);
  var_dump($mypostdata);
  var_dump($_GET);
  print "&lt;/pre&gt;";
  print_r($_POST);
  print_r($_SERVER['REQUEST_METHOD']);
  </code></pre>