| Sahte HTML dosya adı üretme |
|
|
|
| Salı, 21 Ağustos 2007 | ||||||||
|
"SEOcuların işine yarayacak bir fonksiyon." function sahteHtmlUret($tmpStr) { $tmpStr=strtr($tmpStr,'ğüşıöçĞÜŞİÖÇ', 'gusiocGUSIOC'); $tmpStr=str_replace(" ","+",$tmpStr); $tmpStr=str_replace("'","",$tmpStr); $tmpStr=str_replace("(","",$tmpStr); $tmpStr=str_replace(")","",$tmpStr); $tmpStr=str_replace("-","+",$tmpStr); $tmpStr=str_replace("?","",$tmpStr); $tmpStr=str_replace("/","",$tmpStr); $tmpStr=str_replace(">","",$tmpStr); $tmpStr=str_replace("<","",$tmpStr); $tmpStr=str_replace("&","",$tmpStr); return $tmpStr; } Kullanımı : echo sahteHtmlUret($veritabanindan_gelen_deger); Bu yazıyı web sayfanızda alıntılayın | Görüntüleme sayısı: 262
Powered by AkoComment Tweaked Special Edition v.1.4.6 |
||||||||
| < Önceki | Sonraki > |
|---|






Bu yazıya ilk yorumu yazın


