Can you post data from PHP.

Posted by Simon on Stack Overflow See other posts from Stack Overflow or by Simon
Published on 2010-03-08T16:32:05Z Indexed on 2010/03/08 16:36 UTC
Read the original article Hit count: 367

Filed under:

I need to post data from PHP to another site.

Example: You goto start.com/auto-login-hack (via GET)... then PHP sets the right headers etc. and sends you via POST to 3rdparty.com/login.php with login credentials...

I have done this is the past by having an HTML form and an onload script that submits the form to the destination...

I don't know enough about headers etc... is this possible... can anyone link an example... by search skills just turned up how to use $_POST...

Thanks...

© Stack Overflow or respective owner

Related posts about php