// protest.php3
//
// vi har mottatt følgende data:
//mail ($to, $subject, $body.(chr(10)).$from, $from);
$to = "geriksen@bulle.bu.it-akademiet.no";
if ($from == "")
{
print "You forgot to enter your e-mail address. ";
print "Click to go Back to your letter.";
}
else
{
mail ($ad1, $subject, $body, "From: $from");
mail ($ad2, $subject, $body, "From: $from");
mail ($ad3, $subject, $body, "From: $from");
mail ($ad4, $subject, $body, "From: $from");
mail ($ad5, $subject, $body, "From: $from");
mail ($ad6, $subject, $body, "From: $from");
mail ($ad7, $subject, $body, "From: $from");
mail ($ad8, $subject, $body, "From: $from");
mail ($ad9, $subject, $body, "From: $from");
mail ("norway@ntr.no", $subject, $body, "From: $from");
$epost = file("epost.txt");
while ( list ($nr) = each ($epost) )
{
mail ("$epost[$nr]", $subject, $body, "From: $from");
print " to: $epost[$nr] ";
}
print " ";
print "
";
print " Back to your letter.";
// mail en kopi til glennae@online.no
mail ("glennae@online.no", $subject, $body, "From: $from");
}
// system (escapeshellcmd("echo $from >> protester.txt"));
?>