Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
CI_Upload
set_xss_clean
CI_Upload::set_xss_clean PHP Method
CI_Upload Class Documentation
Show file
Open project: tastyigniter/tastyigniter
set_xss_clean()
public
method
Enables the XSS flag so that the file that was uploaded will be run through the XSS filter.
public
set_xss_clean
(
boolean
$flag
= FALSE ) :
CI_Upload
$flag
boolean
return
CI_Upload
public function set_xss_clean($flag = FALSE) { $this->xss_clean = $flag === TRUE; return $this; }
CI_Upload
__construct
_file_mime_type
_prep_filename
data
display_errors
do_upload
do_xss_clean
get_extension
initialize
is_allowed_dimensions
is_allowed_filesize
is_allowed_filetype
is_image
limit_filename_length
set_allowed_types
set_error
set_filename
set_image_properties
set_max_filename
set_max_filesize
set_max_height
set_max_size
set_max_width
set_min_height
set_min_width
set_upload_path
set_xss_clean
validate_upload_path