title: How to get request content (body) in PHP?
body: <p>I am sending a request to a php server with a XML in the content:</p>
  
  <pre><code>POST /index3.php HTTP/1.0
  Connection: Close
  Accept: application/xml
  Content-Type: text/xml
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;root /&gt;
  </code></pre>
  
  <p>I've checked in globals vars (like <code>$_GET</code>, <code>$_POST</code>, <code>$_ENV</code>, <code>$_FILES</code>, <code>$_REQUEST</code>...) but they are all empty.</p>
  
  <p>How could I retrieve the content in the server?</p>