#22612 [Opn->Fbk]: POST variable names and values are garbled

From: Date: Mon, 10 Mar 2003 01:24:52 +0000
Subject: #22612 [Opn->Fbk]: POST variable names and values are garbled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35219@lists.php.net to get a copy of this message
ID: 22612 Updated by: sniper@php.net Reported By: dave at bcs dot co dot nz -Status: Open +Status: Feedback -Bug Type: CGI related +Bug Type: Apache related Operating System: Linux -PHP Version: 4CVS-2003-03-08 (stable) +PHP Version: 4.3.2-dev New Comment: So what was the configure line used? Previous Comments: ------------------------------------------------------------------------ [2003-03-09 18:58:22] dave at bcs dot co dot nz It is definitely PHP Version 4.3.2-dev, built from CVS of 2003-03-08, statically linked into Apache 1.3.26 ------------------------------------------------------------------------ [2003-03-09 18:21:48] sniper@php.net I just get this error with the provided example script: " Method Not Allowed The requested method POST is not allowed for the URL /index.html. " And when I edit the script to be correct, I don't get any mangled variable contents either. ------------------------------------------------------------------------ [2003-03-09 18:17:42] moriyoshi@php.net I can't reproduce the problem. 1. Did you really experience that one with the latest CVS snapshot of PHP? If the actual version is 4.2.3, upgrade it to 4.3.0 or later versions and probably the problem will be solved. 2. Which httpd are you using? (e.g. Apache) and what version? If that's Apache, How did you install PHP? As a DSO module? or as a CGI binary? ------------------------------------------------------------------------ [2003-03-08 16:23:19] dave at bcs dot co dot nz Try the following, and keep pressing the button, noting the POST array reported... I get reults like: Array ( [key+AAA-ðcdÂ0eÂg°gÂPhÂ] => Press Me+AAA- ) Things work OK if either the '+' or '-' is not there. <html> <body> <?php print_r($_POST) ; ?> <form method='post' action=''> <input type='submit' name='key' value='Press Me'/>+9-9 </form> </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22612&edit=1

« previous php.bugs (#35219) next »