Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

#30830 [Opn->Csd]: documentation for parse_str doesn't mention magic_quotes_gpc
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

Report this thread to moderator Post Follow-up to this message
Old Post
vrana@php.net
11-27-04 01:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:43 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.