if ($_POST['submitbtn']) {
$msg = $_POST['name']." invites you to check out http://harvardsucks.org, \nto see a group of Yale students encourage 1800 \nHarvard fans to proclaim their true suckiness.";
if ($_POST['message']) {
$msg .= "\n\nPersonal Message from ".$_POST['name']." :\n\n".$_POST['message'];
}
$to= $_POST['to'];
$from = "From: ".$_POST['from'];
mail ($to,"Who sucks?",$msg,$from) ;
$_POST = "";
$resultmsg = "Your message has been sent.";
}
include ("config.php");
?>
Project: The Game!