Jump to content

Forum and Mail bug


Recommended Posts

When myself or others type the words "delete" or "where" (without quotations of course) in a forum post or a message, they don't show up.

For example if i typed

I need to delete some posts on the forum

it would appear as

I need to some posts on the forum.

I have checked the bbcode files but the is nothing in there about it, i have heard that it may be in the global functions file but i dont know what im looking for, anybody else experienced this problem before?

Link to comment
Share on other sites

This is located at the very top of global functions, do you think this might be the line of code im looking for

function Clean($Var) {

if (get_magic_globals_gpc() == 1) {

$Var = stripslashes($Var);


$Var = mysql_real_escape_string(htmlentities($Var));

return $Var;


Link to comment
Share on other sites

hmm, the only other things i can see in global_func.php is

function make_bigint($str, $positive=1)


$str = (string) $str;

$ret = "";



if((ord($str[$i]) > 47 && ord($str[$i]) < 58) or ($str[$i]=="-" && $positive == 0)) { $ret.=$str[$i]; }


if(strlen($ret) == 0) { return "0"; }

return $ret;




function mysql_escape($str)


return str_replace("'","''",$str);


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...