kiz5000 Posted June 26, 2013 Share Posted June 26, 2013 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? Quote Link to comment Share on other sites More sharing options...
Dayo Posted June 26, 2013 Share Posted June 26, 2013 if you use notepad++ search in files for 'DELETE' or "DELETE" but it is probably in the global functions file probably using something like preg_replace or str_replace Quote Link to comment Share on other sites More sharing options...
kiz5000 Posted June 27, 2013 Author Share Posted June 27, 2013 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; } Quote Link to comment Share on other sites More sharing options...
Djkanna Posted June 27, 2013 Share Posted June 27, 2013 Nope, that won't be causing this specific issue. Quote Link to comment Share on other sites More sharing options...
kiz5000 Posted July 3, 2013 Author Share Posted July 3, 2013 hmm, the only other things i can see in global_func.php is function make_bigint($str, $positive=1) { $str = (string) $str; $ret = ""; for($i=0;$i<strlen($str);$i++) { 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; } and function mysql_escape($str) { return str_replace("'","''",$str); } Quote Link to comment Share on other sites More sharing options...
Zettieee Posted July 3, 2013 Share Posted July 3, 2013 Search for something like this in mail/forums/post: $str($post['id']); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.