/*************************************************************** * register1.php * * Computer Science 50 * David J. Malan * * Implements a registration form for Frosh IMs. Redirects * user to froshims1.php upon error. ***************************************************************/ // validate submission if (empty($_POST["name"]) || empty($_POST["gender"]) || empty($_POST["dorm"])) { header("Location: http://localhost/~jharvard/froshims/froshims1.php"); exit; } ?>