proud Posted February 7, 2007 Share Posted February 7, 2007 Hello everyone.... I'm wondering if it's possible to send the content of the form to two files at the same time? i.e. <form name="input" action="1.php" method="get"> Username: <input type="text" name="user"> <input type="submit" value="Submit"> </form> In the example above the contents of the form are sent to the file 1.php, so my question is would it be possible to send it to 1.php and 2.php at the same time? and what would be the java script code for that? thankyou... Link to comment https://forums.phpfreaks.com/topic/37517-form-action/ Share on other sites More sharing options...
paul2463 Posted February 7, 2007 Share Posted February 7, 2007 why would you want to send the information to ttwo pages for? if you need information to go to two pages send it to the first then place what you need to go to the second page in the url as a header from your first page Link to comment https://forums.phpfreaks.com/topic/37517-form-action/#findComment-179394 Share on other sites More sharing options...
worldworld Posted February 11, 2007 Share Posted February 11, 2007 You can have sessions to handle the variables.. in all pages Link to comment https://forums.phpfreaks.com/topic/37517-form-action/#findComment-182009 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.