title: POST request only with http_build_query in php
body: <p>I need to create a <strong>POST</strong> request with <strong>http_build_query</strong>. Following are my codes:</p>
  
  <pre><code>$uri_args = array (
    'name'         =&gt; 'Jack',
    'surname'      =&gt; 'Jackson',
    'username'     =&gt; 'jackson12',
    'email'        =&gt; 'Jack@mail.com',
  );
  
  $uri = http_build_query($uri_args);
  
  header("Location: http://samplesite.com?$uri");
  </code></pre>
  
  <p>At the moment it generates a request like GET, but I need POST.
  Consider that I do not want to use curl, ... only <strong>http_build_query</strong>.</p>