par
latypik » 13 avr. 2013, 10:45
Merci pour cette indication, je sens désormais que je brule. Ca ne marche pas mais certainement que je n'ai pas placer $headers .= 'Content-Type: text/html; charset="GB2312"'."\n"; au bon endroit...
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>谢谢 !</title>
</head>
<body bgcolor="#000000">
<p align="center"> </p>
<p align="center"><font color="#FFFFFF"><img src="images/maisonming.jpg" alt="wannan" width="235" height="241" border="1" /></font></p>
<p align="center"> </p>
<p align="center"><font color="#FFFFFF" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><br>
<?
$nom = $_POST['nom'];
$ville = $_POST['ville'];
$tel = $_POST['tel'];
$email = $_POST['email'];
$commentaire = $_POST['commentaire'];
$headers .= 'Return-Path: <'.SITE_MAIL.'>'."\n";
$headers .= 'MIME-Version: 1.0'."\n";
$headers .= 'Content-Type: text/html; charset="GB2312"'."\n";
$headers .= 'Content-Transfer-Encoding: 8bit'."\n\n";
//On affiche ici les informations saisie
echo "谢谢<br>";
$commentaire = stripslashes($commentaire);
//On envoit un mail contenant les données
mail("[email protected]","Contact Chawu CN","Coordonees : \n$nom\n$ville\n$tel\n\n$email\n\nCommentaire :\n$commentaire","From: $email\nReply-To: $email");
?>
</strong></font></p>
<p align="center"> </p>
<p align="center"><font color="#FFFFFF">
<input type="button" value="回去" name="Précédente" onclick="history.back()" />
</font></p>
</body>
</html>
Merci pour cette indication, je sens désormais que je brule. Ca ne marche pas mais certainement que je n'ai pas placer $headers .= 'Content-Type: text/html; charset="GB2312"'."\n"; au bon endroit...
[html]<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>谢谢 !</title>
</head>
<body bgcolor="#000000">
<p align="center"> </p>
<p align="center"><font color="#FFFFFF"><img src="images/maisonming.jpg" alt="wannan" width="235" height="241" border="1" /></font></p>
<p align="center"> </p>
<p align="center"><font color="#FFFFFF" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong><br>
<?
$nom = $_POST['nom'];
$ville = $_POST['ville'];
$tel = $_POST['tel'];
$email = $_POST['email'];
$commentaire = $_POST['commentaire'];
$headers .= 'Return-Path: <'.SITE_MAIL.'>'."\n";
$headers .= 'MIME-Version: 1.0'."\n";
$headers .= 'Content-Type: text/html; charset="GB2312"'."\n";
$headers .= 'Content-Transfer-Encoding: 8bit'."\n\n";
//On affiche ici les informations saisie
echo "谢谢<br>";
$commentaire = stripslashes($commentaire);
//On envoit un mail contenant les données
mail("
[email protected]","Contact Chawu CN","Coordonees : \n$nom\n$ville\n$tel\n\n$email\n\nCommentaire :\n$commentaire","From: $email\nReply-To: $email");
?>
</strong></font></p>
<p align="center"> </p>
<p align="center"><font color="#FFFFFF">
<input type="button" value="回去" name="Précédente" onclick="history.back()" />
</font></p>
</body>
</html>
[/html]