mervyndk Posted May 23, 2008 Share Posted May 23, 2008 I need to have my form action go to my php form so that it can e-mail the form contents to me AND also go to PayPal to complete the purchase. How can I have my form action go to both my contact.php form and PayPal? Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/ Share on other sites More sharing options...
jonsjava Posted May 23, 2008 Share Posted May 23, 2008 have your form action repost the data to paypal. Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548209 Share on other sites More sharing options...
mervyndk Posted May 23, 2008 Author Share Posted May 23, 2008 I'm VERY new to PHP and don't understand what you mean. I have 4 fields (name, phone, e-mail, user ID) that need to get e-mailed to me (PayPal doesn't need that information). Then after that (or simultaneous to that) I need to customer to be redirected to PayPal using the PayPal Buy Now button. Â So right now all the form is doing is going to PayPal and I have no idea of how to get the contents mailed to me. Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548233 Share on other sites More sharing options...
jonsjava Posted May 23, 2008 Share Posted May 23, 2008 could you post your form, so I can re-do it to handle that for you? Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548234 Share on other sites More sharing options...
mervyndk Posted May 23, 2008 Author Share Posted May 23, 2008 I didn't know which form you wanted - the actual html form or the php so I've included both: -------------------------------------------- ON the HTML page  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" enctype="multipart/form-data" name="mem_thanks" id="mem_thanks" onsubmit="YY_checkform('mem_thanks','email','#S','2','Please enter a valid e-mail address.','phone','#q','0','Please enter your telephone number.','user','#q','0','Please enter your chosen user name.','code','#1_10000000','1','Please enter your Activity ID Number or Inviter\'s Code.');return document.MM_returnValue">        <table width="80%" border="0" align="center">         <tr>          <td width="37%" valign="top"> <div align="right"><font color="#1E3545"><strong><font color="#1E3545"><strong><font size="2" face="Arial, Helvetica, sans-serif"><font color="#FF0000" size="3">*</font></font></strong></font><font size="2" face="Arial, Helvetica, sans-serif">Valid            E-mail Address:</font></strong></font></div></td>          <td width="63%"><p><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">            <input name="email" type="text" id="email" size="35" maxlength="50" />            </font><br />            <font color="#FF0000" size="1" face="Arial, Helvetica, sans-serif">This            e-mail address will be used for your prospects to contact            you.</font> </p></td>         </tr>         <tr>          <td valign="top"> <div align="right"><font color="#1E3545"><strong><font color="#1E3545"><strong><font size="2" face="Arial, Helvetica, sans-serif"><font color="#FF0000" size="3">*</font></font></strong></font><font size="2" face="Arial, Helvetica, sans-serif">Telephone:</font></strong></font></div></td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">           <input name="phone" type="text" id="phone" size="12" maxlength="12" />           <font color="#FF0000" size="1">555-555-1234.<br />           This telephone number will be placed on your website so your           prospects can contact you.</font></font></td>         </tr>         <tr>          <td valign="top"> <div align="right"><font color="#1E3545"><strong><font color="#1E3545"><strong><font size="2" face="Arial, Helvetica, sans-serif"><font color="#FF0000" size="3">*</font></font></strong></font><font size="2" face="Arial, Helvetica, sans-serif">Username:</font></strong></font></div></td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">           <input name="user" type="text" id="user" size="25" maxlength="25" />           <br />           <font color="#FF0000" size="1">Enter your username. This username           should be identical to the username you chose prior to paying           for your membership.</font></font></td>         </tr>         <tr>          <td valign="top"> <div align="right"><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif"><strong>Activity            ID or Invitation Code:</strong></font></div></td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">           <input name="code" type="text" id="code" size="25" maxlength="25" />           </font></td>         </tr>         <tr>          <td valign="top"> </td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif"> <input type="hidden" name="cmd" value="_s-xclick">   <input type="image" src="../images/pay_webfee.jpg" width="210" height="50" name="submit" alt="Pay your Web Fee with PayPal" /> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> <input type="hidden" name="encrypted" value="-----BEGIN PKC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TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA4MDUyMzE2MTQ1N1owIwYJKoZIhvcNAQkEMRYEFF9JnIfNDnqSHJX2Jm2RQKQflVw2MA0GCSqGSIb3DQEBAQUABIGAUjRWpZcb33Cx4QUpiAX2rzkU5KVBx5TXvF2KcIV+69BvadeeGnLQM86z9QxSRbikdxcU6ryDj2gqUrN6jlWVRufdKchgM0k208L7jUNUo3saaI9Io9rvmMPmJfVOseDhb9SdFFVbLUoigH2xHI8Wdo9sj8oLepQ5tlZK1bcKJkQ=-----END PKCS7----- ">           </font> </td>         </tr>        </table>       </form> END HTML page ---------------------------------------------------- PHP form  <?php  // ------------- CONFIGURABLE SECTION ------------------------  // $mailto - set to the email address you want the form // sent to, eg //$mailto   = "youremailaddress@example.com" ;   $mailto = 'support@mywebsite.net' ;  // $subject - set to the Subject line of the email, eg //$subject  = "Feedback Form" ;  $subject = "FFS - Personalized Website" ;  // the pages to be displayed, eg //$formurl   = "http://www.example.com/feedback.html" ; //$errorurl   = "http://www.example.com/error.html" ; //$thankyouurl  = "http://www.example.com/thankyou.html" ;   $formurl = "http://www.fmywebsite.net/member/mem_thanks.htm" ; $errorurl = "http://www.mywebsite.net/member/error.htm" ; $thankyouurl = "https://www.paypal.com" ;   // -------------------- END OF CONFIGURABLE SECTION ---------------  //$name = $_POST['name'] ; //$email = $_POST['email'] ; //$comments = $_POST['comments'] ;  $email=htmlentities($_POST['email']); $phone=htmlentities($_POST['phone']); $user=urldecode($_POST['user']); $code=urldecode($_POST['code']);  if (!isset($_POST['email'])) {   header( "Location: $formurl" );   exit ; }  if (empty($email) || empty($phone) || empty($user) || empty($code)) {   header( "Location: $errorurl" );   exit ; }  $name = strtok( $name, "\r\n" ); $email = strtok( $email, "\r\n" ); if (get_magic_quotes_gpc()) {   $comments = stripslashes( $comments ); }   //List of Headers $headers.="Content-type: text/html; charset=iso-8859-1\r\n"; $headers.="From: $email\r\nReply-To: $email"; header( "Location: $thankyouurl" );  $messageproper = "  E-mail Address: $email <br> Telephone: $phone <br> Username: $user <br> Activity Code: $code <br>   ";  //mail() function sends the mail mail($mailto,$subject,$messageproper,$headers);  //}  //else{ //do something //  header( "Location: https://www.paypal.com" ); //  exit ; //} ?>  END PHP form ------------------------------------------------ Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548258 Share on other sites More sharing options...
jonsjava Posted May 23, 2008 Share Posted May 23, 2008 your form (change it to your php file): <form action="yourform.php" method="post" enctype="multipart/form-data" name="mem_thanks" id="mem_thanks" onsubmit="YY_checkform('mem_thanks','email','#S','2','Please enter a valid e-mail address.','phone','#q','0','Please enter your telephone number.','user','#q','0','Please enter your chosen user name.','code','#1_10000000','1','Please enter your Activity ID Number or Inviter\'s Code.');return document.MM_returnValue">        <table width="80%" border="0" align="center">         <tr>          <td width="37%" valign="top"> <div align="right"><font color="#1E3545"><strong><font color="#1E3545"><strong><font size="2" face="Arial, Helvetica, sans-serif"><font color="#FF0000" size="3">*</font></font></strong></font><font size="2" face="Arial, Helvetica, sans-serif">Valid            E-mail Address:</font></strong></font></div></td>          <td width="63%"><p><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">            <input name="email" type="text" id="email" size="35" maxlength="50" />            </font>            <font color="#FF0000" size="1" face="Arial, Helvetica, sans-serif">This            e-mail address will be used for your prospects to contact            you.</font> </p></td>         </tr>         <tr>          <td valign="top"> <div align="right"><font color="#1E3545"><strong><font color="#1E3545"><strong><font size="2" face="Arial, Helvetica, sans-serif"><font color="#FF0000" size="3">*</font></font></strong></font><font size="2" face="Arial, Helvetica, sans-serif">Telephone:</font></strong></font></div></td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">           <input name="phone" type="text" id="phone" size="12" maxlength="12" />           <font color="#FF0000" size="1">555-555-1234.           This telephone number will be placed on your website so your           prospects can contact you.</font></font></td>         </tr>         <tr>          <td valign="top"> <div align="right"><font color="#1E3545"><strong><font color="#1E3545"><strong><font size="2" face="Arial, Helvetica, sans-serif"><font color="#FF0000" size="3">*</font></font></strong></font><font size="2" face="Arial, Helvetica, sans-serif">Username:</font></strong></font></div></td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">           <input name="user" type="text" id="user" size="25" maxlength="25" />                    <font color="#FF0000" size="1">Enter your username. This username           should be identical to the username you chose prior to paying           for your membership.</font></font></td>         </tr>         <tr>          <td valign="top"> <div align="right"><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif"><strong>Activity            ID or Invitation Code:</strong></font></div></td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">           <input name="code" type="text" id="code" size="25" maxlength="25" />           </font></td>         </tr>         <tr>          <td valign="top"> </td>          <td><font color="#1E3545" size="2" face="Arial, Helvetica, sans-serif">        <input type="hidden" name="cmd" value="_s-xclick">         <input type="image" src="../images/pay_webfee.jpg" width="210" height="50" name="submit" alt="Pay your Web Fee with PayPal" />        <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIIKQYJKoZIhvcNAQcEoIIIGjCCCBYCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3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gIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA4MDUyMzE2MTQ1N1owIwYJKoZIhvcNAQkEMRYEFF9JnIfNDnqSHJX2Jm2RQKQflVw2MA0GCSqGSIb3DQEBAQUABIGAUjRWpZcb33Cx4QUpiAX2rzkU5KVBx5TXvF2KcIV+69BvadeeGnLQM86z9QxSRbikdxcU6ryDj2gqUrN6jlWVRufdKchgM0k208L7jUNUo3saaI9Io9rvmMPmJfVOseDhb9SdFFVbLUoigH2xHI8Wdo9sj8oLepQ5tlZK1bcKJkQ=-----END PKCS7----- ">           </font> </td>         </tr>        </table>       </form> your PHP: <?php // ------------- CONFIGURABLE SECTION ------------------------ // $mailto - set to the email address you want the form // sent to, eg //$mailto   = "youremailaddress@example.com" ; $mailto = 'support@mywebsite.net' ; // $subject - set to the Subject line of the email, eg //$subject = "Feedback Form" ; $subject = "FFS - Personalized Website" ; // the pages to be displayed, eg //$formurl   = "http://www.example.com/feedback.html" ; //$errorurl   = "http://www.example.com/error.html" ; //$thankyouurl = "http://www.example.com/thankyou.html" ; $formurl = "http://www.fmywebsite.net/member/mem_thanks.htm" ; $errorurl = "http://www.mywebsite.net/member/error.htm" ; $thankyouurl = "https://www.paypal.com" ; // -------------------- END OF CONFIGURABLE SECTION --------------- //$name = $_POST['name'] ; //$email = $_POST['email'] ; //$comments = $_POST['comments'] ; $email=htmlentities($_POST['email']); $phone=htmlentities($_POST['phone']); $user=urldecode($_POST['user']); $code=urldecode($_POST['code']); if (!isset($_POST['email'])) {  header( "Location: $formurl" );  exit ; } if (empty($email) || empty($phone) || empty($user) || empty($code)) {  header( "Location: $errorurl" );  exit ; } $name = strtok( $name, "\r\n" ); $email = strtok( $email, "\r\n" ); if (get_magic_quotes_gpc()) {  $comments = stripslashes( $comments ); } //List of Headers $headers.="Content-type: text/html; charset=iso-8859-1\r\n"; $headers.="From: $email\r\nReply-To: $email"; header( "Location: $thankyouurl" ); $messageproper = " E-mail Address: $email Telephone: $phone Username: $user Activity Code: $code  "; //mail() function sends the mail mail($mailto,$subject,$messageproper,$headers); //} //else{ //do something // header( "Location: https://www.paypal.com" ); // exit ; //} ?> <html> <head> <SCRIPT LANGUAGE="JavaScript"> function submitForm(){ document.form.submit(); } </SCRIPT> </head> <body onload="submitForm()"> <?php /* remove any input you don't need sent to paypal */ ?> <form method="POST" action="https://www.paypal.com/cgi-bin/webscr"> <input name="email" type="hidden" id="email" value="<?php print $_POST['email']; ?>" /> <input name="phone" type="hidden" id="phone" value="<?php print $_POST['phone']; ?>" /> <input name="user" type="hidden" id="user" value="<?php print $_POST['user']; ?>" /> <input name="code" type="hidden" id="code" value="<?php print $_POST['code']; ?>" /> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIIKQYJKoZIhvcNAQcEoIIIGjCCCBYCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYC8y0SG9+xWna5jzB03d8qjaNvybPJI5nRJxuZ/KpcmaErlRSKH1b7qEnLl5YQXGriZHlAFK9ivpwuhLGlXhh4L6eKWCsEjUKao5Diqvuy4+MkYTeq37c0e1b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DTA4MDUyMzE2MTQ1N1owIwYJKoZIhvcNAQkEMRYEFF9JnIfNDnqSHJX2Jm2RQKQflVw2MA0GCSqGSIb3DQEBAQUABIGAUjRWpZcb33Cx4QUpiAX2rzkU5KVBx5TXvF2KcIV+69BvadeeGnLQM86z9QxSRbikdxcU6ryDj2gqUrN6jlWVRufdKchgM0k208L7jUNUo3saaI9Io9rvmMPmJfVOseDhb9SdFFVbLUoigH2xHI8Wdo9sj8oLepQ5tlZK1bcKJkQ=-----END PKCS7----- "></form> </body> </html>  Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548274 Share on other sites More sharing options...
mervyndk Posted May 23, 2008 Author Share Posted May 23, 2008 OK, I'm getting the form results e-mailed to me, but I am being re-directed to the URL found in the $thankyouurl. It doesn't look like the Javascript in the HTML section is being called at all. Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548298 Share on other sites More sharing options...
jonsjava Posted May 23, 2008 Share Posted May 23, 2008 fixed the code. sry bout that. <?php // ------------- CONFIGURABLE SECTION ------------------------ // $mailto - set to the email address you want the form // sent to, eg //$mailto   = "youremailaddress@example.com" ; $mailto = 'support@mywebsite.net' ; // $subject - set to the Subject line of the email, eg //$subject = "Feedback Form" ; $subject = "FFS - Personalized Website" ; // the pages to be displayed, eg //$formurl   = "http://www.example.com/feedback.html" ; //$errorurl   = "http://www.example.com/error.html" ; //$thankyouurl = "http://www.example.com/thankyou.html" ; $formurl = "http://www.fmywebsite.net/member/mem_thanks.htm" ; $errorurl = "http://www.mywebsite.net/member/error.htm" ; $thankyouurl = "https://www.paypal.com" ; // -------------------- END OF CONFIGURABLE SECTION --------------- //$name = $_POST['name'] ; //$email = $_POST['email'] ; //$comments = $_POST['comments'] ; $email=htmlentities($_POST['email']); $phone=htmlentities($_POST['phone']); $user=urldecode($_POST['user']); $code=urldecode($_POST['code']); if (!isset($_POST['email'])) {  header( "Location: $formurl" );  exit ; } if (empty($email) || empty($phone) || empty($user) || empty($code)) {  header( "Location: $errorurl" );  exit ; } $name = strtok( $name, "\r\n" ); $email = strtok( $email, "\r\n" ); if (get_magic_quotes_gpc()) {  $comments = stripslashes( $comments ); } //List of Headers $headers.="Content-type: text/html; charset=iso-8859-1\r\n"; $headers.="From: $email\r\nReply-To: $email"; /*header( "Location: $thankyouurl" );*/ $messageproper = " E-mail Address: $email Telephone: $phone Username: $user Activity Code: $code  "; //mail() function sends the mail mail($mailto,$subject,$messageproper,$headers); //} //else{ //do something // header( "Location: https://www.paypal.com" ); // exit ; //} ?> <html> <head> <SCRIPT LANGUAGE="JavaScript"> function submitForm(){ document.form.submit(); } </SCRIPT> </head> <body onload="submitForm()"> <?php /* remove any input you don't need sent to paypal */ ?> <form method="POST" action="https://www.paypal.com/cgi-bin/webscr"> <input name="email" type="hidden" id="email" value="<?php print $_POST['email']; ?>" /> <input name="phone" type="hidden" id="phone" value="<?php print $_POST['phone']; ?>" /> <input name="user" type="hidden" id="user" value="<?php print $_POST['user']; ?>" /> <input name="code" type="hidden" id="code" value="<?php print $_POST['code']; ?>" /> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIIKQYJKoZIhvcNAQcEoIIIGjCCCBYCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYC8y0SG9+xWna5jzB03d8qjaNvybPJI5nRJxuZ/KpcmaErlRSKH1b7qEnLl5YQXGriZHlAFK9ivpwuhLGlXhh4L6eKWCsEjUKao5Diqvuy4+MkYTeq37c0e1bDIfa5sXwNEjYRv7IWOVR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IwYJKoZIhvcNAQkEMRYEFF9JnIfNDnqSHJX2Jm2RQKQflVw2MA0GCSqGSIb3DQEBAQUABIGAUjRWpZcb33Cx4QUpiAX2rzkU5KVBx5TXvF2KcIV+69BvadeeGnLQM86z9QxSRbikdxcU6ryDj2gqUrN6jlWVRufdKchgM0k208L7jUNUo3saaI9Io9rvmMPmJfVOseDhb9SdFFVbLUoigH2xHI8Wdo9sj8oLepQ5tlZK1bcKJkQ=-----END PKCS7----- "></form> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548382 Share on other sites More sharing options...
mervyndk Posted May 23, 2008 Author Share Posted May 23, 2008 Sorry to be a pain, but now it just hangs at the php blank page. The form e-mail comes through but it doesn't go to PayPal.  According to IE, the error is  Line: 5 Char: 1 Error: 'document.form' is null or not an object Code: 0 URL: http://www.mysite.net/member/mem_thanks_contactpl.php Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548397 Share on other sites More sharing options...
jonsjava Posted May 23, 2008 Share Posted May 23, 2008 <?php // ------------- CONFIGURABLE SECTION ------------------------ // $mailto - set to the email address you want the form // sent to, eg //$mailto   = "youremailaddress@example.com" ; $mailto = 'support@mywebsite.net' ; // $subject - set to the Subject line of the email, eg //$subject = "Feedback Form" ; $subject = "FFS - Personalized Website" ; // the pages to be displayed, eg //$formurl   = "http://www.example.com/feedback.html" ; //$errorurl   = "http://www.example.com/error.html" ; //$thankyouurl = "http://www.example.com/thankyou.html" ; $formurl = "http://www.fmywebsite.net/member/mem_thanks.htm" ; $errorurl = "http://www.mywebsite.net/member/error.htm" ; $thankyouurl = "https://www.paypal.com" ; // -------------------- END OF CONFIGURABLE SECTION --------------- //$name = $_POST['name'] ; //$email = $_POST['email'] ; //$comments = $_POST['comments'] ; $email=htmlentities($_POST['email']); $phone=htmlentities($_POST['phone']); $user=urldecode($_POST['user']); $code=urldecode($_POST['code']); if (!isset($_POST['email'])) {  header( "Location: $formurl" );  exit ; } if (empty($email) || empty($phone) || empty($user) || empty($code)) {  header( "Location: $errorurl" );  exit ; } $name = strtok( $name, "\r\n" ); $email = strtok( $email, "\r\n" ); if (get_magic_quotes_gpc()) {  $comments = stripslashes( $comments ); } //List of Headers $headers.="Content-type: text/html; charset=iso-8859-1\r\n"; $headers.="From: $email\r\nReply-To: $email"; /*header( "Location: $thankyouurl" );*/ $messageproper = " E-mail Address: $email Telephone: $phone Username: $user Activity Code: $code  "; //mail() function sends the mail mail($mailto,$subject,$messageproper,$headers); //} //else{ //do something // header( "Location: https://www.paypal.com" ); // exit ; //} ?> <html> <head> <SCRIPT LANGUAGE="JavaScript"> function submitForm(){ document.form.submit(); } </SCRIPT> </head> <body onload="submitForm()"> <?php /* remove any input you don't need sent to paypal */ ?> <form method="POST" action="https://www.paypal.com/cgi-bin/webscr"> <input name="email" type="hidden" id="email" value="<?php print $_POST['email']; ?>" /> <input name="phone" type="hidden" id="phone" value="<?php print $_POST['phone']; ?>" /> <input name="user" type="hidden" id="user" value="<?php print $_POST['user']; ?>" /> <input name="code" type="hidden" id="code" value="<?php print $_POST['code']; ?>" /> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIIKQYJKoZIhvcNAQcEoIIIGjCCCBYCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYC8y0SG9+xWna5jzB03d8qjaNvybPJI5nRJxuZ/KpcmaErlRSKH1b7qEnLl5YQXGriZHlAFK9ivpwuhLGlXhh4L6eKWCsEjUKao5Diqvuy4+MkYTeq37c0e1bDI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A4MDUyMzE2MTQ1N1owIwYJKoZIhvcNAQkEMRYEFF9JnIfNDnqSHJX2Jm2RQKQflVw2MA0GCSqGSIb3DQEBAQUABIGAUjRWpZcb33Cx4QUpiAX2rzkU5KVBx5TXvF2KcIV+69BvadeeGnLQM86z9QxSRbikdxcU6ryDj2gqUrN6jlWVRufdKchgM0k208L7jUNUo3saaI9Io9rvmMPmJfVOseDhb9SdFFVbLUoigH2xHI8Wdo9sj8oLepQ5tlZK1bcKJkQ=-----END PKCS7----- "> <input type="submit" name="submit" value="submit"></form> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548407 Share on other sites More sharing options...
mervyndk Posted May 23, 2008 Author Share Posted May 23, 2008 Thanks for all the help. Quote Link to comment https://forums.phpfreaks.com/topic/106953-php-mail-form-results-and-paypal/#findComment-548547 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.