faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input : URLs and Post or Get Methods

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 17 people (29%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How can i pass variables to a script on another server using the POST method, without redirecting the viewer to that page?

Nov 1st, 2005 03:03
Chris Braun, Murx Cedarstorm, http://www.faqts.com/knowledge_base/view.phtml/aid/15705/fid/342


The article in
http://www.faqts.com/knowledge_base/view.phtml/aid/15705/fid/342 (see
section 2 there) actually gives the answer to that question. The data
gets posted, but output from the script that's posted to does not appear
in the browser. At least that's how it worked when I tried it.

The opposite seems quite a bit harder, to post to a script WITH
redirecting... I'm personally still working on that :-(