ID:               22805
 Updated by:       [EMAIL PROTECTED]
 Reported By:      M dot Hankus at ce3 dot pl
-Status:           Verified
+Status:           Assigned
 Bug Type:         Apache2 related
 Operating System: Linux
 PHP Version:      4.3.2RC1
-Assigned To:      
+Assigned To:      ianh
 New Comment:

Ian said he would take a look into this problem in this weekend..


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

[2003-03-21 00:06:34] [EMAIL PROTECTED]

This is a brand-new apache2handler bug.



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

[2003-03-20 17:20:56] [EMAIL PROTECTED]

You're sure you don't have that <files *.php> section??


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

[2003-03-20 09:25:29] M dot Hankus at ce3 dot pl

According to bug #18648 my apache is configured correctly.

I also compiled php 4.3.1 with apache 2.0.44 and it works fine .
Something is wrong only with 4.3.2RC1+ .


In 4.3.2RC adding

enctype="multipart/form-data"

to form solved the problem (like in bug #18648).

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

[2003-03-20 08:04:50] [EMAIL PROTECTED]

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


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

[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