title: Sending data from server.js to a PHP file to process
body: <p>When I submit a form from my client side the relevant data from the form is showing up as req.body on my server.  I want to pass that data to a PHP file to process. I don't know how to run the PHP file and pass it an argument from inside the js file.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>app.post('/contactengine.php' ,function ( req, res ){
    data = req.body
    //the data is showing up here correctly.
    //I would like to take data and get it processed by contactengine.php can anyone help?  I dont know how to run the PHP file and pass it an argument.
  });</code></pre>
  </div>
  </div>
  </p>