Encoding html entities (Prevents cross site scripting - XSS)

use HTML::Entities;

$text = "<script>alert('hi');</script>";

$encoded_text = HTML::Entities::encode($text)

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.