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
https://forums.phpfreaks.com/topic/81649-redirect-a-form-submission/
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.