NYCPHP Meetup

NYPHP.org

[nycphp-talk] HTML entities in posted variables problem

Chris Bielanski Cbielanski at inta.org
Wed Mar 17 11:59:41 EST 2004


Add to that, there's always the chance that you will get UTF-8 when you want
ASCII, or vice-versa... Clients are funny things.
~C

> -----Original Message-----
> From: David Sklar [mailto:sklar at sklar.com]
> Sent: Wednesday, March 17, 2004 10:50 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] HTML entities in posted variables problem
> 
> 
> > Interestingly, htmlentities doesn't seem to work for me as 
> > 
> > htmlentities($a) is not equal to htmlentities($_post['q1']) 
> 
> This is probably because htmlentities() turns " into " and not 
> ’  ’ (on my browser at least) displays as a curly 
> apostrophe 
> (single close quote), not as a doublequote.
> 
> David
> 
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 



More information about the talk mailing list