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

    if(!defined("SECURE_CHECK")) die('Diese Datei kann nicht direkt aufgerufen werden!');

    if($_GET) {

        foreach($_GET as $const => $value) {
            $_GET[$const] = mysql_real_escape_string($value);
            $length = strlen($value);

            if($length > 50) {
                $value = "";
                }

            if(is_numeric($value)) {
                $length = strlen($value);
                if($length > 25) {
                    $_GET[$const] = "";
                    }

                $_GET[$const] = intval($value);
                }
            }
        }

    if($_COOKIE) {

        foreach($_COOKIE as $const => $value) {
            $_COOKIE[$const] = stripslashes($value);

            if(is_numeric($value)) {
                $_COOKIE[$const] = intval($value);
                }
            }
        }

?>
Return current item: WH Social