//File: index.php
$form = "
";
if ($seenform != "y") :
print "$form";
else :
$recipient = "y@youremail.com";
$subject = "User Comments ($name)";
$headers = "From: $email";
mail($recipient, $subject, $comments, $headers) or die("Could not send email!");
print "Thank you $name for taking a moment to send us your comments!";
endif;
?>