title: Form with POST method returns $_REQUEST but $_POST is empty
body: <p>Using PHP7.x, I have a simple form</p>
  
  <pre><code>&lt;form method='post' action=''&gt;
  &lt;input type='text' name ='yourname'&gt;
  &lt;input type='submit' name = 'submitted' value = 'here'&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The submit button works fine. Looking at the POST with developer tools, I see the values of the input fields submitted. So the POST parameters in the Developer tools window show the entered value.</p>
  
  <p>But if my processing page (the 'action' page) contains this code</p>
  
  <pre><code>echo $_POST['yourname'];
  </code></pre>
  
  <p>The output is null.  This statement
  <code>echo $_REQUEST['yourname']</code> shows the entered value.</p>
  
  <p>Why doesn't <code>$_POST['yourname']</code> show a value?</p>
  
  <p>And, I sanitize all form data with this command</p>
  
  <pre><code>$_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_STRING);
  </code></pre>
  
  <p>I can change my code to use the <code>$_REQUEST['yourname']</code>, but why doesn't <code>$_POST['yourname']</code> show data? And, will my <code>filter_input_array()</code> 'clean' the resultant <code>$_REQUEST</code> values?</p>
  
  <p><strong>Added</strong>
  Made the correction to the code (I put the 'action' in the wrong statement in my sample code; the code was not the actual used. Actual code had the 'action' parameter in the proper location. Sample code was a generic sample, as I have seen this problem in many areas of code using 'forms'.</p>
  
  <p>But don't understand the 'close'. This is a programming area (to my understanding), and this is a programming question: "Why does a POST not populate the $_POST array on submit".</p>
  
  <p>And, the secondary question "Does the filter_input_array 'clean' the variables placed in $_REQUEST ?" was not answered. (Maybe that should have been a separate question.)</p>
  
  <p>But disappointed and unclear as to why this is not an appropriate question for this stack. (And yes, I read the 'rules'.)</p>