#22612 [Bgs->Dup]: POST variable names and values are garbled
| From: | wez@php.net | Date: | Tue, 25 Mar 2003 11:42:16 +0000 |
| Subject: | #22612 [Bgs->Dup]: POST variable names and values are garbled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36379@lists.php.net to get a copy of this message | ||
ID: 22612
Updated by: wez@php.net
Reported By: dave at bcs dot co dot nz
-Status: Bogus
+Status: Duplicate
Bug Type: Apache related
Operating System: Linux
PHP Version: 4.3.2-dev
New Comment:
Sounds related to Bug #22773
Previous Comments:
------------------------------------------------------------------------
[2003-03-24 20:55:59] dreams at apdo dot com
I found an error using Apache 2.0.43 with PHP 4.3.1 and the POST method
under WinXP SP1:
Variables retrieved get corrupted with the variable name!
So a line like this:
...
$pass=$_POST['pass'];
echo $pass;
results into a text showing "passwordenteredpass=paswordentered".
I got arround this nifty bug especifying into the <form method="post"
... the folowing command: ENCTYPE="multipart/form-data".
So the forms looks like:
<form name="form1" method="post" ENCTYPE="multipart/form-data">
<input type="password" name="pass">
<input type="submit" value="Submit">
</form>
And now it works. I'm using IE6 win latest updates and is not the first
time it happends. Who's fault? PHP? IE? php4apache2.dll ?? hope some
one knows...
------------------------------------------------------------------------
[2003-03-10 04:40:44] sniper@php.net
Not a bug in PHP, but in IE/w2k.
------------------------------------------------------------------------
[2003-03-09 21:46:35] dave at bcs dot co dot nz
It appears to be an IE6 under Win2K problem - MS strikes again...
Everything's fine with IE6 under XP - both copies of IE6 have all the
latest updates installed.
Also fine from various Linux browsers.
Try it out at http://www.bcs.co.nz/bug.php
------------------------------------------------------------------------
[2003-03-09 21:07:51] sniper@php.net
Does this happen with any browser?
Can you add the output of this command to this report
if this happens with any browser:
# diff -u php.ini-dist /usr/local/lib/php.ini
(provided you even have a php.ini there..)
------------------------------------------------------------------------
[2003-03-09 20:53:57] dave at bcs dot co dot nz
Configuration options are:
./configure --with-apache=/usr/src/apache_1.3.26 --disable-debug
\
--enable-trans-sid --with-mysql=/usr/local/mysql
--enable-magic-quotes \
--enable-xslt --with-xslt-sablot=/usr/local
--with-expat-dir=/usr/local \
--with-gd --enable-gd-native-ttf --with-png-dir=/usr
--with-jpeg-dir=/usr \
--with-zlib-dir=/usr --with-freetype-dir=/usr/local
\
--with-openssl=/usr/local/ssl --with-imap-ssl=/usr/local/ssl
\
--with-gettext --with-xml --with-mcrypt
--with-imap=/usr/src/imap-2002b
------------------------------------------------------------------------
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/22612
--
Edit this bug report at http://bugs.php.net/?id=22612&edit=1