An email of form entries is sent to me using: <?php $entries="Name: $first_name $last_name\n ... etc {mail ("sendform@myemail.net", "Subject in Question", $entries);} ?> Code (markup): A vendor says to also send the same entries to a file on their website in order to use their services. So I tried: echo '<a href="mailto:'http://vendorwebsite.com/receiving_file.jsp'", $entries>'; Code (markup): That did not work, nor anything else I tried. What function or construct can be used to send the entries in the form to the file?
The post action is dedicated to sending the entries to the file where I have all the code that sends the entries in an email to me, like this: <form method="post" action="<?php echo 'https://s.p2.hostingprod.com/@mysite.com/ssl/mycode.php?'; ?>" I need to both send the entries to me and also send the entries to their site. I am looking for a way to use mycode.php to both send me the entries in an email, which it already does, and also send the entries to the vendor's website.