• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

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

[eluser]Mikhail Menshinskiy[/eluser]

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

After applying xss_clean() will be:


alert('JS attack');


Get to know about XSS (Cross Site Scripting) attacks here

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.