ID: 24145 User updated by: przemek at hexacom dot biz Reported By: przemek at hexacom dot biz -Status: Bogus +Status: Closed Bug Type: HTTP related Operating System: Linux Mandrake 9.0 PHP Version: 4.3.1 New Comment:
In PHP 4.3.2 everything works fine. Previous Comments: ------------------------------------------------------------------------ [2003-06-12 07:08:29] [EMAIL PROTECTED] Also see #18648 ------------------------------------------------------------------------ [2003-06-12 05:32:12] [EMAIL PROTECTED] Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. As far as I remember this is fixed already. ------------------------------------------------------------------------ [2003-06-12 05:30:55] przemek at hexacom dot biz Description: ------------ Situation is very simple, in html file im creating a form. In this form is only one field i.e. named "alias", the field has value "abc", form method is "POST" and action "script.php". There is a submit button too. When the script.php gets a request it contacentates three values: variable value, variable name and again variable value. It's look like this: "abcalias=abc" The tip is to add one more i.e. hidden field, but i think it is something wrong. Regards. PS.Sorry for may english. Reproduce code: --------------- ---- index.htm ---- <form action=script.php method=POST> Something<input type=text name=alias> <input type=submit value=GO> </form> ----- script.php ---- <? echo $_POST["alias"]; ?> Expected result: ---------------- abc Actual result: -------------- abcalias=abc ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24145&edit=1