#26228 [Bgs]: mixed name and value of variables in POST
| From: | karateev at yandex dot ru | Date: | Thu, 13 Nov 2003 07:25:41 +0000 |
| Subject: | #26228 [Bgs]: mixed name and value of variables in POST | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-50317@lists.php.net to get a copy of this message | ||
ID: 26228
User updated by: karateev at yandex dot ru
Reported By: karateev at yandex dot ru
Status: Bogus
Bug Type: CGI related
Operating System: Linux oh3.one-hosting.com 2.4.20
PHP Version: 4.3.3
New Comment:
Very interesting -
In Opera 7.21 it works fine, but in IE 6.0.2800 I receive this error.
So is it IE bug? May be some advice? But with old version of PHP on
another server it works fine also with my IE 6.0.2800.
Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-11-12 21:01:08] iliaa@php.net
It works fine.
------------------------------------------------------------------------
[2003-11-12 17:55:00] karateev at yandex dot ru
Description:
------------
In this simple code we have received after submit for example character
"oth" in text box this value of var id_to_edit "othid_to_edit=oth".
Very strange, because some time we have received the correct value -
for one character and several times for two. Please try
http://www.aviapress.com/test1.php and
http://www.aviapress.com/test.php for information
about system.
We have used this scripts on another hosting, but today...
Thank you in advance.
Vsevolod.
Reproduce code:
---------------
<?php
echo $id_to_edit;
echo "<form method=\"post\" action=\"$PHP_SELF\">\n";
echo "<input type=\"Submit\" value=\"Submit ID to edit\"
name=\"submit\"><BR><BR>\n";
echo "<table border=1>\n";
echo "<tr><td align=center>enter ID's to edit</td></tr>\n";
echo "<tr><td><input type=\"Text\" value = \"$id_to_edit\"
name=\"id_to_edit\" size=\"40\"></td></tr>\n";
echo "</table>\n";
echo "</form>";
?>
Expected result:
----------------
oth
Actual result:
--------------
othid_to_edit=oth
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26228&edit=1