title: PHP - getting content of the POST request
body: <p>I have problem with getting the content. I don't know the names of the post variables so I can't do this using</p>
  
  <pre><code>$variable = $_POST['name']; 
  </code></pre>
  
  <p>because I don't know the "name". I want to catch all of the variables sent by POST method.
  How can I get keys of the <code>$_POST[]</code> array and the corresponding values?</p>