--?php session_start(); $_SESSION['return_to'] = 'register.php'; include('php_classes/corn_header.php'); $err_msg = ""; if ($_POST['registering'] == 'true'){ $ready_to_mail = 'true'; $title = $_POST['title']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $address1 = $_POST['address1']; $address2 = $_POST['address2']; $state = $_POST['state']; $city = $_POST['city']; $postalcode = $_POST['postalcode']; $country = $_POST['country']; $work_phone = $_POST['work_phone']; $home_phone = $_POST['home_phone']; $fax = $_POST['fax']; $email = $_POST['email']; $email2 = $_POST['email2']; $em_contact_name = $_POST['em_contact_name']; $em_contact_info = $_POST['em_contact_info']; $room_type = $_POST['room_type']; $med_reqs = $_POST['med_reqs']; $diet_reqs = $_POST['diet_reqs']; $arrival_date = $_POST['arrival_date']; $arrival_flight = $_POST['arrival_flight']; $departure_date = $_POST['departure_date']; $departure_flight = $_POST['departure_flight']; $need_ground_transport = $_POST['need_ground_transport']; //////////////////////////////////////////////////// if (strlen($first_name) == 0){ $err_msg .= "
Must enter first name.
"; $ready_to_mail = 'false'; } if (strlen($last_name) == 0){ $err_msg .= "Must enter last name.
"; $ready_to_mail = 'false'; } if (!($email == $email2)){ $err_msg .= "Email addresses must match.
"; $ready_to_mail = 'false'; } if ($ready_to_mail == 'true') { require('php_classes/email_registration_info.php'); registerUser($first_name, $last_name, $organization, $title, $address1, $address2, $state, $city, $postalcode, $country, $email, $work_phone, $home_phone, $fax, $email, $em_contact_name, $em_contact_info, $room_type, $med_reqs, $diet_reqs, $arrival_date, $arrival_flight, $departure_date, $departure_flight, $need_ground_transport); $err_msg = "Thank you for registering. You should receive a confirmation email shortly.
"; } } ? -->
|
|||||||||||