Back to top

Autore Topic: scusate esiste qualcuno in grado di dirmi come si completa questo php ????  (Letto 977 volte)

Offline ops

  • Nuovo arrivato
  • *
  • Post: 1
    • Mostra profilo
<?
Print_r ($_REQUEST);

Error_Reporting(E_ALL & ~E_NOTICE);
$subject="from".$_REQUEST['your_name'];
$headers= "From:".$_REQUEST['your_mail']."\n";
 $headers.='Content-type: text/html; charset=iso-8859-1';
 $i=1;
 $message='';
 while ($_REQUEST['field_'.$i.'_descr']) {
    $message.="<strong>".$_REQUEST['field_'.$i.'_descr']."</strong>&nbsp;&nbsp;&nbsp;".$_REQUEST['field_'.$i]."
";
   $i++;
 }
 $message.="
".$_REQUEST['message']."

";
mail($_REQUEST['recipient'], $subject,  "
<html>
<head>
 <title>Contact letter</title>
</head>
<body>


  ".$message."
</body>
</html>" , $headers);
echo ("Your message was successfully sent!");




?>
<script>
   resizeTo(300, 300);
//   window.close()
</script>

 



Web Design Bolzano Kreatif