#18648 [Fbk->Bgs]: Single entry form POST gives incorrect variable content
| From: | moriyoshi@php.net | Date: | Sat, 08 Feb 2003 03:50:43 +0000 |
| Subject: | #18648 [Fbk->Bgs]: Single entry form POST gives incorrect variable content | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32434@lists.php.net to get a copy of this message | ||
ID: 18648
Updated by: moriyoshi@php.net
Reported By: ms@ecs.soton.ac.uk
-Status: Feedback
+Status: Bogus
Bug Type: Apache2 related
Operating System: All
PHP Version: 5CVS-2003-01-29 (dev) / 4CVS-20020121 (stable)
New Comment:
First I made a typo in my previous comment.
I mean "application/x-httpd-php" everywhere I wrote "x-http-php".
Anyway let me mark this as bogus...
(The problem turned out to be a user fault.)
Previous Comments:
------------------------------------------------------------------------
[2003-02-07 19:33:06] j-blion@ifrance.com
Apache 2.0.44 / PHP 4.3.1-dev (php4-STABLE-200302071830)
No more problem.
Neither sessions, neither forms
Good job !
------------------------------------------------------------------------
[2003-02-06 03:57:54] rep@devdomain.com
That's it.
------------------------------------------------------------------------
[2003-02-04 20:49:40] laday@chollian.net
Thanks... It works ok.
------------------------------------------------------------------------
[2003-02-04 15:05:45] moriyoshi@php.net
[To anyone who experiences this trouble]
Are you sure that your httpd.conf has just A SINGLE KIND OF PHP RELATED
DIRECTIVE?
Then try grep "\(OutputFilter\|InputFilter\|AddType\)" < httpd.conf or
whatsoever.
# bad example (a)
AddInputFilter PHP php
AddOutputFilter PHP php
...
AddType x-httpd-php .php
# bad example (b)
SetInputFilter PHP
SetOutputFilter PHP
...
AddType x-httpd-php .php
# not bad (c)
AddInputFilter PHP php
AddOutputFilter PHP php
# good (d)
AddType x-httpd-php .php
------------------------------------------------------------------------
[2003-02-04 09:16:42] r.cruces@alcorce.com
Tested in RH8.0 + PHP 4.2.2 + Apache 2.
- Is ok when you add the 'enctype="multipart/form-data"' propety to the
form tag.
- Is ok when you send using GET method instead POST.
- Is ok when you send more than one field: if you have a text and a
button, if you send it pressing enter only the text send and the
problem occurs. When you press the button, text and button are send and
the problem not occur.
ciao.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18648
--
Edit this bug report at http://bugs.php.net/?id=18648&edit=1