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
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.
Link to comment
Share on other sites

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.