xss_clean($str[, $is_image = FALSE])
Parameters: |
|
---|---|
Returns: |
XSS-clean data |
Return type: |
mixed |
Tries to remove XSS exploits from the input data and returns the cleaned string. If the optional second parameter is set to true, it will return boolean TRUE if the image is safe to use and FALSE if malicious data was detected in it.
Please login to continue.