#18648 [Com]: Single entry form POST gives incorrect variable content
From: vesely at tana dot it Date: Sun, 20 Jul 2003 17:57:08 +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-44376@lists.php.net to get a copy of this message
ID: 18648 Comment by: vesely at tana dot it Reported By: ms at ecs dot soton dot ac dot uk Status: Bogus Bug Type: Apache2 related Operating System: All PHP Version: 5CVS-2003-01-29 (dev) / 4CVS-20020121 (stable) New Comment: For completeness, I'd like to mention that the setting suggested > [4 Feb 3:05pm CST] moriyoshi@php.net wrote > > # good (d) > AddType application/x-httpd-php .php works owlright except that if a request for xxx.php arrives w/o extension like GET /xxx HTTP/1.1 Accept: text/* Apache responds "406 Not Acceptable" and lists xxx.php as a possible alternative of MIME type application/x-httpd-php. If the "Options MultiViews" is in effect, Apache serves xxx.php when that is the shortest (or only) choice. Adding a "MultiViewsMatch Handlers Filter" or renaming to xxx.html.php don't help. I think we need to use PHP as a filter; 4.3.2 mentions having set a new handler but doesn't say this bug is closed. BTW, what's the reason why we "Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows."? (That warning comes from http://www.php.net/manual/en/install.apache2.php) Previous Comments: ------------------------------------------------------------------------ [2003-06-16 15:26:12] sbeam at syxyz dot net yes my bad, the directives were in /etc/httpd/conf.d/php.conf I am new to Apache 2.0 and did not expect them there. Thanks. ------------------------------------------------------------------------ [2003-06-12 10:11:30] CJ dot Hammond at t-online dot de Please look in the /etc/httpd/conf.d/ folder. There might be a php.conf file (or likewise, as all files get included). Any Directive within will have the same effect as directives in /etc/httpd/conf/httpd.conf !!! Later, /jochen ------------------------------------------------------------------------ [2003-06-02 20:45:56] sbeam at syxyz dot net NOT fixed on default RedHat 9.0 setup (Apache 2.0.40 and PHP 4.2.2): same form.html and test.php as original poster on 30 Jul 2002. Same exact result. Also there is NO SetOutputFilter or other stuff in httpd.conf, and adding "AddInputFilter PHP .php" has no effect. RedHat does not currently provide any higher version of PHP binaries. Only option is to recompile? ------------------------------------------------------------------------ [2003-05-04 08:36:37] anrdaemon at mtu-net dot ru Thanx to moriyoshi@php.net /me stupid... AddInputFilter PHP .php solves all problems. ------------------------------------------------------------------------ [2003-03-05 07:32:56] jorton at redhat dot com The default configuration in Red Hat Linux has only the <Files *.php*> section. This bug appears to occur if the "AddType x-httpd-php .php" is added *as well* as the <files *.php> section. http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76559 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18648 -- 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 (#44376) | next » |
|---|