Registration for the July 2017 EGI SPG and AARC TNA3.4 engagement meeting
Please register before July 1, 2017$bPost = ($_SERVER['REQUEST_METHOD']=="POST"); $bDone = false; $emailHeader = "$mailheader
"; require("form.php"); if ($bPost) $bDone = true; $form = "
"; if ( $bPost ) { if ( $_REQUEST['email'] != $_REQUEST['email2'] ) { $form="Error: Email addresses inconsistent".$form; $bDone=false; } $req_dpaok = (isset($_REQUEST['DPA-OK'])?$_REQUEST['DPA-OK']:"nee"); if ( $req_dpaok != "ja" ) { $form="Error: You cannot register using this form unless you agree to the data protection agreement. Please check the agreement checkbox below.
".$form; $bDone=false; } $req_svg = (isset($_REQUEST['SVG'])?$_REQUEST['SVG']:"nee"); $req_spg = (isset($_REQUEST['SPG'])?$_REQUEST['SPG']:"nee"); $req_onsite = (isset($_REQUEST['ON-SITE'])?$_REQUEST['ON-SITE']:"nee"); $req_remote = (isset($_REQUEST['REMOTE-ONLY'])?$_REQUEST['REMOTE-ONLY']:"nee"); #if ( $req_svg != "ja" && $req_spg != "ja" ) { # $form="Error: no use registering if you do not go to either SVG or SPG, please select at least one.
".$form; # $bDone=false; #} if ( $req_remote != "ja" && $req_onsite != "ja" ) { $form="Error: sorry, but we really want to know if you will be on-site or video-only for logistics reasons.
".$form; $bDone=false; } if ( $req_remote == "ja" && $req_onsite == "ja" ) { $form="Error: we unfortunately cannot support multiple incarnations of the same entity. Please select either remote or on-site.
".$form; $bDone=false; } if ( strlen(strstr($_REQUEST['email'],"@")) < 3 ) { $form="Error: Invalid email address ".htmlentities($_REQUEST['email'])."
".$form; $bDone=false; } foreach ( array("voornaam","achternaam","diet","organisatie","email","email2") as $i => $n ) { if ( strlen($_REQUEST[$n]) > 50 ) { $form="Error: unreasonably long string $n
".$form; $bDone=false; } } } if (!$bDone) { echo $form; } else { //echo "
$emailData"; $bSuccess = appendCSV("$csvfile", ";"); if ($bSuccess) { global $csvArr; $bSuccess = @mail( substr($csvArr[6],1,strlen($csvArr[6])-2), "Registration for the $eventname", $emailData, "From: grid.support@nikhef.nl"); $bSuccess = @mail("davidg@nikhef.nl", "Registration for the $eventname". $cvsArr[2]." ".$csvArr[3], $emailData, "From: davidg@nikhef.nl"); # $bSuccess = @mail("david.kelsey@stfc.ac.uk", # "Registration for the $eventname". # $cvsArr[2]." ".$csvArr[3], # $emailData, "From: davidg@nikhef.nl"); } if (!$bSuccess) { echo "
Sorry, internal error: could not send the required emails; your registration may only have been processed partially. Please contact info@eugridpma for further information, or try again.
"; } else { ?>|
Thank you very much for your registration request. You'll receive a confirmation shortly, stating
your preferences and selection. If you have trouble or do not receive the automatic reply, please contact the
organisers.
|