\n"; // Hidden field that tells us where we've come from - see the page // initialisation stuff at the top. $output .= ""; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= ""; $output .= "
Welcome to the KGV Alumni Registry! ". "Here, you can add yourself to our growing list of alumni online ". "and let your old friends find you again! To begin the registration ". "process, please enter your email address into the box below. You ". "will be sent an email giving you further instructions.

\n". "Note: This email address will be shown to the public when you activate ". "your account. It can be changed later.

\n "; $output .= "It is strongly recommended that you do not use ". "your @kgv.net email address for registration, as it will be deleted \n". "when you leave KGV.
Email Address:
  

NOTE: Applies to all students, but ". "especially to those registering from a free Email Acccount such as ". "Hotmail or Yahoo! Mail
We have recently received emails from many ". "users regarding registration emails not being sent to them. This is ". "generally not a problem with KGV Servers."; $output .= "Many email providers now provide a \"spam filter\" for their ". "users. Unfortunately, this may cause registration emails from the ". "Former Pupils' Registry to be immediately moved to a \"Bulk Mail/Junk Mail\" ". "folder in your Inbox. \n"; $output .= "If you are registering with an account with this functionality ". "activated, please check these special folders for the registration ". "email or temporarily turn off the functionality and try again ". "before contacting us for assistance. Thank you.

\n"; // Display the whole page showpage("KGV Alumni Registration", $output); } //////////////////////////////////////////////////////////////////////////////// // // function registerEmail // Validates the email address provided by the new user and sends out the // account activation email // //////////////////////////////////////////////////////////////////////////////// function registerEmail($newEmail) { // Call the common func to do the registration $errorString = doNewRegistration( $newEmail, "templates/registrationemail.txt", false); // Check the error string returned. If there isn't one then registration // was successful so output a message to the user, otherwise just // output the error string itself. if ($errorString == "") { $output = "An email has been sent to $newEmail containing ". "information about how to activate your account. ". "Thanks for registering!

Please allow up to 24 ". "hours for the email to reach your inbox.
\n"; $output .= "If you have registered from a Hotmail or Yahoo! ". "Mail account, please note that spam filters in effect ". "might prevent you from receiving this email. Check your ". "\"Bulk Mail\" folder for the email as well!"; } else { $output = $errorString; } // Finally, display the page showpage ("KGV Alumni Registration", $output); } ?>