Jump to content

Post to two diferenet files


belick

Recommended Posts

I know that it will be hard to find an answer for that but its worth the try...

I am looking to submit one form to two deferent location.

like:

<form name="form1" method="post" action="post_file.php">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="Submit">
</form>

the post_file.php need to post it again to two places...

does anyone know how to do that?

thanks
Link to comment
https://forums.phpfreaks.com/topic/9944-post-to-two-diferenet-files/
Share on other sites

I'm not sure I understand the question. You need to put the results in 2 different databases or you need to send the results onto 2 other processing files? I guess my question is why can't you put all processing of the form into one file? And if you can't, you could always process the first file and then use a header() call to send the process onto the second file.

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.