php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #15498 identical checkbox names in HTML form
Submitted: 2002-02-11 06:08 UTC Modified: 2002-07-09 11:31 UTC
From: a dot kreps at let dot kun dot nl Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0CVS-2002-02-11 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: a dot kreps at let dot kun dot nl
New email:
PHP Version: OS:

 

 [2002-02-11 06:08 UTC] a dot kreps at let dot kun dot nl
You may not consider this to be a bug, but I find it odd that, for instance, Perl can handle HTML posted 
multiple identical checkbox variable names, but PHP cannot without a workaround (for instance 
turning the checkbox variable into an array). Any chance of this getting fixed in the near future?
.

See also: carl_steinhilber@NOSPAMmentor.com 30-Jan-2002 02:19 email on the same topic. 

            

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-09 11:31 UTC] markonen@php.net
$_SERVER["QUERY_STRING"] and $_SERVER["HTTP_RAW_POST_DATA"] 
contain the raw GET and POST data, respectively.

I don't see why you consider adding [] to the input field 
name a workaround. I think it's a perfectly valid way to 
accomplish what you're doing.
 [2002-07-16 11:38 UTC] vorloh at hotmail dot com
This is a feature that is present in all other web languages.  Also changing the checkboxes to array's makes a mess of your javascript code.

It would just be simpler if it was implemented in the way that we developers naturally expect it to be.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC