PHP - Redirect and send data via POST

Posted by Jeremy Rudd on Stack Overflow See other posts from Stack Overflow or by Jeremy Rudd
Published on 2010-06-15T12:31:55Z Indexed on 2010/06/15 12:42 UTC
Read the original article Hit count: 316

Filed under:
|
|
|
|

I have an online gateway which requires an HTML form to be submitted with hidden fields. I need to do this via a PHP script without any HTML forms (I have the data for the hidden fields in a DB)

To do this sending data via GET:

header('Location: http://www.provider.com/process.jsp?id=12345&name=John');

And to do this sending data via POST?

© Stack Overflow or respective owner

Related posts about php

Related posts about form