Sunday, 25 August 2013

How to make the client perform a http post with php?

How to make the client perform a http post with php?

I'm building some efficiency tools for a crappy website. This website uses
http-posts for some of it's navigation. What I need is that when a user
runs a script on an url (redirect.php), I want the client to post to an
url on an external site, with some variables.
I know I could do this with javascript, creating a form and posting to it,
but I would prefer doing it with php if possible. It needs to be the
client that get's forwarded, because they are authenticated with the
website that I'm sending them to.

No comments:

Post a Comment