PHP Caratères bizares reçu mail
                    
        
     
             
                    Thierry555
    
        
    
                    Messages postés
            
                
     
             
            4
        
            
                                    Statut
            Membre
                    
                -
                                     
Thierry555 Messages postés 4 Statut Membre -
        Thierry555 Messages postés 4 Statut Membre -
        Bonjour,
J'ai modifié avec un peu de mal un formulaire php, par contre je reçois des caratères bizare :
Nom : Essai De é è Ã
Prénom : Essai De é è Ã
typo : 1
Nom :
Prénom :
e-mail : info@atzfrance.com
Entreprise/Collectivité : Entreprise
Fonction : Gérant
Adresse du site à protéger : 6 Allée des Amandiers Ville : VILLENEUVE LES BÉZIERS CP : 34420 Téléphone : 0467391716 Portable : 0662594099 Alarme Intrusion : OUI video Intrusion : OUI Contrôle d'acces : OUI Télésurvaillance : OUI détection fumée : OUI Nombre de zones à protéger : 1 superficie en m2 : 140 Autre demande : essai de é à à Autre à préciser : non
alors que lors de l' visualisation aprés envoie (page de vous avez bein envoyé...) c'est ok.
Comment corrigé cela merci.
Thierry
Code du formulaire :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
// Couleur du texte des champs si erreur saisie utilisateur
$color_font_warn="#FF0000";
// Couleur de fond des champs si erreur saisie utilisateur
$color_form_warn="#FFCC66";
// Ne rien modifier ci-dessous si vous n’êtes pas certain de ce que vous faites !
if(isset($_POST['submit'])){
$erreur="";
// Nettoyage des entrées
while(list($var,$val)=each($_POST)){
if(!is_array($val)){
$$var=strip_tags($val);
}else{
while(list($arvar,$arval)=each($val)){
$$var[$arvar]=strip_tags($arval);
}
}
}
// Formatage des entrées
$f_1=trim(ucwords(eregi_replace("[^a-zA-Z0-9éèàäö\ -]", "", $f_1)));
$f_2=trim(ucwords(eregi_replace("[^a-zA-Z0-9éèàäö\ -]", "", $f_2)));
// Verification des champs
if(strlen($f_1)<2){
$erreur.="<li><span class='txterror'>Le champ « Nom » est vide ou incomplet.</span>";
$errf_1=1;
}
if(strlen($f_2)<2){
$erreur.="<li><span class='txterror'>Le champ « Prénom » est vide ou incomplet.</span>";
$errf_2=1;
}
if($erreur==""){
// Création du message
$titre="Message de votre site";
$tete="From:Site@Egsi.cybarmatrice.biz\n";
$corps.="Nom : ".$f_1."\n";
$corps.="Prénom : ".$f_2."\n";
$corps.="typo : ".$typo."\n";
$corps.="Nom : ".$nom."\n";
$corps.="Prénom : ".$prenom."\n";
$corps.="e-mail : ".$email."\n";
$corps.="Entreprise/Collectivité : ".$organisme."\n";
$corps.="Fonction : ".$fonction."\n";
$corps.="Adresse du site à protéger : ".$adresse."\n";
$corps.="Ville : ".$ville."\n";
$corps.="CP : ".$cp."\n";
$corps.="Téléphone : ".$tel."\n";
$corps.="Portable : ".$portable."\n";
$corps.="Alarme Intrusion : ".$boutalarm."\n";
$corps.="video Intrusion : ".$video."\n";
$corps.="Contrôle d'acces : ".$boutacces."\n";
$corps.="Télésurvaillance : ".$bouttele."\n";
$corps.="détection fumée : ".$boutfumee."\n";
$corps.="Nombre de zones à protéger : ".$zone."\n";
$corps.="superficie en m2 : ".$superficie."\n";
$corps.="Autre demande : ".$preciserdemande."\n";
$corps.="Autre à préciser : ".$preciserTxt."\n";
if(mail("info@atzfrance.com", $titre, stripslashes($corps), $tete)){
$ok_mail="true";
}else{
$erreur.="<li><span class='txterror'>Une erreur est survenue lors de l'envoi du message, veuillez refaire une tentative.</span>";
}
}
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans titre</title>
<style type="text/css" media="screen">
<!--
INPUT { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
SELECT { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
TEXTAREA { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
.txterror { color: black; font-size: 11px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }
.txtform { color: black; font-size: 12px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }
.STYLE1 {color: #FF0000; font-size: 11px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; }
-->
</style>
</head>
<body>
<? if($ok_mail=="true"){ ?>
<table width='100%' border='0' cellspacing='1' cellpadding='1'>
<tr><td><span class='txtform'>Le message ci-dessous nous a bien été transmis, et nous vous en remercions.</span></td></tr>
<tr><td> </td></tr>
<tr><td><tt><?echo nl2br(stripslashes($corps));?></tt></td></tr>
<tr><td> </td></tr>
<tr><td><span class='txtform'>Nous allons y donner suite dans les meilleurs délais.<br>A bientôt.</span></td></tr>
</table>
<? }else{ ?>
<form action='<? echo $PHP_SELF ?>' method='post' name='Form'>
<table width='100%' border='0' cellspacing='1' cellpadding='1'>
<td colspan=4 height="2"> <IMG alt="" src="../../z_4647/images/bandeau.jpg" border=0> </td>
<? if($erreur){ ?><tr><td colspan='2' bgcolor='red'><span class='txterror'><font color='white'><b> ERREUR, votre message n'a pas été transmis</b></font></span></td></tr><tr><td colspan='2'><ul><?echo$erreur?></ul></td></tr><?}?>
<tr><td colspan='2'><p class="STYLE1">Les champs marqué d'un * sont obligatoires</p>
<h4>Vous êtes : </h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<td colspan="2"><input id="professionnel" type="radio" value="1" name="typo" />
<label title="Artisan, Commerçant, Profession libérale" for="professionnel">Un professionnel </label>
                
<input id="collectivite" type="radio" value="2" name="typo" />
<label title="Mairie, Association…" for="collectivite">Une collectivité </label>
                
<input id="PME/PMI" type="radio" value="3" name="typo" />
<label title="PME/PMI, Industrie, Banque, Autre…" for="PME/PMI">Une PME/PMI<br />
<br />
				
<?
     
$typo=$_POST['typo'];
  
?>
</label></td>
</tr>
<tr>
<td width="50%"><input id="civiMme" type="radio" value="2" name="civi" />
<label for="civiMme">Mme </label>
                
<input id="civiM" type="radio" value="1" name="civi" />
<label for="civiM">M.<br />
<br />
</label></td>
<td width="50%"> </td>
</tr>
<td><label for="email">Votre e-mail* </label>
<br />
<input name="email" class="formInputWidthMedium" id="email" value="<?echo stripslashes($email);?>" /> </td>
<td> </td>
</tr>
<tr>
<td><label for="organisme">Entreprise/Collectivité* </label>
<br />
<input name="organisme" class="formInputWidthMedium" id="organisme" value="<?echo stripslashes($organisme);?>" /> </td>
<td><label for="fonction">Fonction </label>
<br />
<input name="fonction" class="formInputWidthMedium" id="fonction" value="<?echo stripslashes($fonction);?>" /> </td>
</tr>
<tr>
<td colspan="2"><label for="adresse">Adresse du site à protéger* </label>
<br />
<input name="adresse" class="formInputWidthLarge" id="adresse" style="WIDTH: 360px; HEIGHT: 16px" value="<?echo stripslashes($adresse);?>" size="42" /> </td>
</tr>
<tr>
<td><label for="ville">Ville </label>
<br />
<input name="ville" class="formInputWidthMedium" id="ville" value="<?echo stripslashes($ville);?>" /> </td>
<td><label for="cp">CP* </label>
<br />
<input name="cp" class="formInputWidthMedium" id="cp" value="<?echo stripslashes($cp);?>" /> </td>
</tr>
<tr>
<td><label for="tel">Téléphone* </label>
<br />
<input name="tel" class="formInputWidthMedium" id="tel" value="<?echo stripslashes($tel);?>" /> </td>
<td><label for="portable">Portable </label>
<br />
<input name="portable" class="formInputWidthMedium" id="portable" value="<?echo stripslashes($portable);?>" /> </td>
</tr>
</tbody>
</table>
<br />
<br />
<h4>Informations sur le site à protéger : <br />
<br />
</h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<td width="50%"> </td>
</tr>
<tr>
<td><label for="zones">Nombre de zones à protéger </label>
<br />
<input name="zone" class="formInputWidthMedium" id="zone" value="<?echo stripslashes($zone);?>" /> </td>
<td><label for="superficie">superficie en m2 </label>
<br />
<input name="superficie" class="formInputWidthMedium" id="superficie" value="<?echo stripslashes($superficie);?>" /> </td>
</tr>
<tr>
<td><br />
Autre demande
<input name="preciserdemande" class="formInputWidthMedium" id="preciserdemande" style="WIDTH: 210px; HEIGHT: 14px" value="<?echo stripslashes($preciserdemande);?>" size="25" /></td>
</tr>
<tr></tr>
</tbody>
</table>
<br />
<br />
<h4>Votre demande concerne : <br />
<br />
</h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<? if(stripslashes($boutalarm)=="OUI"){ ?>
<td><input id="alarmeintrusion" checked type="checkbox" value="OUI" name="boutalarm" />
<label for="alarmeintrusion">Alarme intrusion </label>
             
<? }else{?>
<td><input id="alarmeintrusion" type="checkbox" value="OUI" name="boutalarm" />
<label for="alarmeintrusion">Alarme intrusion </label>
<? }?>
<? if(stripslashes($video)=="OUI"){ ?>
<td><input id="videointru" checked type="checkbox" value="OUI" name="video" />
<label for="videointru">Vidéo Surveillance </label>
             
<? }else{?>
<td><input id="videointru" type="checkbox" value="OUI" name="video" />
<label for="videointru">Vidéo Surveillance </label>
             
<? }?>
             
<? if(stripslashes($boutacces)=="OUI"){ ?>
<td><input id="controlacces" checked type="checkbox" value="OUI" name="boutacces" />
<label for="controlacces">Controle d'accés </label>
             
<? }else{?>
<td><input id="controlacces" type="checkbox" value="OUI" name="boutacces" />
<label for="controlacces">Controle d'accés </label>
             
<? }?>
<? if(stripslashes($bouttele)=="OUI"){ ?>
<td><input id="telesurveillance" checked type="checkbox" value="OUI" name="bouttele" />
<label for="telesurveillance">Télésurveillance </label>
             
<? }else{?>
<td><input id="telesurveillance" type="checkbox" value="OUI" name="bouttele" />
<label for="telesurveillance">Télésurveillance </label>
             
<? }?>
<? if(stripslashes($boutfumee)=="OUI"){ ?>
<td><input id="fumee" checked type="checkbox" value="OUI" name="boutfumee" />
<label for="fumee">Détection de fumée </label>
             
<? }else{?>
<td><input id="fumee" type="checkbox" value="OUI" name="boutfumee" />
<label for="fumee">Détection de fumée </label>
             
<? }?>
<br />
</tr>
Autre à préciser
<input name="preciserTxt" class="formInputWidthMedium" id="preciserTxt" style="WIDTH: 210px; HEIGHT: 14px" value="<?echo stripslashes($preciserTxt);?>" size="25" /></td>
</tr>
<tr></tr>
</tbody>
</table>
<br />
<br />
<h4>Un conseiller EGSI vous rappellera afin de confirmer votre demande. <br />
<br />
</h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<td colspan="2"><input id="acceptation" type="checkbox" value="1" name="acceptation" />
<label for="acceptation">J'accepte qu'EGSI m'adresse des offres commerciales par e-mail. </label></td>
</tr>
</tbody>
</table> <p class="txterror"> </p></td>
</tr>
<tr><td align='right' width='30%'><span class='txtform'>Nom* :</span></td><td><input type='text' style='width:200 <?if($errf_1==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_1' value='<?echo stripslashes($f_1);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Prénom* :</span></td><td><input type='text' style='width:200 <?if($errf_2==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_2' value='<?echo stripslashes($f_2);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'></td><td><input type='submit' name='submit' value='Envoyer' border='0'></td></tr>
</table>
</form>
<? } ?>
</body>
</html>
                
            
                
    
    
    
        J'ai modifié avec un peu de mal un formulaire php, par contre je reçois des caratères bizare :
Nom : Essai De é è Ã
Prénom : Essai De é è Ã
typo : 1
Nom :
Prénom :
e-mail : info@atzfrance.com
Entreprise/Collectivité : Entreprise
Fonction : Gérant
Adresse du site à protéger : 6 Allée des Amandiers Ville : VILLENEUVE LES BÉZIERS CP : 34420 Téléphone : 0467391716 Portable : 0662594099 Alarme Intrusion : OUI video Intrusion : OUI Contrôle d'acces : OUI Télésurvaillance : OUI détection fumée : OUI Nombre de zones à protéger : 1 superficie en m2 : 140 Autre demande : essai de é à à Autre à préciser : non
alors que lors de l' visualisation aprés envoie (page de vous avez bein envoyé...) c'est ok.
Comment corrigé cela merci.
Thierry
Code du formulaire :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
// Couleur du texte des champs si erreur saisie utilisateur
$color_font_warn="#FF0000";
// Couleur de fond des champs si erreur saisie utilisateur
$color_form_warn="#FFCC66";
// Ne rien modifier ci-dessous si vous n’êtes pas certain de ce que vous faites !
if(isset($_POST['submit'])){
$erreur="";
// Nettoyage des entrées
while(list($var,$val)=each($_POST)){
if(!is_array($val)){
$$var=strip_tags($val);
}else{
while(list($arvar,$arval)=each($val)){
$$var[$arvar]=strip_tags($arval);
}
}
}
// Formatage des entrées
$f_1=trim(ucwords(eregi_replace("[^a-zA-Z0-9éèàäö\ -]", "", $f_1)));
$f_2=trim(ucwords(eregi_replace("[^a-zA-Z0-9éèàäö\ -]", "", $f_2)));
// Verification des champs
if(strlen($f_1)<2){
$erreur.="<li><span class='txterror'>Le champ « Nom » est vide ou incomplet.</span>";
$errf_1=1;
}
if(strlen($f_2)<2){
$erreur.="<li><span class='txterror'>Le champ « Prénom » est vide ou incomplet.</span>";
$errf_2=1;
}
if($erreur==""){
// Création du message
$titre="Message de votre site";
$tete="From:Site@Egsi.cybarmatrice.biz\n";
$corps.="Nom : ".$f_1."\n";
$corps.="Prénom : ".$f_2."\n";
$corps.="typo : ".$typo."\n";
$corps.="Nom : ".$nom."\n";
$corps.="Prénom : ".$prenom."\n";
$corps.="e-mail : ".$email."\n";
$corps.="Entreprise/Collectivité : ".$organisme."\n";
$corps.="Fonction : ".$fonction."\n";
$corps.="Adresse du site à protéger : ".$adresse."\n";
$corps.="Ville : ".$ville."\n";
$corps.="CP : ".$cp."\n";
$corps.="Téléphone : ".$tel."\n";
$corps.="Portable : ".$portable."\n";
$corps.="Alarme Intrusion : ".$boutalarm."\n";
$corps.="video Intrusion : ".$video."\n";
$corps.="Contrôle d'acces : ".$boutacces."\n";
$corps.="Télésurvaillance : ".$bouttele."\n";
$corps.="détection fumée : ".$boutfumee."\n";
$corps.="Nombre de zones à protéger : ".$zone."\n";
$corps.="superficie en m2 : ".$superficie."\n";
$corps.="Autre demande : ".$preciserdemande."\n";
$corps.="Autre à préciser : ".$preciserTxt."\n";
if(mail("info@atzfrance.com", $titre, stripslashes($corps), $tete)){
$ok_mail="true";
}else{
$erreur.="<li><span class='txterror'>Une erreur est survenue lors de l'envoi du message, veuillez refaire une tentative.</span>";
}
}
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans titre</title>
<style type="text/css" media="screen">
<!--
INPUT { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
SELECT { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
TEXTAREA { color: #000; font-size: 11px; font-family: verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #EEEEEE }
.txterror { color: black; font-size: 11px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }
.txtform { color: black; font-size: 12px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }
.STYLE1 {color: #FF0000; font-size: 11px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; }
-->
</style>
</head>
<body>
<? if($ok_mail=="true"){ ?>
<table width='100%' border='0' cellspacing='1' cellpadding='1'>
<tr><td><span class='txtform'>Le message ci-dessous nous a bien été transmis, et nous vous en remercions.</span></td></tr>
<tr><td> </td></tr>
<tr><td><tt><?echo nl2br(stripslashes($corps));?></tt></td></tr>
<tr><td> </td></tr>
<tr><td><span class='txtform'>Nous allons y donner suite dans les meilleurs délais.<br>A bientôt.</span></td></tr>
</table>
<? }else{ ?>
<form action='<? echo $PHP_SELF ?>' method='post' name='Form'>
<table width='100%' border='0' cellspacing='1' cellpadding='1'>
<td colspan=4 height="2"> <IMG alt="" src="../../z_4647/images/bandeau.jpg" border=0> </td>
<? if($erreur){ ?><tr><td colspan='2' bgcolor='red'><span class='txterror'><font color='white'><b> ERREUR, votre message n'a pas été transmis</b></font></span></td></tr><tr><td colspan='2'><ul><?echo$erreur?></ul></td></tr><?}?>
<tr><td colspan='2'><p class="STYLE1">Les champs marqué d'un * sont obligatoires</p>
<h4>Vous êtes : </h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<td colspan="2"><input id="professionnel" type="radio" value="1" name="typo" />
<label title="Artisan, Commerçant, Profession libérale" for="professionnel">Un professionnel </label>
<input id="collectivite" type="radio" value="2" name="typo" />
<label title="Mairie, Association…" for="collectivite">Une collectivité </label>
<input id="PME/PMI" type="radio" value="3" name="typo" />
<label title="PME/PMI, Industrie, Banque, Autre…" for="PME/PMI">Une PME/PMI<br />
<br />
<?
$typo=$_POST['typo'];
?>
</label></td>
</tr>
<tr>
<td width="50%"><input id="civiMme" type="radio" value="2" name="civi" />
<label for="civiMme">Mme </label>
<input id="civiM" type="radio" value="1" name="civi" />
<label for="civiM">M.<br />
<br />
</label></td>
<td width="50%"> </td>
</tr>
<td><label for="email">Votre e-mail* </label>
<br />
<input name="email" class="formInputWidthMedium" id="email" value="<?echo stripslashes($email);?>" /> </td>
<td> </td>
</tr>
<tr>
<td><label for="organisme">Entreprise/Collectivité* </label>
<br />
<input name="organisme" class="formInputWidthMedium" id="organisme" value="<?echo stripslashes($organisme);?>" /> </td>
<td><label for="fonction">Fonction </label>
<br />
<input name="fonction" class="formInputWidthMedium" id="fonction" value="<?echo stripslashes($fonction);?>" /> </td>
</tr>
<tr>
<td colspan="2"><label for="adresse">Adresse du site à protéger* </label>
<br />
<input name="adresse" class="formInputWidthLarge" id="adresse" style="WIDTH: 360px; HEIGHT: 16px" value="<?echo stripslashes($adresse);?>" size="42" /> </td>
</tr>
<tr>
<td><label for="ville">Ville </label>
<br />
<input name="ville" class="formInputWidthMedium" id="ville" value="<?echo stripslashes($ville);?>" /> </td>
<td><label for="cp">CP* </label>
<br />
<input name="cp" class="formInputWidthMedium" id="cp" value="<?echo stripslashes($cp);?>" /> </td>
</tr>
<tr>
<td><label for="tel">Téléphone* </label>
<br />
<input name="tel" class="formInputWidthMedium" id="tel" value="<?echo stripslashes($tel);?>" /> </td>
<td><label for="portable">Portable </label>
<br />
<input name="portable" class="formInputWidthMedium" id="portable" value="<?echo stripslashes($portable);?>" /> </td>
</tr>
</tbody>
</table>
<br />
<br />
<h4>Informations sur le site à protéger : <br />
<br />
</h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<td width="50%"> </td>
</tr>
<tr>
<td><label for="zones">Nombre de zones à protéger </label>
<br />
<input name="zone" class="formInputWidthMedium" id="zone" value="<?echo stripslashes($zone);?>" /> </td>
<td><label for="superficie">superficie en m2 </label>
<br />
<input name="superficie" class="formInputWidthMedium" id="superficie" value="<?echo stripslashes($superficie);?>" /> </td>
</tr>
<tr>
<td><br />
Autre demande
<input name="preciserdemande" class="formInputWidthMedium" id="preciserdemande" style="WIDTH: 210px; HEIGHT: 14px" value="<?echo stripslashes($preciserdemande);?>" size="25" /></td>
</tr>
<tr></tr>
</tbody>
</table>
<br />
<br />
<h4>Votre demande concerne : <br />
<br />
</h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<? if(stripslashes($boutalarm)=="OUI"){ ?>
<td><input id="alarmeintrusion" checked type="checkbox" value="OUI" name="boutalarm" />
<label for="alarmeintrusion">Alarme intrusion </label>
<? }else{?>
<td><input id="alarmeintrusion" type="checkbox" value="OUI" name="boutalarm" />
<label for="alarmeintrusion">Alarme intrusion </label>
<? }?>
<? if(stripslashes($video)=="OUI"){ ?>
<td><input id="videointru" checked type="checkbox" value="OUI" name="video" />
<label for="videointru">Vidéo Surveillance </label>
<? }else{?>
<td><input id="videointru" type="checkbox" value="OUI" name="video" />
<label for="videointru">Vidéo Surveillance </label>
<? }?>
<? if(stripslashes($boutacces)=="OUI"){ ?>
<td><input id="controlacces" checked type="checkbox" value="OUI" name="boutacces" />
<label for="controlacces">Controle d'accés </label>
<? }else{?>
<td><input id="controlacces" type="checkbox" value="OUI" name="boutacces" />
<label for="controlacces">Controle d'accés </label>
<? }?>
<? if(stripslashes($bouttele)=="OUI"){ ?>
<td><input id="telesurveillance" checked type="checkbox" value="OUI" name="bouttele" />
<label for="telesurveillance">Télésurveillance </label>
<? }else{?>
<td><input id="telesurveillance" type="checkbox" value="OUI" name="bouttele" />
<label for="telesurveillance">Télésurveillance </label>
<? }?>
<? if(stripslashes($boutfumee)=="OUI"){ ?>
<td><input id="fumee" checked type="checkbox" value="OUI" name="boutfumee" />
<label for="fumee">Détection de fumée </label>
<? }else{?>
<td><input id="fumee" type="checkbox" value="OUI" name="boutfumee" />
<label for="fumee">Détection de fumée </label>
<? }?>
<br />
</tr>
Autre à préciser
<input name="preciserTxt" class="formInputWidthMedium" id="preciserTxt" style="WIDTH: 210px; HEIGHT: 14px" value="<?echo stripslashes($preciserTxt);?>" size="25" /></td>
</tr>
<tr></tr>
</tbody>
</table>
<br />
<br />
<h4>Un conseiller EGSI vous rappellera afin de confirmer votre demande. <br />
<br />
</h4>
<table class="formDataTable" cellspacing="0" cellpadding="0" width="95%" summary="" border="0">
<tbody>
<tr>
<td colspan="2"><input id="acceptation" type="checkbox" value="1" name="acceptation" />
<label for="acceptation">J'accepte qu'EGSI m'adresse des offres commerciales par e-mail. </label></td>
</tr>
</tbody>
</table> <p class="txterror"> </p></td>
</tr>
<tr><td align='right' width='30%'><span class='txtform'>Nom* :</span></td><td><input type='text' style='width:200 <?if($errf_1==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_1' value='<?echo stripslashes($f_1);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'><span class='txtform'>Prénom* :</span></td><td><input type='text' style='width:200 <?if($errf_2==1){print("; background-color: ".$color_form_warn."; color: ".$color_font_warn);}?>;' name='f_2' value='<?echo stripslashes($f_2);?>' size='24' border='0'></td></tr>
<tr><td align='right' width='30%'></td><td><input type='submit' name='submit' value='Envoyer' border='0'></td></tr>
</table>
</form>
<? } ?>
</body>
</html>
        A voir également:         
- PHP Caratères bizares reçu mail
- Comment ouvrir un fichier dat reçu par mail - Guide
- Windows live mail - Télécharger - Mail
- Publipostage mail - Accueil - Word
- Comment télécharger un mail reçu - Guide
- Cegetel mail ✓ - Forum Mail
3 réponses
                        
                    Coucou Thierry555,
Ton soucis vient du charset :p
Ne mets pas l'utf-8 dans la page 2 mais l'iso-8859-1
Tu devrais retrouver de jolis caractères :p
Voili voilou, bon courage ;)
    
                Ton soucis vient du charset :p
Ne mets pas l'utf-8 dans la page 2 mais l'iso-8859-1
Tu devrais retrouver de jolis caractères :p
Voili voilou, bon courage ;)
                        
                    Salut
Merci pour ta rapide réponse, mais aprés mise en place du iso-8859-1 Idem, j'avais déjà essayé mais ca parche po et za me gonffle... grrr
On m'as dit que ca venais du cong.ini kesako ?
T'as pas une autre lumière par zazard ??
Merci...
Thierry
    
                Merci pour ta rapide réponse, mais aprés mise en place du iso-8859-1 Idem, j'avais déjà essayé mais ca parche po et za me gonffle... grrr
On m'as dit que ca venais du cong.ini kesako ?
T'as pas une autre lumière par zazard ??
Merci...
Thierry
    Voici ma fonction mail je suis sur que tu trouveras très vite ce qu'il te manque ;) 
function mail_texte ($expediteur,$email_expediteur,$destinataire,$sujet,$message){
$headers ='From: "'.$expediteur.'"<'.$email_expediteur.'>'."\n";
$headers .='Reply-To: '.$email_expediteur.''."\n";
$headers .='Content-Type: text/html; charset="iso-8859-1"'."\n";
$headers .='Content-Transfer-Encoding: 8bit';
@ mail("$destinataire","$sujet","$message","$headers") or die ("<br />Erreur dans l'envoi du mail. ");
}
    function mail_texte ($expediteur,$email_expediteur,$destinataire,$sujet,$message){
$headers ='From: "'.$expediteur.'"<'.$email_expediteur.'>'."\n";
$headers .='Reply-To: '.$email_expediteur.''."\n";
$headers .='Content-Type: text/html; charset="iso-8859-1"'."\n";
$headers .='Content-Transfer-Encoding: 8bit';
@ mail("$destinataire","$sujet","$message","$headers") or die ("<br />Erreur dans l'envoi du mail. ");
}
    Salut ou là là ! integré ça dans un formulaire php déjà trés complexe, arg je vais y passer le w-e prochain, par contre on m'a dit que c'était un paramètrage du serveur qui était pas bien fais (ce serait plus facile et ça me parait judicieux comme remarque)
Que doi-je changer pour que ça marche :
Ci dessous détail : Merci Thierry
PHP Version 4.3.1
System Windows NT localhost 5.0 build 2195
Build Date Feb 15 2003 23:02:25
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINNT\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
--------------------------------------------------------------------------------
PHP Credits
--------------------------------------------------------------------------------
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root https://www.php.net/ https://www.php.net/
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;c:\php4\pear .;c:\php4\pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals Off Off
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from me@localhost.com me@localhost.com
sendmail_path no value no value
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir D:\PHP\uploadtemp D:\PHP\uploadtemp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
bcmath
BCMath support enabled
calendar
Calendar support enabled
com
Directive Local Value Master Value
com.allow_dcom Off Off
com.autoregister_casesensitive On On
com.autoregister_typelib Off Off
com.autoregister_verbose Off Off
com.typelib_file no value no value
ctype
ctype functions enabled
ftp
FTP support enabled
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout -1 -1
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32
Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited
overload
User-Space Object Overloading Support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.92 11-Sep-2002
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_dividend 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path D:\PHP\sessiondata D:\PHP\sessiondata
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.2
zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
Environment
Variable Value
ALLUSERSPROFILE C:\Documents and Settings\All Users
CommonProgramFiles C:\Program Files\Fichiers communs
COMPUTERNAME AKILAO52
ComSpec C:\WINNT\system32\cmd.exe
CONTENT_LENGTH 0
GATEWAY_INTERFACE CGI/1.1
HTTPS off
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*
HTTP_ACCEPT_LANGUAGE fr
HTTP_CONNECTION Keep-Alive
HTTP_HOST egsi.cybermatrice.biz
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.1)
HTTP_COOKIE MPRememberCookie=1; MPPassCookie=12; MPUserCookie=12; ASPSESSIONIDACARCQQT=DOBJNCPDMGMOINIBHIGGJBGM
HTTP_UA_CPU x86
HTTP_ACCEPT_ENCODING gzip, deflate
INSTANCE_ID 335
LOCAL_ADDR 62.39.109.41
NUMBER_OF_PROCESSORS 1
Os2LibPath C:\WINNT\system32\os2\dll;
OS Windows_NT
Path D:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_TRANSLATED D:\www\egsi.cybermatrice.biz\Website\toto.php
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 15 Model 2 Stepping 9, GenuineIntel
PROCESSOR_LEVEL 15
PROCESSOR_REVISION 0209
ProgramFiles C:\Program Files
REMOTE_ADDR 194.149.190.194
REMOTE_HOST 194.149.190.194
REQUEST_METHOD GET
SCRIPT_NAME /toto.php
SERVER_NAME egsi.cybermatrice.biz
SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/5.0
SystemDrive C:
SystemRoot C:\WINNT
TEMP C:\WINNT\TEMP
TMP C:\WINNT\TEMP
USERPROFILE C:\Documents and Settings\Default User
windir C:\WINNT
SCRIPT_FILENAME D:\www\egsi.cybermatrice.biz\Website\toto.php
PHP Variables
Variable Value
_COOKIE["MPRememberCookie"] 1
_COOKIE["MPPassCookie"] 12
_COOKIE["MPUserCookie"] 12
_COOKIE["ASPSESSIONIDACARCQQT"] DOBJNCPDMGMOINIBHIGGJBGM
_SERVER["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_SERVER["CommonProgramFiles"] C:\\Program Files\\Fichiers communs
_SERVER["COMPUTERNAME"] AKILAO52
_SERVER["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_SERVER["CONTENT_LENGTH"] 0
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTPS"] off
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] fr
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] egsi.cybermatrice.biz
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.1)
_SERVER["HTTP_COOKIE"] MPRememberCookie=1; MPPassCookie=12; MPUserCookie=12; ASPSESSIONIDACARCQQT=DOBJNCPDMGMOINIBHIGGJBGM
_SERVER["HTTP_UA_CPU"] x86
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["INSTANCE_ID"] 335
_SERVER["LOCAL_ADDR"] 62.39.109.41
_SERVER["NUMBER_OF_PROCESSORS"] 1
_SERVER["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_SERVER["OS"] Windows_NT
_SERVER["Path"] D:\\Perl\\bin\\;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["PATH_TRANSLATED"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
_SERVER["PROCESSOR_ARCHITECTURE"] x86
_SERVER["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 9, GenuineIntel
_SERVER["PROCESSOR_LEVEL"] 15
_SERVER["PROCESSOR_REVISION"] 0209
_SERVER["ProgramFiles"] C:\\Program Files
_SERVER["REMOTE_ADDR"] 194.149.190.194
_SERVER["REMOTE_HOST"] 194.149.190.194
_SERVER["REQUEST_METHOD"] GET
_SERVER["SCRIPT_NAME"] /toto.php
_SERVER["SERVER_NAME"] egsi.cybermatrice.biz
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PORT_SECURE"] 0
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_SERVER["SystemDrive"] C:
_SERVER["SystemRoot"] C:\\WINNT
_SERVER["TEMP"] C:\\WINNT\\TEMP
_SERVER["TMP"] C:\\WINNT\\TEMP
_SERVER["USERPROFILE"] C:\\Documents and Settings\\Default User
_SERVER["windir"] C:\\WINNT
_SERVER["SCRIPT_FILENAME"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
_SERVER["PHP_SELF"] /toto.php
_SERVER["argv"] Array
(
)
 
_SERVER["argc"] 0
_ENV["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_ENV["CommonProgramFiles"] C:\\Program Files\\Fichiers communs
_ENV["COMPUTERNAME"] AKILAO52
_ENV["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_ENV["CONTENT_LENGTH"] 0
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["HTTPS"] off
_ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*
_ENV["HTTP_ACCEPT_LANGUAGE"] fr
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_HOST"] egsi.cybermatrice.biz
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.1)
_ENV["HTTP_COOKIE"] MPRememberCookie=1; MPPassCookie=12; MPUserCookie=12; ASPSESSIONIDACARCQQT=DOBJNCPDMGMOINIBHIGGJBGM
_ENV["HTTP_UA_CPU"] x86
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["INSTANCE_ID"] 335
_ENV["LOCAL_ADDR"] 62.39.109.41
_ENV["NUMBER_OF_PROCESSORS"] 1
_ENV["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_ENV["OS"] Windows_NT
_ENV["Path"] D:\\Perl\\bin\\;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["PATH_TRANSLATED"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
_ENV["PROCESSOR_ARCHITECTURE"] x86
_ENV["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 9, GenuineIntel
_ENV["PROCESSOR_LEVEL"] 15
_ENV["PROCESSOR_REVISION"] 0209
_ENV["ProgramFiles"] C:\\Program Files
_ENV["REMOTE_ADDR"] 194.149.190.194
_ENV["REMOTE_HOST"] 194.149.190.194
_ENV["REQUEST_METHOD"] GET
_ENV["SCRIPT_NAME"] /toto.php
_ENV["SERVER_NAME"] egsi.cybermatrice.biz
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PORT_SECURE"] 0
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_ENV["SystemDrive"] C:
_ENV["SystemRoot"] C:\\WINNT
_ENV["TEMP"] C:\\WINNT\\TEMP
_ENV["TMP"] C:\\WINNT\\TEMP
_ENV["USERPROFILE"] C:\\Documents and Settings\\Default User
_ENV["windir"] C:\\WINNT
_ENV["SCRIPT_FILENAME"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
    Que doi-je changer pour que ça marche :
Ci dessous détail : Merci Thierry
PHP Version 4.3.1
System Windows NT localhost 5.0 build 2195
Build Date Feb 15 2003 23:02:25
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINNT\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
--------------------------------------------------------------------------------
PHP Credits
--------------------------------------------------------------------------------
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root https://www.php.net/ https://www.php.net/
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;c:\php4\pear .;c:\php4\pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals Off Off
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from me@localhost.com me@localhost.com
sendmail_path no value no value
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir D:\PHP\uploadtemp D:\PHP\uploadtemp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
bcmath
BCMath support enabled
calendar
Calendar support enabled
com
Directive Local Value Master Value
com.allow_dcom Off Off
com.autoregister_casesensitive On On
com.autoregister_typelib Off Off
com.autoregister_verbose Off Off
com.typelib_file no value no value
ctype
ctype functions enabled
ftp
FTP support enabled
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout -1 -1
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32
Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited
overload
User-Space Object Overloading Support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.92 11-Sep-2002
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_dividend 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path D:\PHP\sessiondata D:\PHP\sessiondata
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.2
zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
Environment
Variable Value
ALLUSERSPROFILE C:\Documents and Settings\All Users
CommonProgramFiles C:\Program Files\Fichiers communs
COMPUTERNAME AKILAO52
ComSpec C:\WINNT\system32\cmd.exe
CONTENT_LENGTH 0
GATEWAY_INTERFACE CGI/1.1
HTTPS off
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*
HTTP_ACCEPT_LANGUAGE fr
HTTP_CONNECTION Keep-Alive
HTTP_HOST egsi.cybermatrice.biz
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.1)
HTTP_COOKIE MPRememberCookie=1; MPPassCookie=12; MPUserCookie=12; ASPSESSIONIDACARCQQT=DOBJNCPDMGMOINIBHIGGJBGM
HTTP_UA_CPU x86
HTTP_ACCEPT_ENCODING gzip, deflate
INSTANCE_ID 335
LOCAL_ADDR 62.39.109.41
NUMBER_OF_PROCESSORS 1
Os2LibPath C:\WINNT\system32\os2\dll;
OS Windows_NT
Path D:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_TRANSLATED D:\www\egsi.cybermatrice.biz\Website\toto.php
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 15 Model 2 Stepping 9, GenuineIntel
PROCESSOR_LEVEL 15
PROCESSOR_REVISION 0209
ProgramFiles C:\Program Files
REMOTE_ADDR 194.149.190.194
REMOTE_HOST 194.149.190.194
REQUEST_METHOD GET
SCRIPT_NAME /toto.php
SERVER_NAME egsi.cybermatrice.biz
SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/5.0
SystemDrive C:
SystemRoot C:\WINNT
TEMP C:\WINNT\TEMP
TMP C:\WINNT\TEMP
USERPROFILE C:\Documents and Settings\Default User
windir C:\WINNT
SCRIPT_FILENAME D:\www\egsi.cybermatrice.biz\Website\toto.php
PHP Variables
Variable Value
_COOKIE["MPRememberCookie"] 1
_COOKIE["MPPassCookie"] 12
_COOKIE["MPUserCookie"] 12
_COOKIE["ASPSESSIONIDACARCQQT"] DOBJNCPDMGMOINIBHIGGJBGM
_SERVER["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_SERVER["CommonProgramFiles"] C:\\Program Files\\Fichiers communs
_SERVER["COMPUTERNAME"] AKILAO52
_SERVER["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_SERVER["CONTENT_LENGTH"] 0
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTPS"] off
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] fr
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] egsi.cybermatrice.biz
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.1)
_SERVER["HTTP_COOKIE"] MPRememberCookie=1; MPPassCookie=12; MPUserCookie=12; ASPSESSIONIDACARCQQT=DOBJNCPDMGMOINIBHIGGJBGM
_SERVER["HTTP_UA_CPU"] x86
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["INSTANCE_ID"] 335
_SERVER["LOCAL_ADDR"] 62.39.109.41
_SERVER["NUMBER_OF_PROCESSORS"] 1
_SERVER["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_SERVER["OS"] Windows_NT
_SERVER["Path"] D:\\Perl\\bin\\;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["PATH_TRANSLATED"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
_SERVER["PROCESSOR_ARCHITECTURE"] x86
_SERVER["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 9, GenuineIntel
_SERVER["PROCESSOR_LEVEL"] 15
_SERVER["PROCESSOR_REVISION"] 0209
_SERVER["ProgramFiles"] C:\\Program Files
_SERVER["REMOTE_ADDR"] 194.149.190.194
_SERVER["REMOTE_HOST"] 194.149.190.194
_SERVER["REQUEST_METHOD"] GET
_SERVER["SCRIPT_NAME"] /toto.php
_SERVER["SERVER_NAME"] egsi.cybermatrice.biz
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PORT_SECURE"] 0
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_SERVER["SystemDrive"] C:
_SERVER["SystemRoot"] C:\\WINNT
_SERVER["TEMP"] C:\\WINNT\\TEMP
_SERVER["TMP"] C:\\WINNT\\TEMP
_SERVER["USERPROFILE"] C:\\Documents and Settings\\Default User
_SERVER["windir"] C:\\WINNT
_SERVER["SCRIPT_FILENAME"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
_SERVER["PHP_SELF"] /toto.php
_SERVER["argv"] Array
(
)
_SERVER["argc"] 0
_ENV["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_ENV["CommonProgramFiles"] C:\\Program Files\\Fichiers communs
_ENV["COMPUTERNAME"] AKILAO52
_ENV["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_ENV["CONTENT_LENGTH"] 0
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["HTTPS"] off
_ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*
_ENV["HTTP_ACCEPT_LANGUAGE"] fr
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_HOST"] egsi.cybermatrice.biz
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.1)
_ENV["HTTP_COOKIE"] MPRememberCookie=1; MPPassCookie=12; MPUserCookie=12; ASPSESSIONIDACARCQQT=DOBJNCPDMGMOINIBHIGGJBGM
_ENV["HTTP_UA_CPU"] x86
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["INSTANCE_ID"] 335
_ENV["LOCAL_ADDR"] 62.39.109.41
_ENV["NUMBER_OF_PROCESSORS"] 1
_ENV["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_ENV["OS"] Windows_NT
_ENV["Path"] D:\\Perl\\bin\\;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["PATH_TRANSLATED"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
_ENV["PROCESSOR_ARCHITECTURE"] x86
_ENV["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 2 Stepping 9, GenuineIntel
_ENV["PROCESSOR_LEVEL"] 15
_ENV["PROCESSOR_REVISION"] 0209
_ENV["ProgramFiles"] C:\\Program Files
_ENV["REMOTE_ADDR"] 194.149.190.194
_ENV["REMOTE_HOST"] 194.149.190.194
_ENV["REQUEST_METHOD"] GET
_ENV["SCRIPT_NAME"] /toto.php
_ENV["SERVER_NAME"] egsi.cybermatrice.biz
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PORT_SECURE"] 0
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_ENV["SystemDrive"] C:
_ENV["SystemRoot"] C:\\WINNT
_ENV["TEMP"] C:\\WINNT\\TEMP
_ENV["TMP"] C:\\WINNT\\TEMP
_ENV["USERPROFILE"] C:\\Documents and Settings\\Default User
_ENV["windir"] C:\\WINNT
_ENV["SCRIPT_FILENAME"] D:\\www\\egsi.cybermatrice.biz\\Website\\toto.php
PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
                        
                    Oulà,
Je ne sais pas si je vais pouvoir t'aider, je ne m'y connais pas trop de ce côté là mais je vais faire quelques recherches de mon coté je te tiendrais au courant si j'ai une piste ;)
Bon courage.
    
                Je ne sais pas si je vais pouvoir t'aider, je ne m'y connais pas trop de ce côté là mais je vais faire quelques recherches de mon coté je te tiendrais au courant si j'ai une piste ;)
Bon courage.
    En quo c'est compliqué ? tu as une ligne a changé (mail("info@atzfrance.com", $titre, stripslashes($corps), $tete)
et à rajouté la fonction .
de toute façon cherche pas du coté php.ini je crois pas que c'est la bonne piste et puis ça sert à quoi de te répondre si c'est pour pas faire ce qu'on te propose ?
    et à rajouté la fonction .
de toute façon cherche pas du coté php.ini je crois pas que c'est la bonne piste et puis ça sert à quoi de te répondre si c'est pour pas faire ce qu'on te propose ?
