arkadaþlar sorunumu çözdüm... ihtiyacý olanlar için yazdýðým fonksiyon
aþaðýdadýr
function tr2eng($str) //Türkçe Karakter düzenleyici fonksiyon
{
$str = str_replace("ç","c",$str);
$str = str_replace("ð","g",$str);
$str = str_replace("ý","i",$str);
$str = str_replace("ö","o",$str);
$str = str_replace("ü","u",$str);
$str = str_replace("þ","s",$str);
$str = str_replace("Ç","C",$str);
$str = str_replace("Ð","G",$str);
$str = str_replace("Ý","I",$str);
$str = str_replace("Ö","O",$str);
$str = str_replace("Ü","U",$str);
$str = str_replace("Þ","S",$str);
$str = str_replace("ğ","g",$str);
$str = str_replace("ı","i",$str);
$str = str_replace("ş","s",$str);
$str = str_replace("Ğ","G",$str);
$str = str_replace("İ","I",$str);
$str = str_replace("Ş","S",$str);
$str = str_replace(" ","_",$str);
return $str;
}
_______________________________________________
Linux-programlama mailing list
Linux-programlama_at_liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
Received on Fri 15 Aug 2008 - 13:02:01 EEST