Page 1 of 1

htmlentities

Posted: Tue Jun 09, 2009 2:13 pm
by jazz090
a new parameter was added to htmlentities which it ignored double encoding in php 5.2 but my webserver is set to 5.1
so its breaking down on it. is there any way to stop double encoding using only three parameters?

Re: htmlentities

Posted: Wed Jun 10, 2009 2:33 pm
by jazz090
bump

Re: htmlentities

Posted: Wed Jun 10, 2009 3:13 pm
by Darhazer
Applying html_entity_decode before html_entities may solve your issue.

Re: htmlentities

Posted: Thu Jun 11, 2009 9:17 am
by jazz090
yes nice one