#22612 [Fbk->Opn]: POST variable names and values are garbled
| From: | dave at bcs dot co dot nz | Date: | Mon, 10 Mar 2003 02:53:58 +0000 |
| Subject: | #22612 [Fbk->Opn]: POST variable names and values are garbled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35222@lists.php.net to get a copy of this message | ||
ID: 22612
User updated by: dave at bcs dot co dot nz
Reported By: dave at bcs dot co dot nz
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: Linux
PHP Version: 4.3.2-dev
New Comment:
Configuration options are:
./configure --with-apache=/usr/src/apache_1.3.26 --disable-debug
\
--enable-trans-sid --with-mysql=/usr/local/mysql
--enable-magic-quotes \
--enable-xslt --with-xslt-sablot=/usr/local
--with-expat-dir=/usr/local \
--with-gd --enable-gd-native-ttf --with-png-dir=/usr
--with-jpeg-dir=/usr \
--with-zlib-dir=/usr --with-freetype-dir=/usr/local
\
--with-openssl=/usr/local/ssl --with-imap-ssl=/usr/local/ssl
\
--with-gettext --with-xml --with-mcrypt
--with-imap=/usr/src/imap-2002b
Previous Comments:
------------------------------------------------------------------------
[2003-03-09 19:24:51] sniper@php.net
So what was the configure line used?
------------------------------------------------------------------------
[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