$nome = $_POST["nome"];
$email = $_POST["email"];
$motivo = $_POST[motivo];
$oggetto = $_POST["oggetto"];
$testo = $_POST["testo"];
$testo_format = ereg_replace("\n", "
", $testo);
$messaggio ="Da: $nome
E-mail: $email
Motivo: $motivo
Oggetto: $oggetto
Testo: $testo_format";
if(!isset($motivo))
{
$motivo=stripslashes($_GET['motivo']);
}
else
{
$motivo="";
}
switch($motivo)
{
case 1:
/*invii la mail o a te o al tuo amico*/
;
case 2:/*invii la mail o a te o al tuo amico*/
;
case 3:/*invii la mail o a te o al tuo amico*/
;
case 4:/*invii la mail o a te o al tuo amico*/
;
case 5:/*invii la mail o a te o al tuo amico*/
;
}