<html>

<?
/* Script to process registration information from home.html */

/* Display text to the browser */
PRINT "
<head><title>Registration for $firstname $lastname</title></head>
<body>
    Registration information for $firstname $lastname<p>
    Thank you for registering for the conference!<p>  
    You will receive confirmation of your registration 
    via e-mail shortly."
;

/* E-mail the conference administrator the information supplied in form */
mail("mpc3c@virginia.edu""Registration for $firstname $lastname",
"First Name: \t $firstname
Last Name: \t $lastname
E-mail address:    \t $email
Dinner selection: \t $dinner
Comments: \t $comments"
"Reply-To: $email");

/* E-mail the person who filled out the form a confirmation message */
mail ("$email""Registration Confirmation",
"Dear $firstname $lastname, \n
We have received your conference registration information
and have noted your meal preference of $dinner.  Please
let us know if you have any questions or need further
assistance"
"From:mpc3c@virginia.edu");
    
?>
<p>
<a href="register.phps"><font color=red>View the source</font></a>

</body>
</html>