I would like to register the MAC address below for access to the wireless network NIKHEF-W on Friday, December 16th, 2005

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

\n"; $form .= "

". $emailHeader ."

"; $form .= "\n"; $form .= dropCell1("Name *", dropTextInput("naam", 30, true)); $form .= dropCell("Email *", dropTextInput("email", 30, true)); $form .= dropCell("MAC address *", dropTextInput("hwaddr", 17, true)); $form .= ""; $form .= "

* = required field

"; $form .= "\n"; $form .= "\n"; $form .= "
"; if (!$bDone) { echo $form; } else { //echo "
$emailData
"; $bSuccess = appendCSV("macs.csv", ";"); if ($bSuccess) { global $csvArr; $bSuccess = @mail(substr($csvArr[6],1,strlen($csvArr[6])-2), "MAC address registration JSPG", $emailData, "From: nobody@nikhef.nl"); $bSuccess = @mail("davidg@nikhef.nl", "MAC address registration JSPG from ".$cvsArr[1]." ".$csvArr[2], $emailData, "From: nobody@nikhef.nl"); } if (!$bSuccess) { echo "

Fout: Kon e-mail niet versturen.

"; } else { ?>

Thank you very much for your MAC registration. You'll receive a confirmation email shortly.