Results 1 to 5 of 5
  1. #1

    Any body know the function code for classes for clean

    Fatal error: Call to undefined function Clean() in /home/blaz1986/public_html/banner.php on line 10

  2. #2
    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.

  3. #3
    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

  4. #4
    Quote Originally Posted by thebobby View Post
    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;
    }

Similar Threads

  1. Classes -- Read inside
    By vlad in forum General discussions
    Replies: 0
    Last Post: 07-31-2011, 07:30 PM
  2. Vital End || A race between classes
    By VitalEnd in forum Browsergames
    Replies: 5
    Last Post: 11-27-2010, 01:46 AM
  3. [OOP] How to auto load Classes
    By Floydian in forum Tutorials
    Replies: 0
    Last Post: 07-12-2008, 01:02 AM
  4. Clean up your .html code !!!
    By overklokan in forum HTML/XHTML/CSS
    Replies: 4
    Last Post: 04-13-2008, 06:07 PM
  5. Replies: 25
    Last Post: 06-07-2007, 08:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •