note 62376 deleted from security.magicquotes by danbrown
| From: | danbrown@php.net | Date: | Fri, 13 Mar 2009 20:30:53 +0000 |
| Subject: | note 62376 deleted from security.magicquotes by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151852@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Using the .htaccess file may not always be possible for instance if you are running php on a windows
IIS server.
Also the code by jfrim at idirect dot com doesn't actually fix the problem as it is stripping
slashes, what you need to do is addslashes to things coming in.
the code by jfrim at idirect dot com is the right idea though although rather than saying
stripslashes, you simply need to say addslashes and it should work.