Quote
ตุลาคม ทำบุญออกพรรษา / ตักบาตรเทโวโรห
// Strip Input Function, prevents HTML in unwanted places
function stripinput($text) {
if (QUOTES_GPC) $text = stripslashes($text);
$search = array("\"", "'", "\\", '\"', "\'", "<", ">", " ");
$replace = array(""", "'", "\", """, "'", "<", ">", " ");
$text = str_replace($search, $replace, $text);
return $text;
}
Quote
Digitanium wrote:
Just a stab in the dark but try replacing the stripinput function in maincore.php (lines 313-320) with:Code Download source// Strip Input Function, prevents HTML in unwanted places
function stripinput($text) {
if (QUOTES_GPC) $text = stripslashes($text);
$search = array("\"", "'", "\\", '\"', "\'", "<", ">", " ");
$replace = array(""", "'", "\", """, "'", "<", ">", " ");
$text = str_replace($search, $replace, $text);
return $text;
}
Quote
archeens wrote:
for me it didnt helped
http://testswc3.wc3.lv
// Strip Input Function, prevents HTML in unwanted places
function stripinput($text) {
if (QUOTES_GPC) $text = stripslashes($text);
$search = array("\"", "'", "\\", '\"', "\'", "<", ">", " ");
$replace = array(""", "'", "\", """, "'", "<", ">", " ");
$text = str_replace($search, $replace, $text);
return $text;
}
Quote
Fangree_Craig wrote:
Emilife93, please be patient a experienced user will help you at some point.
Please also remember the Rules regarding Double Posting.
Quote
jantom wrote:
Did you convert database to utf-8 before you changed global.php? Without this operation, Ankur's idea can't work.
Quote
jantom wrote:
Did you convert database to utf-8 before you changed global.php? Without this operation, Ankur's idea can't work.
Category Forum
Installation Issues - 8Labels
None yet
Statistics
9 participants
Notifications
You are not receiving notifications from this thread.
Related Questions