#18648 [Com]: Single entry form POST gives incorrect variable content

From: Date: Sat, 08 Feb 2003 01:33:06 +0000
Subject: #18648 [Com]: Single entry form POST gives incorrect variable content
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32423@lists.php.net to get a copy of this message
 ID:               18648
 Comment by:       j-blion@ifrance.com
 Reported By:      ms@ecs.soton.ac.uk
 Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: All
 PHP Version:      5CVS-2003-01-29 (dev) / 4CVS-20020121 (stable)
 New Comment:

Apache 2.0.44 / PHP 4.3.1-dev (php4-STABLE-200302071830)

No more problem.
Neither sessions, neither forms

Good job !


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

[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.

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

[2003-02-03 12:36:09] sniper@php.net

I can _NOT_ reproduce this with Apache 2.0.44 and PHP 4.3.1-dev..


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

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



Thread (45 messages)

« previous php.bugs (#32423) next »