Security Helper
This helper is loaded using the following code:
Available Functions
The following functions are available:
Parameters:
- $filename (string) – FilenameReturns:Sanitized file nameReturn type:string
This function is an alias for .For more info, please see the documentation.
Parameters:
- $str (string) – Input stringReturns:The input string with no image tagsReturn type:string
This is a security function that will strip image tags from a string.It leaves the image URL as plain text.
Parameters:
- $str (string) – Input stringReturns:Safely formatted stringReturn type:string
This is a security function that converts PHP tags to entities.
Example: