title: How To Send Form Data To Two Or More PHP Files?
body: <p>I have a Form in an HTML page like below that is sending my data to a page at <code>http://www.aaaaaa.com/1st-file.php</code>...</p>
  
  <pre><code>&lt;form action="http://www.aaaaaa.com/1st-file.php" method="post" enctype="plain" id="theForm"&gt;   
  &lt;input type="text" name="NAME" value="Some Data" /&gt;
  &lt;input type="submit" value="Send Data" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>But I want to send the same data on <code>http://www.bbbbbb.com/2nd-file.php</code>. My form is on HTML page and I want to send data via one click on <code>Send Data</code> only. So is this possible to send data on both PHP pages using pure JavaScript not JQuery? If yes then how?</p>
  
  <h2>Update:</h2>
  
  <p>My both PHP receiving files have codes something like below...</p>
  
  <pre><code>&lt;?php
  $data_from_site= $_POST['NAME'];
  echo $data_from_site;
  ?&gt;
  </code></pre>