Closed
Bug 64770
Opened 25 years ago
Closed 25 years ago
PHP-style forms with arrays are not compatible with Mozilla
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: bunkin, Assigned: rods)
Details
Attachments
(1 file)
|
197 bytes,
text/html
|
Details |
PHP allows using arrays in the forms, so the multiple select or check boxes
would appear as PHP arrays in the script. This is done by specifying
<select multiple name="beer[]">. Pay close attention to [] signs. When
submitting such form from any browser (IE, Netscape 3, Opera, etc) it works
fine. When submitting from Mozilla (final 6.0 release), it works as if it was
not an array but a simple variable, sending one single value for multiple
select field. Also such problem seem to appear in new AOL browser, though I
have no detailed information on this topic. I know that specifying beer[]
instead of beer is breaking some old dusty w3c standard, but such forms are
used on many sites, and there is no alternative way of doing this for
developers, so I beg you at Mozilla.org to let us developers use the PHP arrays
in the forms.
Comment 1•25 years ago
|
||
Reporter: could you please read the Bug Writing Guidelines at:
http://www.mozilla.org/quality/bug-writing-guidelines.html
...to see the kinds of information we need in a bug report. Please
report back with more information (like BuildID and most importantly
a testcase) after reading those guidelines and consider using the
Bugzilla Helper to report future bugs.
The Helper can be found at:
http://www.mozilla.org/quality/help/bug-form.html
Thanks for your help in testing Mozilla!
Keywords: qawanted
Comment 2•25 years ago
|
||
When I try a form with such a select element, mozilla seems to be sending the
right thing to the server (linux build 2000-01-05-08). Attaching testcase.
Comment 3•25 years ago
|
||
| Assignee | ||
Comment 4•25 years ago
|
||
On WinNT I get exactly the same results that I do with Nav 4.x
Comment 5•25 years ago
|
||
WORKSFORME
Platform: PC
OS: Windows 98
Mozilla Build: 2001011204
&
Platform: PC
OS: Linux 2.2.16
Mozilla Build: 2001011204
Comment 6•25 years ago
|
||
Marking WORKSFORME. The layout problem in the returned page is bug 65143.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Comment 7•25 years ago
|
||
Verifying on windows 2000 build 2001-01-26-10-MTEST
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•