php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20085 HTML Array variables are not working properly
Submitted: 2002-10-25 09:31 UTC Modified: 2002-11-10 01:00 UTC
Votes:8
Avg. Score:4.5 ± 0.9
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:2 (40.0%)
From: natz at idecnet dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 4.2.3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: natz at idecnet dot com
New email:
PHP Version: OS:

 

 [2002-10-25 09:31 UTC] natz at idecnet dot com
<form method=post action=myself.php>
 <input type="text" name="myTest[]">
 <input type="text" name="myTest[]">
</form>
<?
  echo "myTest[0] ->".$myTest[0]."<BR>\n";
  echo "myTest[1] ->".$myTest[1]."<BR>\n";
?>

Try run the simple script, and you'll see. The array myTest contains parts of the values of the input fields, but not the complete values. Usually works once you type numbers as input. Weird.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-25 09:35 UTC] natz at idecnet dot com
Try it online at http://www.cegara.com/pruebas.php

Its an apache 1.3.37 on linux. The programs using this feature have worked flawlessly since PHP3.0.2, and suddenly broke down yesterday after the PHP4.2.2-PHP4.2.3 upgrade.
 [2002-10-25 09:36 UTC] natz at idecnet dot com
excuse me.. http://www.cegara.com/prueba.php
 [2002-10-25 09:38 UTC] wez@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC