From: SerdarAydemir (serdar_aydemir@koytur.com)
Date: Wed 02 May 2007 - 14:57:28 EEST
Selamlar
Asagidaki Php config sayfamda kullanicilar formu doldurup gonder e bastiklarinda email geliyor, fakat turkce karakterlerden ý, ð, þ harfleri gelmiyor.
Asagidaki gibi tanimlama yaptim ama sorun duzelmedi. Nerde yanlis yapmis olabilirim?
Tesekkurler
<?
$TO = "info@serdaraydemir.net";
/* This is the mail program we will use - check path on target system */
$MP = "/usr/sbin/sendmail -t";
?>
<html><head>
<META HTTP-EQUIV="refresh"content="1;URL=http://test.ktg.com.tr">
<title>Your Information has been received</title>
<body bgcolor="#ffffff"><body bgcolor="White">
<center><h1>Message Sent !!!</h1></center>
<?
/*$unicode_array = array(
"Ş" => "S",
"ş" => "s",
"İ" => "I",
"ı" => "i",
"Ğ" => "G",
"ğ" => "g",
);
$emes=strtr($MESSAGE,$unicode_array);
*/
$fd = popen($MP,"w");
fputs($fd, "To: $TO \n");
fputs($fd, "From: $EmailAddress \n");
fputs($fd, "Subject: $SUBJECT \n");
fputs($fd, "Reply-to: $eposta \n");
fputs($fd, "X-Mailer: KTGWeb \n\n");
fputs($fd, "From: $isim \n\n");
fputs($fd, "$mesaj \n\n");
fputs($fd, "Address: $adres \n");
fputs($fd, "Phone: $telno \n\n");
fputs($fd, "\n\n.");
pclose($fd)
?>
Mesaj Gonderildi!<p>
<a href="index.htm" target="_top">
Ana Sayfa
</a>
</body></html>
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama