title: Setting POST variable without using form
body: <p>Is there a way to set a <code>$_POST['var']</code> without using form related field (no type='hidden') and using only PHP.
  Something like</p>
  
  <pre><code>$_POST['name'] = "Denniss";
  </code></pre>
  
  <p>Is there a way to do this?</p>
  
  <p>EDIT:
  Someone asked me for some elaboration on this. So for example, I have page with a form on it, The form looks something like this</p>
  
  <pre><code>&lt;form method='post' action='next.php'&gt;
  &lt;input type='text' name='text' value='' /&gt;
  &lt;input type='submit' name='submit' value='Submit'/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Once the submit button is clicked, I want to get redirected to next.php. Is there a way for me to set the $_POST['text'] variable to another value? How do I make this persistent so that when I click on another submit button (for example) the $_POST['text'] will be what I set on next.php without using a hidden field.</p>
  
  <p>Let me know if this is still not clear and thank you for your help.</p>