Bug #16759 Updated: POST cutting names

From: Date: Tue, 23 Apr 2002 22:48:53 +0000
Subject: Bug #16759 Updated: POST cutting names
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5738@lists.php.net to get a copy of this message
ID: 16759 Updated by: sniper@php.net Reported By: puskajler@telecom.sk -Status: Open +Status: Feedback Bug Type: IIS related Operating System: win2000, IIS 5.0 PHP Version: 4.2.0 New Comment: What was the previous version of PHP on your machine? Did you update also the php4ts.dll file from the 4.2.0 package? Previous Comments: ------------------------------------------------------------------------ [2002-04-23 11:35:38] puskajler@telecom.sk Using the POST method cause cutting the first character from the name of the form control. Using the GET method works as expected (no cutting). example: <FORM METHOD=POST ACTION="debug.php"> <INPUT TYPE="submit" NAME="action" VALUE="val"> </FORM> gives result: [_POST] => Array ( [ction] => val ) quick-fix: just prefix all NAMEs with any char (NAME="action" becomes NAME="_action") ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16759&edit=1

« previous php.bugs (#5738) next »