Php ile permayapmak ?

Paylaş.

<?php 

function permayap($deger) { 

$turkce=array("ş","Ş","ı","(",")","'","ü","Ü","ö","Ö","ç","Ç"," ","/","*","?","ş","Ş","ı","ğ","Ğ","İ","ö","Ö","Ç","ç","ü","Ü"); 

$duzgun=array("s","S","i","","","","u","U","o","O","c","C","-","-","-","","s","S","i","g","G","I","o","O","C","c","u","U"); 

$deger=str_replace($turkce,$duzgun,$deger); 

$deger = preg_replace("@[^A-Za-z0-9-_]+@i","",$deger); 

return $deger; 

} 

?>
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)