/** * Register.php * * Displays the registration form if the user needs to sign-up, * or lets the user know, if he's already logged in, that he * can't register another name. * * Written by: Jpmaster77 a.k.a. The Grandmaster of C++ (GMC) * Last Updated: August 19, 2004 */ include("include/session.php"); ?>
We're sorry $session->username, but you've already registered. " ."Main.
"; } /** * The user has submitted the registration form and the * results have been processed. */ else if(isset($_SESSION['regsuccess'])){ /* Registration was successful */ if($_SESSION['regsuccess']){ echo "An email was dispatched to your inbox, ".$_SESSION['reguname']." -- click the validation link therein, then you may login>.
"; } /* Registration failed */ else{ echo "Sorry, things didn't work out.
Try again later.