#18648 [Com]: Single entry form POST gives incorrect variable content
From: milan dot molnar at eu dot sony dot com Date: Thu, 15 Aug 2002 10:08:56 +0000 Subject: #18648 [Com]: Single entry form POST gives incorrect variable content References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-16895@lists.php.net to get a copy of this message
ID: 18648
Comment by: milan.molnar@eu.sony.com
Reported By: ms@ecs.soton.ac.uk
Status: Open
Bug Type: HTTP related
Operating System: Tru64
PHP Version: 4.2.2
New Comment:
HelloAll,
I can confirm this issue. I have the same problem on solaris, linux
platforms.
I've downloaded snapshot from 15082002, but it is the same on my Linux
RH7.3 platform.
Here are my configure options
./configure' '--with-apxs2=/internet/www/httpd-2.0.39/bin/apxs'
'--with-config-file-path=/internet/www/' '--disable-debug'
'--enable-sigchild' '--with-gdbm' '--with-zlib'
'--enable-track-vars'
'--enable-magic-quotes' '--with-dbase' '--with-gd'
'--with-ttf'
'--with-mysql=/opt/mysql/mysql' '--enable-ftp' '--with-gettext'
'--with-iconv=/usr/local' '--enable-trans-sid' '--with-pdflib'
'--enable-xml' '--enable-xslt' '--with-xslt-sablot'
'--with-dom'
'--with-pgsql=/opt/pgsql' '--enable-wddx'
'--with-pear=/internet/www/php/' '--enable-mailparse' '--with-xmlrpc'
'--with-jpeg-dir=/usr' '--with-png-dir=/usr'
Previous Comments:
------------------------------------------------------------------------
[2002-08-02 13:25:26] ms@ecs.soton.ac.uk
Sorry about the delay...
That snapshot (php4-200207310300) made no difference :-(
Tried with both Compaq cc and gcc
------------------------------------------------------------------------
[2002-07-30 18:24:55] sniper@php.net
Try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
------------------------------------------------------------------------
[2002-07-30 11:54:32] hholzgra@php.net
i faintly remember a similar report regarding strange things happening
on True64 which has been fixed in CVS (most likely only head and not
the 4.2 branch for now?)
anybody out there with a better memory than i have?
------------------------------------------------------------------------
[2002-07-30 09:37:28] ms@ecs.soton.ac.uk
When submitting a form with one field via post the variable contents
gets mangled...
*** foo.html ***
<form action="test.php" method="post">
Test: <input type="text" name="id" value="bar">
<input type="submit">
</form>
*** test.php ***
<?php print_r($_POST); ?>
*** output ***
Array
(
[id] => barid=bar
)
This bug can also be detected up by submitting the page
to a phpinfo().
Compiled under Tru64 5.1 using both Compaq and Gnu cc & make. Have
tested using PHP 4.2.2 / Apache 2.0.39 and Apache 2.0.40 / PHP
4.3.0-Dev (200207100600 snapshot).
Configure Line:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
Bug appears to be limited to Tru64, as if I POST the data to a separate
linux machine running 4.2.2/2.0.39 then it works fine.
If I have more than one field in the form then everything is fine, or
if I use GET instead of POST then it also works.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18648&edit=1
Thread (45 messages)
- #18648 [Opn]: Single entry form POST gives incorrect variable content
- #18648 [Opn->Fbk]: Single entry form POST gives incorrect variable content
- #18648 [Fbk->Opn]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Opn->Fbk]: Single entry form POST gives incorrect variable content
- #18648 [Fbk]: Single entry form POST gives incorrect variable content
- #18648 [Fbk->NoF]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [NoF->Opn]: Single entry form POST gives incorrect variable content
- #18648 [Opn]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Opn->Ver]: Single entry form POST gives incorrect variable content
- #18648 [Ver->Fbk]: Single entry form POST gives incorrect variable content
- #18648 [Fbk->NoF]: Single entry form POST gives incorrect variable content
- #18648 [NoF]: Single entry form POST gives incorrect variable content
- #18648 [NoF->Opn]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Opn]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Opn]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Opn]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Opn->Fbk]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Fbk->Bgs]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
- #18648 [Com]: Single entry form POST gives incorrect variable content
| « previous | php.bugs (#16895) | next » |
|---|