#22773 [Opn->Fbk]: posted form variables mixed
| From: | sniper@php.net | Date: | Wed, 19 Mar 2003 17:07:05 +0000 |
| Subject: | #22773 [Opn->Fbk]: posted form variables mixed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35939@lists.php.net to get a copy of this message | ||
ID: 22773
Updated by: sniper@php.net
Reported By: joe at mcknight dot de
-Status: Open
+Status: Feedback
Bug Type: Variables related
Operating System: Linux
PHP Version: 4.3.1
New Comment:
There's something really wrong in your system.
I (or couple of hundred others running apache 1.3.2x and PHP 4) are
unable to reproduce this.
How did you install Apache? How did you install PHP in httpd.conf ??
Did you change something in php.ini?
Previous Comments:
------------------------------------------------------------------------
[2003-03-19 09:34:22] joe at mcknight dot de
Hi,
The problem still exists with php 4.3.2-RC1 and Apache 1.3.26 from the
Debian stable distribution...
Is there any other feedback I can provide?
------------------------------------------------------------------------
[2003-03-19 02:24:40] sniper@php.net
You should also update Apache to 1.3.27. (some security issues only
would require it..)
------------------------------------------------------------------------
[2003-03-19 02:16:50] joe at mcknight dot de
I'm sorry I didn't mention the webserver. However it is
_not_ Apache2, but Apache 1.3.20
I'm gonna test the STABLE-latest version...
------------------------------------------------------------------------
[2003-03-18 20:15:38] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
As you didn't mention what webserver you're using,
I'm guessing this is one apache2 bug that is fixed already..
(and make sure your httpd.conf is setup correctly!! See other bogus
reports about that..)
------------------------------------------------------------------------
[2003-03-18 15:36:56] joe at mcknight dot de
With these pages:
test.php:
--------------------
<html>
<body>
<form method="post" action="out.php">
<p>
<input type="text" name="suchstr" size="20">
<input type="submit" value="OK" name="B1">
</p>
</form>
</table>
</body>
</html>
out.php:
-----------
<?
echo "Variable \"suchstr\": $suchstr";
echo "<br>";
echo "Variable \"B1\": $B1";
?>
I get (clicking on the button):
Variable "suchstr": abc&B1=OK
Variable "B1": OK
That means that "suchstr" got mixed with the name and value of Variable
B1!
Feel free to ask for more information or tell me what I'm doing wrong
:-)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22773&edit=1