ID:               20643
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache related
 Operating System: Windows NT
 PHP Version:      4CVS-2002-11-26 (dev)
 New Comment:

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!)



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

[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

Reply via email to