php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3935 Aren't getting all data from a form into the variables
Submitted: 2000-03-27 07:13 UTC Modified: 2002-10-01 14:57 UTC
From: jech at kvl dot dk Assigned:
Status: Wont fix Package: Parser error
PHP Version: 3.0.15 OS: Digital Unix 4
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: jech at kvl dot dk
New email:
PHP Version: OS:

 

 [2000-03-27 07:13 UTC] jech at kvl dot dk
When using forms with a lot of text fields, PHP forgets some of the variables.

Excerpt from the input form:
     printf ("<tr>");
     while (ora_fetch($curs)) {
        $resultrows = $resultrows + 1;
        $tprogram = ora_getcolumn($curs,2);
        $thpage = ora_getcolumn($curs,3);
        printf ("<tr>");
?>
        <td>
        <input type="hidden" name="tmarker<?echo $i;?>" value="C">
        <input type="checkbox" name="tdelete<?echo $resultrows;?>" value="del">
        </td>
        <td>
        <input size=25 name="tprogram<?echo $resultrows;?>" value="<?echo $tprogram;?>">
        </td>
        <td>
        <input size=25 name="thpage<?echo $resultrows;?>" value="<?echo $thpage;?>">
        </td>
<?
        printf ("</tr>");
     }

When filled out with:
tprogramX      thpageX
sdfsdf aa     - ddf
b                - b
c                - c
d                - xpage 

using:
  while (list($var, $value) = each($HTTP_GET_VARS)) {
                                  echo "$var = $value<br>\n";
                              }
shows that the last textfield ("xpage") is not stored in a PHP variable (it doesn't matter if I'm using PUT og POST in the form).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:57 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun May 26 13:01:25 2019 UTC