Ciao ragazzi chi mi sa dire perch il mio form
http://www.silviaferrari.it/form.htm
Manda la mail ma ma questa arriva con anonymous@...
<?php
if(!$nomemail == "" && (!strstr($nomemail,"@") || !strstr($nomemail,".")))
{
echo "<h2>Use Back - Enter valid e-mail</h2>\n";
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
}
if(empty($nome) || empty($nomemail) ||empty($telefono)|| empty($notes )) {
echo "<h2>Use Back - fill in all fields</h2>\n";
}
echo $badinput;
$todayis = date("l, F j, Y, g:i a") ;
$oggetto = $oggetto ;
$subject = $oggetto;
$notes = stripcslashes($notes);
$message = " $todayis [EST] \n
Attention: $oggetto \n
Messaggio: $notes \n
Da: $nome ($nomemail)\n
Telefono: $telefono\n
Browser Info: $httpagent \n
Referral : $httpref \n
";
$from = "Da: $nomemail\r\n";
mail("miamail@pippo.it", $subject, $message, $from);
?>
<p align="center">
Data: <?php echo $todayis ?>
Grazie : <?php echo $nome ?> ( <?php echo $nomemail ?> )
Oggetto: <?php echo $oggetto ?>
Messaggio:
<?php $notesout = str_replace("\r", "
", $notes);
echo $notesout; ?>
<?php echo $ipi ?>
Next Page
</p>