iamthwee 1,547 Banned Featured Poster

codeigniter problems with xss security.

I was reading this article what is the best practice?
http://ponderwell.net/2010/08/codeigniter-xss-protection-is-good-but-not-enough-by-itself/
Should I use htmlentities instead?
However, it seems long winded because it doesn't convert £ signs effectively unless you set the character encoding to UTF-8

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.