By Jason Slater
Friday, 18 April 2008
Friday, 18 April 2008
When working with untrusted information it is always worth running it through the htmlspecialchars function.
This function converts characters that are used by html into safer versions, e.g. ‘<’ becomes $lt;
myString = htmlspecialchars($_GET['fieldname'], ENT_QUOTES);



html special characters –
http://html-lesson.blogspot.com/2008/06/special-characters.html