ID: 20643 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Apache related Operating System: Windows NT PHP Version: 4CVS-2002-11-26 (dev) New Comment:
No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-12-13 02:32:38] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-12-12 19:50:49] [EMAIL PROTECTED] Indeed, we changed our server into RedHat 8.0 (Apache 2.0, PHP 4.2.2). PHP Code that worked fine on the old server doesn't work on the new server. Post-method forms let some variables (small) pass without any problem, but bigger vars got truncated and concatenated with the original value. ------------------------------------------------------------------------ [2002-11-27 03:38:19] [EMAIL PROTECTED] I double checked it, found the file you mentioned twice, but both are the same, new updated files. So problem persists. ------------------------------------------------------------------------ [2002-11-26 20:10:45] [EMAIL PROTECTED] Are you sure you have replaced ALL the old files with the new ones found in the package? Most important one being php4ts.dll (and also make sure you don't have many copies of it!) ------------------------------------------------------------------------ [2002-11-26 04:54:09] [EMAIL PROTECTED] Long (>~3k) POSTED fields get truncated Following test produces correct results (twice the same length) on Linux + Apache + PHP, Windows NT + IIS + PHP, but NOT on Windows NT + Apache + PHP. In last case, back in PHP the length appears to be 4374 bytes. Making the fieldname longer or shorter affects this length, adding more fields doesn't. This behaviour looks very much like reported bug #18961, which is closed. Today, I downloaded, the what I think is, the latest version (4.4.0-dev). But problem still exists. The apache server I use is Apache: 1.3.19.0.0a delivered with Oracle Application Server 1.0.2.2.2a . My test file: <?php if(isset($_POST['data1'])) { echo "<html><body>Data length: " . strlen($_POST['data1']) . "</body></html>"; return; } ?> <html> <body> <?php echo "<form name='form' action='$PHP_SELF' method='post'>"; ?> <input name="data1" type="hidden" id="data1"/> </form> <script language="JavaScript"> var data = document.getElementById("data1"); data.value = "<?php echo str_pad('', 6000, 'x'); ?>"; alert("Datalength: " + data.value.length); form.submit(); </script> </body> </html> Thanks, - Douwe Koops ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20643&edit=1