Welcome Guest, Not a member yet? Register   Sign In
xss_clean
#1

[eluser]cupidleomanoj[/eluser]
hi ,
Am new to CI, in the form validation I came across xss_clean, can any one tell me clearly what is the purpose of using xss_clean, i have read the core documents regarding this, but still am struck through it. please any one help, thanks in advance
#2

[eluser]Mikhail Menshinskiy[/eluser]
Example.

Original code:
Code:
<script type="text/javascript">
alert('JS attack');
</script>

After applying xss_clean() will be:

[removed]

alert('JS attack');

[removed]
#3

[eluser]Atharva[/eluser]
Get to know about XSS (Cross Site Scripting) attacks here




Theme © iAndrew 2016 - Forum software by © MyBB