#22612 [Dup->Bgs]: POST variable names and values are garbled

From: Date: Tue, 25 Mar 2003 12:43:08 +0000
Subject: #22612 [Dup->Bgs]: POST variable names and values are garbled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36383@lists.php.net to get a copy of this message
ID: 22612 Updated by: sniper@php.net Reported By: dave at bcs dot co dot nz -Status: Duplicate +Status: Bogus Bug Type: Apache related Operating System: Linux PHP Version: 4.3.2-dev New Comment: We don't need duplicates. Previous Comments: ------------------------------------------------------------------------ [2003-03-25 05:42:15] wez@php.net Sounds related to Bug #22773 ------------------------------------------------------------------------ [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..) ------------------------------------------------------------------------ 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

« previous php.bugs (#36383) next »