belick Posted May 18, 2006 Share Posted May 18, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/9944-post-to-two-diferenet-files/ Share on other sites More sharing options...
ober Posted May 18, 2006 Share Posted May 18, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/9944-post-to-two-diferenet-files/#findComment-36967 Share on other sites More sharing options...
belick Posted May 18, 2006 Author Share Posted May 18, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/9944-post-to-two-diferenet-files/#findComment-36984 Share on other sites More sharing options...
belick Posted May 23, 2006 Author Share Posted May 23, 2006 Any help?? Quote Link to comment https://forums.phpfreaks.com/topic/9944-post-to-two-diferenet-files/#findComment-38392 Share on other sites More sharing options...
.josh Posted May 23, 2006 Share Posted May 23, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/9944-post-to-two-diferenet-files/#findComment-38405 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.