ID:               21441
 Comment by:       richardks666 at hotmail dot com
 Reported By:      szabo_a at interware dot hu
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: RH 8.0 Apache 2.0
 PHP Version:      4CVS-2003-01-20 (stable)
 New Comment:

Not to be bold or anything, but this bug still appears in PHP5 RC2,
using Apache 2.0.40 on RH9.
However, I'm at another thread discussing, regarding wrongly configure
"AddType" and the handlers setting the LimitRequestBody in php.conf
under /etc/httpd/conf.d/.


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

[2003-01-21 03:37:54] [EMAIL PROTECTED]

To avoid confusions, let me mark this one as bogus.
Thanks for you cooperation.


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

[2003-01-21 03:34:04] [EMAIL PROTECTED]

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


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

[2003-01-21 03:01:07] szabo_a at interware dot hu

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] seper at interia dot pl

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] white at blutkonserver dot de

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

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

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