Jump to content

Redirect a form submission


bobonacus

Recommended Posts

Hi,

 

I am an Oracle programmer so not that familier with Apache but what I need to do is have a form on the main web server that submits to a php file on one of several other webservers

 

so I have several forms, say www.abc.com/a/1/abc.html www.abc.com/b/2/abc.html www.abc.com/c/3/abc.html that will have different form actions to the same php file on different servers, say www.zzz.com/abc.php www.xxx.com/abc.php www.yyy.com/abc.php. Once the php file has done what it needs to it will go to a url that will be one of the hidden fields in the original form

 

Can I do this using Mod_Rewrite so the users don't get errors saying the form is being submitted to a different domain?

 

I tried to follow some examples from this forum but after spending an hour not getting the web server to even restart I've removed my attempts!

 

Thanks in advance

Robert

Link to comment
Share on other sites

  • 4 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.