system/helpers/security.php

Class: security_Core

class security_Core

Security helper class.

security_Core :: xss_clean

public static function xss_clean

Sanitize a string with the xss_clean method.

Parameters:

string str
string to sanitize

Return: string


security_Core :: strip_image_tags

public static function strip_image_tags

Remove image tags from a string.

Parameters:

string str
string to sanitize

Return: string


security_Core :: encode_php_tags

public static function encode_php_tags

Remove PHP tags from a string.

Parameters:

string str
string to sanitize

Return: string