Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_POST['email'])) {
- // SEND TO
- $to = "webmaster@marineconomicforum.org";
- $email_subject = "MEF Application";
- $name = $_POST['name'];
- $primary_organization = $_POST['primary_organization'];
- $eprimary_position = $_POST['primary_position'];
- $street = $_POST['street'];
- $city = $_POST['city'];
- $state = $_POST['state'];
- $zip = $_POST['zip'];
- $address = $_POST['address'];
- $day_phone = $_POST['day_phone'];
- $mobile_phone = $_POST['mobile_phone'];
- $qualifiy1 = $_POST['qualify1'];
- $qualifiy2 = $_POST['qualify2'];
- $qualifiy3 = $_POST['qualify3'];
- $group1 = $_POST['group1'];
- $position1 = $_POST['position1'];
- $group2 = $_POST['group2'];
- $position2 = $_POST['position2'];
- $group3 = $_POST['group3'];
- $position3 = $_POST['position3'];
- $group4 = $_POST['group4'];
- $position4 = $_POST['position4'];
- $group5 = $_POST['group5'];
- $position5 = $_POST['position5'];
- $position = $_POST['position'];
- $comittee1 = $_POST['comittee1'];
- $comittee_position1 = $_POST['comittee_position1'];
- $comittee2 = $_POST['comittee2'];
- $comittee_position2 = $_POST['comittee_position2'];
- $comittee3 = $_POST['comittee3'];
- $comittee_position3 = $_POST['comittee_position3'];
- $comittee4 = $_POST['comittee4'];
- $comittee_position4 = $_POST['comittee_position4'];
- $accomplishments = $_POST['accomplishments'];
- $interests = $_POST['interests'];
- $comments = $_POST['comments'];
- }
- $content =$_POST['name'] . "\n";
- $content = $_POST['primary_organization'] . "\n";
- $content = $_POST['primary_position'] . "\n";
- $content = $_POST['street'] ."\n";
- $content = $_POST['city'] . "\n";
- $content = $_POST['state'] . "\n";
- $content = $_POST['zip'] . "\n";
- $content = $_POST['address'] . "\n";
- $content = $_POST['day_phone'] . "\n";
- $content = $_POST['mobile_phone'] . "\n";
- $content = $_POST['qualify1'] . "\n";
- $content = $_POST['qualify1'] . "\n";
- $content = $_POST['qualify2'] . "\n";
- $content = $_POST['qualify3'] . "\n";
- $content = $_POST['qualify1'] . "\n";
- $content = $_POST['qualify2'] . "\n";
- $content = $_POST['qualify3'] . "\n";
- $content = $_POST['group1'] . "\n";
- $content = $_POST['position1'] ."\n";
- $content = $_POST['group2'] . "\n";
- $content = $_POST['position2'] . "\n";
- $content = $_POST['group3'] . "\n";
- $content = $_POST['position3'] . "\n";
- $content = $_POST['group4'] . "\n";
- $content = $_POST['position4'] . "\n";
- $content = $_POST['group5'] . "\n";
- $content = $_POST['position5'] . "\n";
- $content = $_POST['comittee1'] . "\n";
- $content = $_POST['comittee_position1'] . "\n";
- $content = $_POST['comittee2'] . "\n";
- $content = $_POST['comitteeposition2'] . "\n";
- $content = $_POST['comittee3'] . "\n";
- $content = $_POST['comittee_position3'] . "\n";
- $content = $_POST['comittee4'] . "\n";
- $content = $_POST['comittee_position4'] . "\n";
- $content = $_POST['interests'] . "\n";
- $content = $_POST['comments'] ."\n";
- }
- mail($to, $email_subject, $message, $headers); ?>
- // create email headers
- $headers = 'From: '.$email_from."\r\n".
- 'Reply-To: '.$email_from."\r\n" .
- 'X-Mailer: PHP/' . phpversion();
- @mail($email_to, $email_subject, $email_message, $headers);
- ?>
- <!-- http://marineconomicforum.org/send_form_application.php -->
- Thank you for contacting us. We will be in touch with you very soon.
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement