Jump to content

Archived

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

belick

Post to two diferenet files

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
ok, I have one form on my site that the same information need to be sent to two processing files. one its me and the other its another comapny.

Share this post


Link to post
Share on other sites
you might find your answer in this thread:

[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=94002\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=94002[/a]

hope it helps!

Share this post


Link to post
Share on other sites

×

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.