PHP Mail Form Türkçe karakter sorunu

levaska
22-02-2013, 00:36   |  #1  
OP Taze Üye
Teşekkür Sayısı: 0
1 mesaj
Kayıt Tarihi:Kayıt: Şub 2013

HTML Web sayfamdaki iletişim formunda türkçe karakter sorunu çıkıyor..Eğer yardım ederseniz sevinirim..

Saygılarımla...

HTML CODE;

<form id="contact_form" action="send-mail.php" method="post" name="contact_form">
                                              <div></div>
                                              <label>isim:</label>
                                              <INPUT type="text" name="name" id="name" value="">
                                              <div></div>
                                              <label >EMail:</label>
                                              <INPUT type="text" id="email_address" name="email_address" value="">
                                              <div></div>
                                              <label >Telefon:</label>
                                              <INPUT type="text" name="web" id="web" value="">
                                              <div></div>
                                              <label >Wiadomosc:</label>
                                              <TEXTAREA NAME="comments" id="comments"></TEXTAREA>
                                              <div></div>
                                              <INPUT type="submit" name="submit" value="Gönder">
                                              </form>

PHP CODE;

<?php
# Send to your email address
$sendTo = "levent@xxx.com";
# Subject line
$subject = "New Mail from visitors";
# Send from address
$sendFrom = "FROM: [email]Website@xxx.pl[/email]";
# Body
$body =  "A user has left the following information \n \n Imie:  " . stripslashes($_POST["name"]) . " \n Telefon: " . stripslashes($_POST["web"]) . "\n Email: " . stripslashes($_POST["email_address"]) . "\n Wiadomosc:  " . stripslashes($_POST["comments"]);
# Send mail
mail($sendTo, $subject, $body, $sendFrom);
header( "refresh:1;url=index.html" );
?>

Sistem Bilgilerim
serhat.7
23-03-2013, 01:47   |  #2  
serhat.7 avatarı
Yeni Üye
Teşekkür Sayısı: 0
22 mesaj
Kayıt Tarihi:Kayıt: Eyl 2010

 

mysql_unbuffered_query('SET NAMES utf8');

bu satırı eklersen sorunun hallolur.