premeeeeeeeetto che sono un grande naab e che programmo solo in c++, js e java ( già me lo hanno insegnato alla scuola ).

Allora lo script è diviso in due pagine:
- index.htm ( mavaaaaa )
- send.php ( mavaaaaaaaaaaaaaaaaaaa )

Codice index.htm

codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> - Contact Us - </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<form action="./send.php" method="post">
<table width="100%" border="0" cellspacing="4" cellpadding="1">
  <tr>
    <td>Nome: </td>
    <td><input type="text" name="nome"></td>
  </tr>
  <tr>
    <td>Mail: </td>
    <td><input type="text" name="mail"></td>
  </tr>
  <tr>
    <td>Oggetto: </td>
    <td><input type="text" name="oggetto"></td>
  </tr>
  <tr>
    <td>Testo: 
</td>
    <td><textarea rows="6" name="testo" cols="50"></textarea></td>
  </tr>
  <tr>
        <td colspan="2" valign="bottom" align="center" height="30">
        <input type="submit" value="Invia">
        <input type="reset" value="Cancella"></td>
  </tr>
</table>


</form>
</body>
</html>
Codice send.php
Codice PHP:
<?php
// L'indirizzo del destinatario della mail
$to "stermi@gmail.com";

// Oggetto della mail
$subject "Contact form di [url]www.miosito.com[/url] \n"
$subject .= trim(stripslashes($_POST["oggetto"]));

// Corpo del messaggio
$body "Contenuto del modulo:\n\n";
$body .= "Nome " trim(stripslashes($_POST["nome"])) . "\n";
$body .= "Mail Mittente: " trim(stripslashes($_POST["mail"])) . "\n";
$body .= "Testo " trim(stripslashes($_POST[["testo"])) . "\n";

// Invio della mail
if ( @mail($to$subject$mbody) )
echo 
"Mail inviata correttamente!"
else 
echo 
"Errore nell'invio della mail!"

?>
Errore: Parse error: parse error, unexpected T_VARIABLE in /membri/portaliweb/mail/send.php on line 23

Link alla pagina di test: http://portaliweb.altervista.org/mail/index.htm

grazie a tutti per l'aiuto =D