Page 1 of 1

not following the form action

Posted: Mon Jun 04, 2007 5:14 pm
by dstefani
Is there a way to submit a form to one script on a different server and yet not be redirected to that form, but to another page on the original server?

Thanks - dstefani

Posted: Mon Jun 04, 2007 5:23 pm
by RobertGonzalez
No, but you can use a redirect if you have access to the form action's page code.

Posted: Mon Jun 04, 2007 5:31 pm
by zell11
Yes there is. you could make a SOAP connections. this is a technology that allows two diffrent applications talk to each other ie PHP and PHP, PHP and Java etc etc.

Hope this helps

Posted: Mon Jun 04, 2007 5:31 pm
by John Cartwright
Everah wrote:No, but you can use a redirect if you have access to the form action's page code.
It is possible using cURL :wink:

Posted: Mon Jun 04, 2007 5:32 pm
by dstefani
My code is PHP and the other form is Cold Fusion.

Can you give any more hints to help me get started?

Thanks

- dstefani

Posted: Mon Jun 04, 2007 5:37 pm
by zell11
http://livedocs.adobe.com/coldfusion/7/ ... 000379.htm

Theres the one for cold fusion

http://dietrich.ganx4.com/nusoap/

theres one for php, both are cumented well so if you read them through you should be ok

Posted: Mon Jun 04, 2007 5:57 pm
by RobertGonzalez
Jcart wrote:
Everah wrote:No, but you can use a redirect if you have access to the form action's page code.
It is possible using cURL :wink:
You know, the first thing that came to mind was cURL. I must have read that question wrong then, because originally, to me, it sounded like he wanted to post a form to a remote page and not actually go to that page, but redirect to a different page on the remote server. So I think I just didn't understand what he was talking about. My bad.

Posted: Mon Jun 04, 2007 6:09 pm
by dstefani
To clarify:

I have a form on my server and I want to submit to a script on another server.

The remote script lets me do this, but the remote script also wants to thank me and take me to places I don't want to go.
I have no control over this.

I want to submit my form data to the remote script and stay on my server.

Right now I'm using a target="_new" in my form to avoid leaving my page, but that's a band-aid I'd like to avoid.

Thanks,

- dstefani

Posted: Mon Jun 04, 2007 6:20 pm
by RobertGonzalez
Yeah, try cURL.