Badwords does not filter Cyrillic
Posted: Fri Feb 19, 2010 11:49 pm
Script URL:ivelin.bg/bg-ivelin/mboard
Version of script:mboard13
Hosting company:tophost.bg
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
utf-8, preg_replace, Cyrillic, badwords, mboard, problem, encoding
Write your message below:
Hi all forum readers and mboard developers and users!
My en.php does not filter bad Cyrillic words even after inserting some in the place specified (insert new bad words below this line*/) and separating them with comma. I have also tried to create bg.php and point from settings.php to it with no effect. I have saved en.php file as utf-8 file before inserting Cyrillic letters in it. I tried to upload it to the server via ftp both ways auto and anci.
I have made some changes to mboard.php as well:
$k = htmlspecialchars($k);
$text = preg_replace("/\b$k\b/iu",$v,$text);
I have used this code with and without the specifier /u.
I have searched the forum and the internet over and over again, but cannot find another solution to the problem.
Version of script:mboard13
Hosting company:tophost.bg
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
utf-8, preg_replace, Cyrillic, badwords, mboard, problem, encoding
Write your message below:
Hi all forum readers and mboard developers and users!
My en.php does not filter bad Cyrillic words even after inserting some in the place specified (insert new bad words below this line*/) and separating them with comma. I have also tried to create bg.php and point from settings.php to it with no effect. I have saved en.php file as utf-8 file before inserting Cyrillic letters in it. I tried to upload it to the server via ftp both ways auto and anci.
I have made some changes to mboard.php as well:
$k = htmlspecialchars($k);
$text = preg_replace("/\b$k\b/iu",$v,$text);
I have used this code with and without the specifier /u.
I have searched the forum and the internet over and over again, but cannot find another solution to the problem.