title: PHP: Simulate a <form> tag with POST data and also redirecting the user
body: <p>I have been scouring the internet for a way to do this with no luck :(
  Basically, it's easy to make a form in HTML with a submit button and some data, and send it to a URL. With this you send the POST data and also the user is taken to the page.</p>
  
  <p>I know you can send POST data using cURL and get a response back in PHP but how do I take the user there, I need to simulate exactly what a  tag does in php.</p>
  
  <p>Some sample code or links would be great!</p>