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

From: Date: Mon, 20 Jan 2003 18:40:59 +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-30699@lists.php.net to get a copy of this message
ID: 18648 Comment by: kbrill@multi.com Reported By: ms@ecs.soton.ac.uk Status: Open Bug Type: Apache2 related Operating System: All PHP Version: 4.3.0-dev/4.4.0-dev New Comment: apache 2 / PHP 4.3.0 it seems on my system that if you fill in a field and hit RETURN you get the bug, however if you use a submit button instead it works normally. Previous Comments: ------------------------------------------------------------------------ [2003-01-11 03:18:41] moriyoshi@php.net Exactly the same problem was reported recently by other users. Reopening. ------------------------------------------------------------------------ [2003-01-05 16:48:15] moriyoshi@php.net Related bug: http://bugs.php.net/21441 ------------------------------------------------------------------------ [2002-12-25 01:00:03] php-bugs@lists.php.net No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-12-09 12:48:23] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Small note for win32 users, the snapshot containing this patch will not be avaliable for a few hours (1 hour for latest CVS, 7 hours for STABLE). ------------------------------------------------------------------------ [2002-12-08 05:01:28] debaser_68@hotmail.com Hi guys, I'm having the same problem on Win32 platform. CODE Page 1: <select name="marketframe" size="1"> <option value="USA">USA-United States</option> <option value="-All-">-All-</option></select> Page 2: if (isset($HTTP_POST_VARS["marketframe"])) { $strCountryCode = $HTTP_POST_VARS["marketframe"]; } I get the value $strCountryCode = "USAmarketframe=USA" Also tried using $_POST but same result, using the GET method it works fine. OS Version: Windows 2000 Adv. Server SP3 Web Server: Apache 2.0.43 PHP Version: 4.3.0-dev (Oct 20 2002 16:11:45), API Filter, accessing MS SQL Server 7 ------------------------------------------------------------------------ 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

« previous php.bugs (#30699) next »