NYCPHP Meetup

NYPHP.org

[nycphp-talk] htmlentities charset bug

Cliff Hirsch cliff at pinestream.com
Wed Jan 23 13:53:21 EST 2008


On 1/23/08 1:43 PM, "John Campbell" <jcampbell1 at gmail.com> wrote:
> Also, why are you using htmlhentities?  It is a useless function.  If
> you want to escape html, the correct function is htmlspecialchars.
> Htmlentities should never be used... it is slower, adds no security
> benefit, and it unnecessarily makes the data unreadable.

Because Chris Shiflett touts it! If it works for him...





More information about the talk mailing list