"Kötü sözler" için mesaj atın

0 Cevap php

Possible Duplicate:
How do you implement a good profanity filter?

Bir seri ilanlar web sitesi var, ve bir gizli görüntülenirken, kullanıcıların gizli posteri bir mesaj posta seçeneği var.

Ben göndermeden önce kötü sözler ve unseirousness karşı bu mesajı kontrol etmeniz gerekir.

Firstly, how can I check some text against a text-file with php? This is in Swedish language so there are three special characters also... I am mentioning this so special characters wont be an issue when checking against the text-file.

Ben de bir dizi kullanabilirsiniz, ve php kontrol, bu tercih edilecektir mi? Belki daha hızlı?

İkincisi, "unseriousness" karşı bir mesajı kontrol konusunda herhangi bir ipucu var mı?

0 Cevap