#!/home/c/s/cs50/pub/local/i386/php/bin/php-cgi // validate submission if ($_REQUEST["name"] == "" || $_REQUEST["gender"] == "" || $_REQUEST["dorm"] == "") { header("Location: http://www.courses.fas.harvard.edu/~cs50/lectures/weeks/10/src/froshims.html"); exit; } ?>