Php How do you redirect without copying the same url query
<p>I am validating a form on a page and I need to redirect back to the same page with the same url query and a additional <code>&amp;valid=false</code> at the end of the query when redirected.</p>

<p>How would you do this so that the url is not repeated on redirect:</p>

<pre><code>http://test.com/index.php?a=1&amp;b=2&amp;valid=false&amp;a=1&amp;b=2&amp;valid=false
</code></pre>

<p>I am using  <code>$_SERVER['REQUEST_URI']</code></p>
