questa invece è quella che riceve i dati, mi manda l'email...
<?php
$subject = "";
$body .= " Nome: " . trim(stripslashes($_POST["name"])) . "\n";
$body .= " Mail: " . trim(stripslashes($_POST["mail"])) . "\n";
$body .= " Indirizzo: " . trim(stripslashes($_POST["address"])) . "\n";
$body .= "Cap e Città: " . trim(stripslashes($_POST["address2"])) . "\n";
$body .= " Nazione: " . trim(stripslashes($_POST["address3"])) . "\n";
// INTESTAZIONI SUPPLEMENTARI
$headers = "From:" . trim(stripslashes($_POST["mail"])) . "\n";
// INVIO DELLA MAIL
@mail($to = "mail@mail.com", $subject, $body, $headers);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="it">
<head><link rel="shortcut icon" href="http://00.menu/favicon.ico">
<title></title>
<link rel="stylesheet" type="text/css" href="squeezebox.css" />
<style type="text/css">
.demo-images
{
list-style: none;
margin: 0;
}
.demo-images li
{
float: left;
padding: 5px;
width: 100px;
height: 100px;
text-align: center;
}
body {
margin-left: 10px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
background-image: url();
background-color: #000000;
}
.Stile2 { color: #E1E1E1;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
</style>
<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="squeezebox.js"></script>
<script type="text/javascript">
<!--
/* <![CDATA[ */
window.addEvent('domready', function() {
/**
* You can run this code as first code to set default options
* SqueezeBox.initialize({ ... });
*/
SqueezeBox.assign($$('a[rel=boxed]'));
});
/* ]]> */
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.Stile3 {color: #E1E1E1; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }
-->
</style>
</head>
<body>
<div align="center">
<?php include("menu_ord.php"); ?>
<table width="1000" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="F29400" background="immagini/sfondo_nero.png">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
[img]mail/mailsend.png[/img]</p>
[img]immagini/dist.jpg[/img]</p>
</td>
</tr>
</table></td>
</tr>
</table>
<?php include("menu_down.php"); ?></div>
</body>
</html>