ID:               20606
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Linux Red hat 8.0
 PHP Version:      4.2.2
 New Comment:

Install Apache 1.3.x.  Apache 2.0 is not a production-quality web
server at this point.


Previous Comments:
------------------------------------------------------------------------

[2002-11-24 02:36:45] [EMAIL PROTECTED]

This same script runs fine on another red hat 8 box that i have. Both
the two red hat boxes were installed from the same CD. The httpd.cong
and php.ini file on both the boxes is also same.

I am invoking this script from a machine running win2K professional
with IE 5.0

------------------------------------------------------------------------

[2002-11-24 02:34:06] [EMAIL PROTECTED]

The script which works fine on Apache 1.3 is:
<?
if($FormMapField['Submit'])
          {
                print_r ($_POST);
          }
?>
<TABLE BORDER=1>
<form method=post action="">
        <TR>
                <TD>
                                vikas
                </TD>
        <TD>
                <select name=ProfMapField[]>
                        <option>FldFirstName</option>
                </select>
        </TD>
        </TR>

        <TR>
                <TD>
                        [EMAIL PROTECTED]
                </TD>
        <TD>
                <select name=ProfMapField[]>
                        <option>FldFirstName</option>
                </select>
        </TD>
        </TR>
        <input  type=submit name=FormMapField[Submit]
value=MappedFields> </form> </table>


But on Apache2 this script gives the erroroneous output of:

Array ( [ProfMapField] => Array ( [0] => FldFirstName [1] =>
FldFirstName [2] => FldFirstName ) [FormMapField] => Array ( [Submit]
=> MappedFields ) )

The output ProfMapField has 3 indices, Though it is supposed to have
only 2 indices.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20606&edit=1

Reply via email to