yenilmem.com

Archive for February 3rd, 2010

PHP:
  1. function tr_cevir($str) {
  2.     $str = str_replace("Ç","Ç",$str);
  3.     $str = str_replace("ç","ç",$str);
  4.     $str = str_replace("Ğ","Ğ",$str);
  5.     $str = str_replace("ğ","ğ",$str);
  6.     $str = str_replace("İ","İ",$str);
  7.     $str = str_replace("ı","ı",$str);
  8.     $str = str_replace("Ö","Ö",$str);
  9.     $str = str_replace("ö","ö",$str);
  10.     $str = str_replace("Ş","Ş",$str);
  11.     $str = str_replace("ş","ş",$str);
  12.     $str = str_replace("Ü","Ü",$str);
  13.     $str = str_replace("ü","ü",$str);
  14.     return $str;
  15. }