Re: Filtering out \ when a ' is user entered?
| From: | Christian Reiniger | Date: | Wed, 27 Jun 2001 14:01:43 +0000 |
| Subject: | Re: Filtering out \ when a ' is user entered? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55392@lists.php.net to get a copy of this message | ||
On Wednesday 27 June 2001 06:18, Marcus James Christian wrote:
> I've built a web log but when the user enters their data and they use '
> or " (and you know they will) php always shows it from the included
> web log as
>
> \' How can I filter out these backslashes so they don't appear on the
> final public viewable page?
http://php.net/stripslashes
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it's the only thing that ever has."
- Margaret Mead