Bug #16759 Updated: POST cutting names
| From: | puskajler at telecom dot sk | Date: | Wed, 24 Apr 2002 08:27:17 +0000 |
| Subject: | Bug #16759 Updated: POST cutting names | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5789@lists.php.net to get a copy of this message | ||
ID: 16759
Updated by: puskajler@telecom.sk
Reported By: puskajler@telecom.sk
-Status: Feedback
+Status: Closed
Bug Type: IIS related
Operating System: win2000, IIS 5.0
PHP Version: 4.2.0
New Comment:
sorry for the inconvenience, it was my fault ...
After double checking I have found that my IIS was still using old
php4isapi.dll from the php-4.1.2 package
now everything works well ...
thanks for your time
Previous Comments:
------------------------------------------------------------------------
[2002-04-23 18:48:53] sniper@php.net
What was the previous version of PHP on your machine?
Did you update also the php4ts.dll file from the 4.2.0 package?
------------------------------------------------------------------------
[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