php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19815 apache 1.3.26 - linux emulation
Submitted: 2002-10-08 09:27 UTC Modified: 2002-10-08 11:39 UTC
From: bretschneider at element5 dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.2.3 OS: freebsd 4.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bretschneider at element5 dot com
New email:
PHP Version: OS:

 

 [2002-10-08 09:27 UTC] bretschneider at element5 dot com
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
)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-08 10:57 UTC] sander@php.net
"apache 1.3.16 - linux emulation" - why the hell are you using linux emulation to run apache? Please try again with the latest version of Apache (1.3.27) and the CVS version of PHP.
 [2002-10-08 11:12 UTC] bretschneider at element5 dot com
the same problem happens on a linux server
Linux pollux 2.2.19-6.2.12 #1 Fri Oct 26 12:20:51 EDT 2001 i686 unknown
 [2002-10-08 11:13 UTC] bretschneider at element5 dot com
i am using a apache 1.3.26 not 1.3.16 ...sorry 4 that .
 [2002-10-08 11:29 UTC] bretschneider at element5 dot com
the latest PHP Version 4.4.0-dev php-version is fine again !
 [2002-10-08 11:39 UTC] sniper@php.net
Closing this then..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 07:01:32 2025 UTC