You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/02/27 16:48:31 UTC

DO NOT REPLY [Bug 17495] New: - Getting each element of an array twice submitting form using POST

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17495>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17495

Getting each element of an array twice submitting form using POST

           Summary: Getting each element of an array twice submitting form
                    using POST
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bettlertho@sis.unibe.ch


If i submit an array using a html form with POST method, e.g.

<from action=... method="POST">
<input name="test[]" value="abc">
<input name="test[]" value="def">

this results in

$_POST["test"]=array(
   [0] = abc
   [1] = def
   [2] = abc
   [3] = def

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org