1
Sviluppo / scusate esiste qualcuno in grado di dirmi come si completa questo php ????
« il: 04 Ott 2007, 01:14:27 »
<?
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> ".$_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>
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> ".$_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>