Registration

20171116) { echo("The registration deadline for the 10th MEIDE conference has passed. If you have any inquiries about your participation in MEIDE, please email us at meide@merit.unu.edu"); } else { ?>

0) { $first_name_check = TRUE; }//ok else { $first_name_check = FALSE; $message .= "

[error] Please fill in your first name"; }//ok if(strlen($last_name) > 0) { $last_name_check = TRUE; }//ok else { $last_name_check = FALSE; $message .= "

[error] Please fill in your last name"; }//ok if(strlen($affiliation) > 0) { $affiliation_check = TRUE; }//ok else { $affiliation_check = FALSE; $message .= "

[error] Please fill in your affiliation"; }//ok if(strlen($address) > 0) { $address_check = TRUE; }//ok else { $address_check = FALSE; $message .= "

[error] Please fill in your address"; }//ok if(strlen($postal_code) > 0) { $postal_code_check = TRUE; }//ok else { $postal_code_check = FALSE; $message .= "

[error] Please fill in your postal code"; }//ok if(strlen($city) > 0) { $city_check = TRUE; }//ok else { $city_check = FALSE; $message .= "

[error] Please fill in your city"; }//ok if(strlen($ctry_id) > 0) { $ctry_id_check = TRUE; }//ok else { $ctry_id_check = FALSE; $message .= "

[error] Please fill in your country"; }//ok if(strlen($telephone) > 0) { $telephone_check = TRUE; }//ok else { $telephone_check = FALSE; $message .= "

[error] Please fill in your telephone number"; }//ok if(strlen($email) > 0) { $email_check = TRUE; }//ok else { $email_check = FALSE; $message .= "

[error] Please fill in your email address"; }//ok if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code']))) { $security_code_check = TRUE; } else { $security_code_check = FALSE; $message .= "

[error] Please fill in the correct security code"; } if($first_name_check && $last_name_check && $affiliation_check && $address_check && $postal_code_check && $city_check && $ctry_id_check && $telephone_check && $email_check && $security_code_check) { //if everything's OK $query="insert into $table set date='$date', first_name='$first_name', last_name='$last_name', affiliation='$affiliation', address='$address', postal_code='$postal_code', city='$city', ctry_id ='$ctry_id', telephone='$telephone', email='$email', passport_number='$passport_number', passport_exp_date='$passport_exp_date', first_name_pass='$first_name_pass', last_name_pass='$last_name_pass', date_of_birth='$date_of_birth', ctry_id_issue='$ctry_id_issue', date_of_arrival='$date_of_arrival', city_of_arrival='$city_of_arrival', date_of_departure='$date_of_departure', city_of_departure='$city_of_departure', ctry_id_apply='$ctry_id_apply'"; $result=mysql_query($query); if(!$result) { echo("[error]" . mysql_error()); echo("

$query"); } else { echo("

Thank you for your registration! A confirmation has been sent to $email"); $body= "****************************\n" . "This is an automated response\n" . "****************************\n\n" . " Dear $first_name $last_name\n\n" . " Thank you for your registration for the MEIDE Conference of \n" . " November 16-17, 2017 in Montevideo, Uruguay. \n\n" . " Please visit the conference website at https://www.merit.unu.edu/meide\n" . " for programme updates and information about venues and accommodation\n\n" . " We look forward to welcoming you in Montevideo. \n\n" . " With kind regards, \n" . " The MEIDE conference team"; $bcc="ictweekly@maastrichtuniversity.nl"; //$bcc="ictweekly@maastrichtuniversity.nl, pijpers@merit.unu.edu"; $headers_reg = "From: \"MEIDE\" " ."Reply-To: meide@merit.unu.edu"; $headers_admin = "From: \"MEIDE\" \nBcc: $bcc\n" ."Reply-To: meide@merit.unu.edu"; $to_admin="meide@merit.unu.edu"; //$to_admin="pijpers@merit.unu.edu"; mail($_POST['email'], 'Confirmation registration MEIDE', $body, $headers_reg); include("footer.htm"); $subject="[MEIDE] conference registration"; $body_admin="The following person has registered for the MEIDE conference of November 16-17, 2017\n\n" . "Name: $first_name $last_name\n" . "Affilliation: $affiliation \n" . "Address: $address\n" . "Postc: $postal_code\n" . "City: $city\n" . "Country: $ctry_id\n" . "telepone: $telephone\n" . "Email: $email \n\n\n"; if($first_name_pass!="") $body_admin.="Participant requires official letter of invitation\n\n" . "Name as in passport: $first_name_pass $last_name_pass\n" . "Date of birth: $date_of_birth\n" . "Passport number: $passport_number\n" . "Expiry date: $passport_exp_date\n" . "Country of issue: $ctry_id_issue\n" . "Date of Arrival: $date_of_arrival\n" . "City of Arrival $city_of_arrival\n" . "Date of Departure: $date_of_departure\n" . "City of Departure: $city_of_departure\n" . "Country application: $ctry_id_apply\n" ; $headers = "From: \"MEIDE conference team\" \nBcc: ictweekly@maastrichtuniversity.nl\n" ."Reply-To: meide@merit.unu.edu"; mail($to_admin, 'MEIDE registration', $body_admin, $headers_admin); include("footer.php"); exit(); } } else { echo("

$message

 

"); } } ?>

First name *
Last name *
Affiliation *
Email address *
   
Residence details:

Address *
Postal code *
City *
Telephone: *
(including country and area code)
Country of residence*


Security code (anti-spam) *

Please type the above code:

* Required fields