Re: ' (Single Quotes) in user inputs
| From: | Christian Jul Jensen | Date: | Thu, 14 Oct 2004 09:19:14 +0000 |
| Subject: | Re: ' (Single Quotes) in user inputs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199710@lists.php.net to get a copy of this message | ||
benipmiller@comcast.net (Ben) writes:
> Any ideas on dealing with this would be greatly appreciated.
Disable magic_quotes, and handle all escaping of characters yourself,
I would absolutely prefer that. But beware of sql-injection.
Leave magic_quotes on, and use stripslashes() on your input.
--
Christian Jul Jensen