Big_J Posted July 22, 2007 Share Posted July 22, 2007 Hi. Is there any possible way to submit a form, either with get or post, to two different pages? So for example, I have <form method="post" action="mailer.php"> and I want to send the info to both mailer.php and mailer2.php? Is there a way to do it? Quote Link to comment Share on other sites More sharing options...
redarrow Posted July 22, 2007 Share Posted July 22, 2007 lookup the mail function to send one email to client and one to ho ever Quote Link to comment Share on other sites More sharing options...
Big_J Posted July 22, 2007 Author Share Posted July 22, 2007 I know about mail, mailer was just an example, it's not a mailer. I want to send the data to a php page, which uses the data to do something else... Quote Link to comment Share on other sites More sharing options...
redarrow Posted July 22, 2007 Share Posted July 22, 2007 u might need javascript for that then. Quote Link to comment Share on other sites More sharing options...
Hypnos Posted July 22, 2007 Share Posted July 22, 2007 If the scripts are both on your server, than why wouldn't you just use include? I've made scripts before that take POST/GET data and use HTML and Javascript to automaticly submit a POST/GET form Onload. It does work, but it's a last resort. Quote Link to comment Share on other sites More sharing options...
Big_J Posted July 22, 2007 Author Share Posted July 22, 2007 If the scripts are both on your server, than why wouldn't you just use include? I don't know what you meant by include, but "both on your server" just solved it for me. I'll send the data to one, and from that one to the other. Thanks. Quote Link to comment 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.