Fatal error: Call to undefined function Clean() in /home/blaz1986/public_html/banner.php on line 10
Fatal error: Call to undefined function Clean() in /home/blaz1986/public_html/banner.php on line 10
If it aint there then you dont need to worry about it.
Last edited by illusions; 04-06-2012 at 05:18 PM.
Ruler of Zu
FIA ISP FTW!
MWG a discussion forum. If you do not like replies then perhaps dont start a topic.
I no longer support Mccodes bugs, errors or security flaws either on the forum or by private message due to the lack of support by the mccodes staff for their own engine.
If your looking for an engine get one thats supported by its staff. EzRPG and EzRPG Rework & NWE are my recommendations.
if ($_POST['submit'] != ""){
$_POST['changedesc'] = Clean($_POST['changedesc']);
get this when trying to change banner
Fatal error: Call to undefined function Clean() in /home/blaz1986/public_html/banner.php on line 10
function clean($str = '', $html = false) {
if (empty($str)) return;
if (is_array($str)) {
foreach($str as $key => $value) $str[$key] = clean($value, $html);
} else {
if (get_magic_quotes_gpc()) $str = stripslashes($str);
if (is_array($html)) $str = strip_tags($str, implode('', $html));
elseif (preg_match('|<([a-z]+)>|i', $html)) $str = strip_tags($str, $html);
elseif ($html !== true) $str = strip_tags($str);
$str = trim($str);
}return $str;
}
Bookmarks