Citácia:
<form method="POST" action="formnamail.php">
formnamail.phpCitácia:
<script language="php">
$email = $HTTP_POST_VARS[email];
$mailto = "TVOJ@MAIL";
$mailsubj = "NAZOV";
$mailhead = "Od: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "***CO CHCES*** :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
</script>
Niečo takéto?