FreenetIS
 All Classes Namespaces Functions Variables Pages
Static Public Member Functions | List of all members
security Class Reference

Static Public Member Functions

static xss_clean ($str)
 Sanitize a string with the xss_clean method.
static strip_image_tags ($str)
 Remove image tags from a string.
static encode_php_tags ($str)
 Remove PHP tags from a string.
static generate_password ($char_count=8)
static generate_numeric_password ($char_count=8)

Member Function Documentation

static security::encode_php_tags (   $str)
static

Remove PHP tags from a string.

Parameters
stringstring to sanitize
Returns
string
static security::generate_numeric_password (   $char_count = 8)
static
Author
Michal Kliment Generate security password from numbers
Parameters
$char_count
Returns
password
static security::generate_password (   $char_count = 8)
static
Author
Michal Kliment Generate security password from capital and small letters and numbers
Parameters
$char_count
Returns
password
static security::strip_image_tags (   $str)
static

Remove image tags from a string.

Parameters
stringstring to sanitize
Returns
string
static security::xss_clean (   $str)
static

Sanitize a string with the xss_clean method.

Parameters
stringstring to sanitize
Returns
string

The documentation for this class was generated from the following file: