[Go to /]

Grid Tutorial 08

Event Home

Programme
Registration
Participants
Flyer


RC-RUG
SARA
Surfnet
Nikhef
GridForum NL

EGEE

Registration for the Grid Tutorial 2008

Please register before October 16th, 2008

$mailheader

"; require("form.php"); if ($bPost) $bDone = true; $form = "

\n"; $form .= "

". $emailHeader ."

"; $form .= "\n"; $form .= ""; $arr = Array("mr.", "ms."); $form .= dropCell("I am ", dropRadio("m/v", $arr, false,"",false)); $form .= dropCell1("First name *", dropTextInput("voornaam", 30, true)); $form .= dropCell1("Last name *", dropTextInput("achternaam", 30, true)); $form .= dropCell("Organisation * ", dropTextInput("organisatie", 30, true)); $form .= dropCell("Email *", dropTextInput("email", 30, true)); $form .= dropCell("Email (confirm)*", dropTextInput("email2", 30, true)); $dpa = Array("Yes,
I agree that my name and affiliation will be shown on the participants page. All other information will be kept for use by the organisers.
"); $form .= "

* = required field

"; $form .= "\n"; $form .= "\n"; $form .= "
"; if ( $bPost ) { if ( $_REQUEST['email'] != $_REQUEST['email2'] ) { $form="Error: Email addresses inconsistent

".$form; $bDone=false; } if ( strlen(strstr($_REQUEST['email'],"@")) < 3 ) { $form="Error: Invalid email address ".htmlentities($_REQUEST['email'])."

".$form; $bDone=false; } foreach ( array("voornaam","achternaam","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 { $emailData.="\nThese data you provided as part of your ". "registration:\n$summaryData"; #echo "Email to: ".htmlentities($_REQUEST['email'])."\n"; #echo "Message:\n
$emailData
\n"; $bSuccess = appendCSV($csvfile, ";"); if ($bSuccess) { $bSuccess = @mail($_REQUEST['email'], "Your Registration for the $eventname", $emailData, "From: nobody@nikhef.nl"); $bSuccess = @mail("janjust@nikhef.nl", "Registration for the $eventname ". $_REQUEST['voornaam']." ".$_REQUEST['achternaam'], $emailData, "From: nobody@nikhef.nl"); } if (!$bSuccess) { echo "

Sorry, internal error: could not send the required emails; your registration may only have been processed partially. Please contact janjust@nikhef.nl 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 within 15 minutes, please contact the organisers.


Comments to .