$name"
: $name;
if ($_GET[h]) { // 'h' = 'host'
$host = htmlspecialchars($_GET[h]);
}
// place subject into HTML segment
if (strlen($_GET[s])) {
$subject = htmlspecialchars($_GET[s]);
$subject = "$subject\n".
"";
}
else {
$subject = " ";
}
// print HTML form to generate email
print <<Email to $name
Send note to $link
All of the following information is optional.
If you leave the email address blank, the message will be sent anonymously.
(But your IP address is recorded to provide a means to track down abuse.)