#18648 [NoF->Opn]: Single entry form POST gives incorrect variable content

From: Date: Sat, 11 Jan 2003 09:18:42 +0000
Subject: #18648 [NoF->Opn]: Single entry form POST gives incorrect variable content
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29757@lists.php.net to get a copy of this message
ID: 18648 Updated by: moriyoshi@php.net Reported By: ms@ecs.soton.ac.uk -Status: No Feedback +Status: Open Bug Type: Apache2 related Operating System: All PHP Version: 4.3.0-dev/4.4.0-dev New Comment: Exactly the same problem was reported recently by other users. Reopening. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2002-12-06 11:30:07] moriyoshi@php.net Oops, I should have meant php_strtok_r() replaces the delimiter "=" by "\0". ------------------------------------------------------------------------ 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 (#29757) next »