Hello all,
I have created a PHP/Flash form.
Everything works fine until someone
enters french special characters like
é è û ç … etc.
For example.
If someone enters Frédérik in the Name input text field,
I will receive : Frédérik in the e-mail.
Is there a way to settle this? Any ideas?
Thanks! :beam:
Neuhaus3000
The code :
In my Flash movie, on the send button
on (release) {
if (nom eq “”) {
stop();
} else {
loadVariablesNum(“form.php”, 0, “POST”);
gotoAndStop(“sent”);
}
nom = “”;
courriel = “”;
telephone = “”;
commentaires = “”;
}
My PHP page
<?
$to = “my-email@my-email.com”;
$nom = $_POST[‘nom’];
$courriel = $_POST[‘courriel’];
$telephone = $_POST[‘telephone’];
$commentaires = $_POST[‘commentaires’];
$subject = “Question de mon site Web”;
$message .= "Nom : $nom
";
$message .= "Courriel : $courriel
";
$message .= "Téléphone : $telephone
";
$message .= "Message : $commentaires
";
$header = “From: $nom”;
mail($to, $subject, $message, $header);
?>