Re: htmlentities() does not remove escape
| From: | jekillen | Date: | Mon, 28 Jan 2008 00:00:46 +0000 |
| Subject: | Re: htmlentities() does not remove escape | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268177@lists.php.net to get a copy of this message | ||
On Jan 27, 2008, at 10:37 AM, Nathan Nobbe wrote:
On Jan 27, 2008 1:27 PM, jekillen <jekillen@prodigy.net> wrote:Thanks, of course. Sometimes the brain just does not kick over the way it should. Jeff KI have a form that has a textarea and I do not want to disallow the use of single quote as apostrophe, or for any other normal stylization. So I am using html entities to change these characters into html entities. But the function does not remove the escapes added by the browser when sending the input. Is there a special function in php for removing the \ escapes as well?stripslashes() -nathan