ID:               21441
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Apache2 related
 Operating System: RH 8.0 Apache 2.0
 PHP Version:      4.2.2
 New Comment:

Excuse me, but this report is actually the dupe of bug #18648.
Could you report the further info at that page?
We're investigating this issue now.

Moriyoshi



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

[2003-01-21 03:01:07] [EMAIL PROTECTED]

The problem is that since then I upgraded to the latest CVS version
(4.3.1-dev), and the problem still exists:

Example:
http://www.parbanszep.hu/aa.php
Enter some text and submit. You will see what comes back. And the php
source is:

<html>
<body>
<form method="post">
<input type="text" name="xx" value="<?=$xx?>">
<input type="submit">
</form>
</body>
</html>

If I use GET instead of POST it seams to be OK. So this is not an
array, but rather a POST related bug.

Further info:
http://www.parbanszep.hu/info.php

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

[2003-01-21 02:50:22] [EMAIL PROTECTED]

i use the current releas version -> 4.3.0 on redhat-8.0 with apache
2.0.43 and get the same error.

-
<input name=\"szuk\" type=\"text\" id=\"szuk\">
-
input string>tralalala

$HTTP_POST_VARS['szuk']  tralalalaszuk=tralalalala

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

[2003-01-06 12:11:11] [EMAIL PROTECTED]

Hi,

i use the current releas version -> 4.3.0 on redhat-8.0 with apache
2.0.43 and get the same error.

here is another example

<?php                                                                  
        
                                                                       
        
echo "<pre>\$_POST ";                                                  
        
print_r($_POST);                                                       
        
echo "\n\$_GET ";                                                      
        
print_r($_GET);                                                        
        
echo "</pre>";                                                         
        
                                                                       
        
?>                                                                     
        
                                                                       
        
<hr>                                                                   
        
<form name="frmTest" action="<?php echo $_SERVER['PHP_SELF']; ?>"
method="POST">
<input type="checkbox" name="chkTest[]" value="chbox 1">chbox 1<br />  
        
<input type="checkbox" name="chkTest[]" value="chbox 2">chbox 2<br />  
        
<input type="checkbox" name="chkTest[]" value="chbox 3">chbox 3<br />  
        
<input type="checkbox" name="chkTest[]" value="chbox 4">chbox 4<br />  
        
<input type="checkbox" name="chkTest[]" value="chbox 5">chbox 5<br
/><br />     
<input type="submit" name="submit" value="submit">                     
        
</form>


output (all checkboxes selected):
$_POST Array
(
    [chkTest] => Array
        (
            [0] => chbox 1
            [1] => chbox 2
            [2] => chbox 3
            [3] => chbox 4
            [4] => chbox 5
            [5] => chbox 2
            [6] => chbox 3
            [7] => chbox 4
            [8] => chbox 5
        )

    [submit] => submit
)

$_GET Array
(
)


When I replace the POST wit GET it works fine.

cya later
/Stephan

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

[2003-01-05 16:44:45] [EMAIL PROTECTED]

Reclassified


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

[2003-01-05 14:51:42] [EMAIL PROTECTED]

Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21441

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

Reply via email to