Bug #18236 Updated: EXACT HTTP POST data access
| From: | m dot ford at lmu dot ac dot uk | Date: | Tue, 09 Jul 2002 14:19:02 +0000 |
| Subject: | Bug #18236 Updated: EXACT HTTP POST data access | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13609@lists.php.net to get a copy of this message | ||
ID: 18236
Updated by: m.ford@lmu.ac.uk
Reported By: foobardotcom@poczta.onet.pl
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux cyberhq 2.4.19-pre6 #2 SMP
PHP Version: 4.2.1
New Comment:
Damn, you're right!
That'll teach me to read specs more closely (and not to believe
everything everyone tells me!!).
OK, forget this one for me -- but how about closing or won't-fix-ing
all those open feature requests?
Cheers and sorry for the bother!
Previous Comments:
------------------------------------------------------------------------
[2002-07-09 10:02:58] derick@php.net
Or with XHTML 1.1:
http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_extformsmodule
NAME = CDATA here too
------------------------------------------------------------------------
[2002-07-09 09:59:44] sesser@php.net
here is the url:
http://www.w3.org/TR/html401/interact/forms.html#h-17.4
------------------------------------------------------------------------
[2002-07-09 09:57:00] sesser@php.net
The claim that [] violates html 4.0 is simply wrong.
The html 4.0 specification clearly states that the name
attribute for the input tag is of the type CDATA and not
of type ID/NAME.
------------------------------------------------------------------------
[2002-07-09 07:42:15] markonen@php.net
After a brief debate on #php.bugs, it looks like the only
suitable alternative syntax would be
array-key- = value
or
array_key_ = value
i.e. substituting a hyphen or an underscore for the square
brackets. This way we'd be compatible with the "Namespaces
in XML" recommendation (at http://www.w3.org/TR/REC-xml-
names/) which gives meaning to colons in name tokens.
The place to implement this would be
php_register_variable_ex() in main/php_variables.c. There
will be a small performance penalty.
------------------------------------------------------------------------
[2002-07-09 07:07:53] markonen@php.net
Right. We need a standards-compliant, alternative syntax
for the current array[] feature. The magical convert-all-
multiply-defined-vars-to-an-array stuff isn't going to
happen. There are just too many issues to deal with on that
road.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18236
--
Edit this bug report at http://bugs.php.net/?id=18236&edit=1