static public function servervar($name, $isint = false) 
    {
        if(!empty($_SERVER[$name]) && is_array($_SERVER[$name])) {
            return (array)$_SERVER[$name];
        }
        $response = (isset($_SERVER[$name]) ? $_SERVER[$name] : "");

        return ((boolean)$isint ? (int)$response : (string)$response);
    }