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: Linux (¿any?)
Private report: No CVE-ID: None
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 07 08:01:28 2024 UTC