Location: PHPKode > scripts > WH Social > wh_social/framework/filter.php
<?php

    function mysql_filter($text) {

        $text = str_replace("OR", "", $text);
        $text = str_replace("or", "", $text);
        $text = str_replace("AND", "", $text);
        $text = str_replace("and", "", $text);
        $text = str_replace("WHERE", "", $text);
        $text = str_replace("where", "", $text);
        $text = str_replace("LIKE", "", $text);
        $text = str_replace("like", "", $text);

    return $text;
    }

    function filter_html($text) {

        $text = str_replace("<?", "", $text);
        $text = str_replace("?>", "", $text);
        $text = str_replace("<?php", "", $text);
        $text = str_replace("php?>", "", $text);
        $text = str_replace("<script", "", $text);
        $text = str_replace("</script>", "", $text);
        $text = str_replace("<title>", "", $text);
        $text = str_replace("</title>", "", $text);
        $text = str_replace("<style", "", $text);
        $text = str_replace("</style>", "", $text);
        $text = str_replace("<frameset", "", $text);
        $text = str_replace("<frame", "", $text);
        $text = str_replace("</frameset>", "", $text);
        $text = str_replace("</frame>", "", $text);
        $text = str_replace("<iframe", "", $text);
        $text = str_replace("</iframe>", "", $text);

    return $text;
    }

?>
Return current item: WH Social