#20435 [Fbk->Opn]: $_POST not filled with enctype="multipart/form-data"
| From: | chregu@php.net | Date: | Fri, 15 Nov 2002 07:15:03 +0000 |
| Subject: | #20435 [Fbk->Opn]: $_POST not filled with enctype="multipart/form-data" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24942@lists.php.net to get a copy of this message | ||
ID: 20435
Updated by: chregu@php.net
Reported By: chregu@php.net
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4CVS-2002-11-14
New Comment:
I found the source of the error.
If "always_populate_raw_post_data" is set to On (and
enctype="multipart/form-data"), then $_POST is empty. If Off, then it
has the correct values .
In 4.2 it did work with always_... = On. I know hartmut was working on
this stuff and I'm not sure if this is a real bug, or if it's a known
"bug". But at least, there should be some warning somewhere about
that.
chregu
Previous Comments:
------------------------------------------------------------------------
[2002-11-14 18:16:13] moriyoshi@php.net
I can't reproduce this problem even with mbstring...
<input type="test" name="hello" value="world">
Is this a typo for either [type="hidden"] or [type="text"]?
------------------------------------------------------------------------
[2002-11-14 18:00:56] chregu@php.net
"does not work" = $_POST is empty...
chregu
------------------------------------------------------------------------
[2002-11-14 17:59:47] chregu@php.net
Following form does not work in PHP_4_3 from CVS.
<html><head><title></title></head>
<body>
<?php print_r($_POST);?>
<form name="Master" action="./post.php" method="post"
enctype="multipart/form-data" >
<input type="test" name="hello" value="world">
<input type="submit">
</form>
<?php phpinfo();?>
</body>
</html>
enctype="application/x-www-form-urlencoded" does work.
maybe it has something to do with the recent changes in the POST area.
chregu
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20435&edit=1