Oui mais elle avais fait une page index.php avec le formulaire qui envoyait les informations a formmail.php et moi jveux que sa soit index.htm vers formmail.php .
Et peut être qu'il y a juste un simple truc a modifier mais moi j'suis un débutant .
J'vous redonne ce que flexy37 a donnée :
Index.php :
<?php
<form method="post" action="formmail.php" enctype="multipart/form-data">
<center>
<table>
<tr>
<td>Nom - Prénom ou Alias :</TD><TD><INPUT TYPE="text" name="pseudo" value="<?php if (isset($_POST['pseudo'])) print $_POST['pseudo']; ?>" ></td>
</tr>
<tr>
<td><font color="red">Email :</font></TD><TD><INPUT TYPE="text" name="email" value="<?php if (isset($_POST['email'])) print $_POST['email']; ?>" ></td>
</tr>
</table>
<br>
<input value="Connexion" type="submit">
</form>
?>
formmail.php :
<?php
$pseudo = htmlspecialchars($_POST['pseudo']);
$email = htmlspecialchars($_POST['email']);
srand((double)microtime()*1000000);
$boundary =md5(uniqid(rand()));
$header = "From: $email \n"; <=== soit ton e-mail ou l'email de la personne qui t'ecris
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: multipart/alternative; boundary=$boundary\n";
$destinataire = "admin@admin.com"; <=== ton adresse de reception
$titre = "texte a modifier";
$message = "\nThis is a multi-part message in MIME format.";
$message .="\n--$boundary\nContent-Type : text/html; charset=\"iso-8859-1\"\n\n";
$message .="Pseudo : $pseudo\n";
$message .="E-mail : $email\n";
$message.= "\n--$boundary--\n end of the multi-part";
mail($destinataire,$titre,$message,$header);
echo "<center><h4>$pseudo, votre inscription à été validée.</h4>"; <==== la c'est quoi qui voit a choisir ....
?>
RAPPEL : J'voudrais que ça soit de index.html vers formmail.php .
Merci .