ID:               19047
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Linux 2.4.7 RedHat 7.2
 PHP Version:      4CVS-2002-08-22
 New Comment:

Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.

I've tried to replicate this bug on Apache 2.0.40 with latest  PHP
(cvs) using the following browsers: IE 6.0, Mozilla 1.0, Opera 6.02,
Konqueror 3.0 and all worked properly.
If you get the problem, there is a 99% chance this is a bug with the
browser itself rather then PHP.


Previous Comments:
------------------------------------------------------------------------

[2002-08-22 14:48:04] [EMAIL PROTECTED]

According to Rasmus' notes in #19052, this is an Apache 2 specific
problem.

------------------------------------------------------------------------

[2002-08-22 11:51:50] [EMAIL PROTECTED]

May be it's not (so) php related :
Some browsers ( ie, opera, ... ) dislike having a form field named
__action__ , while other browsers handle it ( ie 6 , netscape, mozilla,
... ).
Could you repeat your test, still with one field,
but with another name ?
Think about accessing your form object with javascript :
_form.action_ is which object:
- the __action__ of the form ?
- the __action__ field ( type submit ) ?

Patrick

------------------------------------------------------------------------

[2002-08-22 10:21:34] [EMAIL PROTECTED]

scriptlet to reproduce problem  
##beginscriptlet##  
<?php  
   echo $action;  
   //echo $secondaction;  
?>  
<html>  
<head>  
</head>  
<body>  
<form method="post" action="arne.php">  
    <input type="submit" name="action" value="foo">  
    <!--input type="hidden" name="secondaction"  
value="bar"-->  
</form>  
</body></html>  
##endscriptlet##  
  
php configure line:  
./configure   
--with-apxs2=/usr/local/apache2/2.0.40/bin/apxs  
--with-mysql=/usr/local/mysql/current  
--with-config-file-path=/etc --enable-dbg=shared  
--with-dbg-profiler  
--with-ming=shared,/usr/local/src/lamp2/ming-0.2a  
  
Apache 2.0.40 configure line:  
./configure --prefix=/usr/local/apache2/2.0.40  
--enable-mods-shared=all  
  
Description of Problem:  
One of our developers stumbled upon the folloing on our  
internal test box running php4 and apache2.  
  
When running the provided scriptlet, the output, wich one  
would expect to be "foo" is "fooaction=foo"  
Further testing revealed that adding a second field (for  
example a hidden or text field (uncomment the respective  
lines in scriptlet to verify)) 'fixes' this problem.  
  
Problem was found on apache 2.0.39/php-4.2.1 and 
contuinues to exist after upgrade to 2.0.40 with todays 
CVS 

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19047&edit=1

Reply via email to