ID:               22805
 Updated by:       [EMAIL PROTECTED]
 Reported By:      M dot Hankus at ce3 dot pl
-Status:           Open
+Status:           Feedback
-Bug Type:         *General Issues
+Bug Type:         Apache2 related
 Operating System: Linux
 PHP Version:      4.3.2RC1
 New Comment:

See bug #18648. That seems due to the misconfigured httpd.conf.



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

[2003-03-20 07:34:28] M dot Hankus at ce3 dot pl

When you try to create form with inputs, which values are very 
big lets say 30k. When you submit such form, script responsible  for
accepting date will see only 1k of that data.

example script:

<?php

        $tekst="VERY LONG VARIABLE lets say 30k long";   

        if(isset($_POST["moj"])) echo " We
have".strlen($_POST["moj"]);
        $tekst=htmlspecialchars($tekst);

        echo <<<KONIEC
<html>
<head>
</head>
<body>
<form method="post">
<input type="hidden" name="moj" value="$tekst">
<input type="submit">
</form>
</body>
</html>

KONIEC;


?>



You must only initialize variable $tekst with long string about 30k and
observe results. 
In my case script shows:

apache 1.3.27 + php 4.3.1: 29100
apache 2.0.44 + php 4.3.2RC1: 1012  (same script and same php.ini)
apache 2.0.44 + php4-STABLE-200303201230: 1012

I know that bug like this was reported earlier but for different
version of php.

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


-- 
Edit this bug report at http://bugs.php.net/?id=22805&edit=1

Reply via email to