Form action

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
NEWDAY
Forum Newbie
Posts: 12
Joined: Wed Jan 31, 2007 5:15 pm

Form action

Post by NEWDAY »

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 code for that?


thankyou...
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

No, not with normal processing. You can use cURL to post to another site after the initial process though.
Post Reply