From:             [EMAIL PROTECTED]
Operating system: freebsd 4.6
PHP version:      4.2.3
PHP Bug Type:     Scripting Engine problem
Bug description:  apache 1.3.16 - linux emulation

When you submit a form to a php-script like the following
you can see that php cuts of the first 4 characters of
the TEST[]-array values.
this bug seams to be similar to 19792.

<html>
<form method="POST" action="test.html">
 <input type="HIDDEN" name="Go" value="There">
 <input type="checkbox" name="TEST[]" value="12345668"> 12345618<br>
 <input type="checkbox" name="TEST[]" value="22345679"> 22345629<br>
 <input type="checkbox" name="TEST[]" value="32345680"> 32345630<br>
 <input type="checkbox" name="TEST[]" value="42345690"> 42345640<br>
 <input type="checkbox" name="TEST[]" value="52345602"> 52345652<br>

<input type="submit" name="hallo" value="Send">
</form>

<? phpinfo(); ?>
</html>

in phpinfo(); you will see the following values ...

_POST["TEST"] = Array
(
    [0] => 5668
    [1] => 5679
    [2] => 5680
    [3] => 5690
    [4] => 5602
)

-- 
Edit bug report at http://bugs.php.net/?id=19815&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19815&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19815&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19815&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19815&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19815&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19815&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19815&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19815&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19815&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19815&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19815&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19815&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19815&r=isapi

Reply via email to