ok guys is there any way to submit a form to a number of pages at the same time?

can we provide a number of urls instead of just one action attribute?

one form send the same info to different pages. i mean something like an email, but it is not an email. there will be a number of identical scripts which will be called at teh same time in the <form> tag.

ive thought on this, but can figure out a way for this.

When you post your form to a page, include other php files and process the posted data.
ie.,
page1.php submits to page2.php .
in page2.php, include page3.php and page4.php. So, When you post the form data to page2.php , the same values will be accessible in page3.php and page4.php . Here is an example.

//testpost1.php
<html>
<body>
<form method="post" action="testpost2.php">
Name: <input type="text" name="name">
<br />
<input type="submit" name="submit" value="submit">
</form>
</body>
</html>
<?php
//this is testpost2.php
include "testpost3.php";
print_r($_POST);
?>
<?php
//this is testpost3.php
print_r($_POST);
?>

It will print the form data twice!

This question has already been answered. Start a new discussion instead.