note 73033 added to function.stripslashes
| From: | Curtis at osu1 dot php dot net | Date: | Wed, 07 Feb 2007 03:09:57 +0000 |
| Subject: | note 73033 added to function.stripslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122988@lists.php.net to get a copy of this message | ||
Tim, your code would work in many cases, but it doesn't address the need of stripslashes_deep,
which recursively applies stripslashes on n-dimension arrays. If any of the superglobals you have
there are 2 or more dimensions, you'd get an array to string conversion notice, thus breaking
the expected result.
Both of those issues have been covered by previous posts already.
----
Server IP: 216.194.113.175
Probable Submitter: 72.87.246.179
----
Manual Page -- http://www.php.net/manual/en/function.stripslashes.php
Edit -- https://master.php.net/note/edit/73033
Del: integrated -- https://master.php.net/note/delete/73033/integrated
Del: useless -- https://master.php.net/note/delete/73033/useless
Del: bad code -- https://master.php.net/note/delete/73033/bad+code
Del: spam -- https://master.php.net/note/delete/73033/spam
Del: non-english -- https://master.php.net/note/delete/73033/non-english
Del: in docs -- https://master.php.net/note/delete/73033/in+docs
Del: other reasons-- https://master.php.net/note/delete/73033
Reject -- https://master.php.net/note/reject/73033
Search -- https://master.php.net/manage/user-notes.php