note 55285 added to function.get-magic-quotes-gpc
| From: | alex_sh at land dot ru | Date: | Fri, 29 Jul 2005 08:49:46 +0000 |
| Subject: | note 55285 added to function.get-magic-quotes-gpc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92705@lists.php.net to get a copy of this message | ||
Please excuse me for posting the question here, but I think it would be really great to add some
documentation / comments on how to remove the autoquotes from GPC (and _REQUEST). There seems to be
a ten or so different solutions, and to those who don't have the resources to check them on
dozen different php configurations and versions, things look pretty dim. So, which solution is the
Correct One (tm)? So far, the most complete seems to be the one proposed by php at kaiundina dot de
@ 02-Feb-2005 07:18, but it may be incorrect for new versions of php.
I think php itself should have a function for removing these slashes. And for older versions, it may
be available through PHP_Compat or something.
----
Submitter IP: 64.246.30.37
----
Manual Page -- http://www.php.net/manual/en/function.get-magic-quotes-gpc.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55285
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55285&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55285&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55285&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55285&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55285&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55285&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55285&report=yes
Search -- http://master.php.net/manage/user-notes.php