Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Posting To Another Site Using the HTMLFORM Object


Message #1 by "Mark Gordon" <flashgordonmjg@h...> on Mon, 24 Jun 2002 01:00:59
My problem is that I need to post to http://www.paypal.com/cgi-bin/webscr 
with certain hidden fields.  I tried to set the "action" attribute of the 
form element but that doesn't work...as I found out that you can't, it 
always posts pack to the original page.  I need to be able to "post" to 
another url.  How can I do this?  At the end of my order processing 
logic, I determine if the user's default is PayPal, if so, I want to be 
able to read the orders database (I already have that logic) and POST the 
data to the above URL.

Thanks for your time, sorry, I am just learning.

Mark

  Return to Index