PHP: Simulate a <form> tag with POST data and also redirecting the user...

Posted by tarnfeld on Stack Overflow See other posts from Stack Overflow or by tarnfeld
Published on 2010-06-01T09:51:44Z Indexed on 2010/06/01 9:53 UTC
Read the original article Hit count: 117

Filed under:
|
|
|

Hi,

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.

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.

Some sample code or links would be great! Thanks in advanced...

© Stack Overflow or respective owner

Related posts about php

Related posts about form