title: PHP $_POST not working?
body: <p>I have the simplest form possible and all I want to do is echo whatever is written in text box.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form action="" method="post"&gt;
    &lt;input type="text" name="firstname"&gt;
    &lt;input type="submit" name="submit" value="Submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>PHP:</p>
  
  <pre><code>if(isset($_POST['submit'])){
    $test = $_POST['firstname'];
    echo $test;
  }
  </code></pre>
  
  <p>The problem is it's not working on my server (it works on another server). Does anyone has an idea what could be wrong? There are other forms on the server and are working fine.</p>