$ This-> input-> xss_clean () solution in codeignter
Source: Internet
Author: User
$ This-& gt; input-& gt; xss_clean () in codeignter recently used the codeignter framework to submit a form. this $ this-& gt; is used to view information; input-& gt; xss_clean (), which is described as "sort data of form fields". what is "sort data of form fields ????, Clear $ this-> input-> xss_clean () in codeignter ()
Recently, I used the codeignter framework to submit a form. I used this $ this-> input-> xss_clean () to view information. this is the description of "sort the data of form fields ", what is "organize the data of form fields ????
------ Solution --------------------
Clear potential malicious data... For more information, see core/Security. php.
------ Solution --------------------
Xss_clean only looks at the method name to know what to clean up ~~ Haha ~~
------ Solution --------------------
For reference
Http://stackoverflow.com/questions/5337143/codeigniter-why-use-xss-clean
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service