#30830 [Opn->Csd]: documentation for parse_str doesn't mention magic_quotes_gpc

From: Date: Sat, 27 Nov 2004 09:26:30 +0000
Subject: #30830 [Opn->Csd]: documentation for parse_str doesn't mention magic_quotes_gpc
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365261@lists.php.net to get a copy of this message
ID: 30830 Updated by: vrana@php.net Reported By: james at gogo dot co dot nz -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: All PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Already fixed by Sean. I just changed See also. Previous Comments: ------------------------------------------------------------------------ [2004-11-18 17:15:35] james at gogo dot co dot nz Description: ------------ The documentation for parse_str (http://nz2.php.net/manual/en/function.parse-str.php) does not mention that the setting of magic_quotes_gpc directly effects the operation of this function. Beside the fact that this is unexpected behaviour (religious wars about the perceived value of MQGPC aside, any value you pass to parse_str, is not part of get, post or cookies, unless it was getted, posted, or cookied, in which case it's ALREADY been GPC'd and doesn't need to be again) it should be made clear. The documentation is also misleading by mentioning magic_quotes_runtime, leading one to believe that only magic_quotes_runtime affects it (which would be marginally more sensible). I have added a user note to the documentation, but I think it deserves a warning style box because it is a bit of a gotcha. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30830&edit=1

« previous php.doc (#969365261) next »