This is a re-posting.  I sent this a few days ago and got no response, which 
wasn't exactly what I had in mind.  Following is the original message: 

I'd like to patch PHP to allow for an XHTML-valid syntax for creating PHP 
arrays from HTML elements 'input' (groups of type="checkbox") and 'select' 
(multiple="multiple").  Square brackets are not allowed in XHTML identifiers, 
so the current syntax name="someName[]" or name="someName[someKey]" is not 
valid.  Square brackets are also not allowed in ECMAScript identifiers (e.g. 
variable names) or directly in CSS selectors.  I propose a simple, valid 
alternative syntax, perhaps something like name="someName__" or 
name="someName__someKey__".  I'd like to get feedback on the likelihood of 
that conflicting with any established practices or conventions (I know it 
would work fine for me), or suggestions of a better syntax. 

I'd also like to get a little guidance on exactly how to proceed with 
submitting such a patch.  As far as I can see this would only require 
modifications to php_variables.c, rfc1867.c, and type.c. 

When responding to this thread, please CC me because I am not subscribed to 
the list. 

Thanks,
Jesse McCarthy


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to