forms - PHP - Redirect and send data via POST -


I have an online gateway for which it is necessary to submit an HTML form with hidden areas. I will call it any HTML form Without needing to do a PHP script (I have data for hidden fields in DB)

To do this data send via GET:

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

And is it sending data through POST?

You can not use PHP by doing this.

As others have said, you can use curls - but then the PHP code becomes a customer rather than a browser.

If you have to use the post, the only way to do this is to generate populated form using populated and click on the window to call Javascript to submit the form. Onload hook

c.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -