Re: Escaping Escape Characters
| From: | Jason Brooke | Date: | Fri, 18 Aug 2000 10:25:18 +0000 |
| Subject: | Re: Escaping Escape Characters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12455@lists.php.net to get a copy of this message | ||
> Hi;
> I have a script that, on another (presumably older) version of PHP3
> required that I escape the single quote character. I've transferred the
> account to my own server and now I have all sorts of nasty single quotes
> appearing with the escape character in front of them, like this:
> She\'s
> Denmark\'s
> etc. Is there an easy way of correcting this?
> TIA,
> BenO
You can turn off magic_quotes_gpc in php.ini. I think this sort of thing is
covered in the configuration section of the manual
jason