ID: 23024
Updated by: [EMAIL PROTECTED]
Reported By: elhumero at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: Windows 2000 prof
PHP Version: 4.3.2RC1
New Comment:
Your code is bogus.
Please contact the good list: [EMAIL PROTECTED]
Not a bug -> Bogus
Previous Comments:
------------------------------------------------------------------------
[2003-04-02 12:12:31] elhumero at hotmail dot com
Archive x.htm
<form name="xx" method="post" action="probe.php">
<input type="checkbox" value="1"
OnClick="javascript:document.xx.submit();" <?php if
($_POST[checkbox]==1) { print "CHECKED"; } ?>>
<iframe>
<form name="xx" method="post" action="probe.php">
<input type="checkbox" value="1"
OnClick="javascript:document.xx.submit();" <?php if
($_POST[checkbox]==1) { print "CHECKED"; } ?>>
</form>
</iframe>
</form>
probe.php
<?php
print_r($_POST);
require("x.htm");
?>
When I execute this code in Apache 2 under windows 2000, then the
result of the first time is correct, outside the iframe and inside it,
but the second or the third time, the result it like this
ARRAY(checkbox=1)ARRAY(checkbox=1)ARRAY(checkbox=1)ARRAY(checkbox=1)ARRAY(checkbox=1)ARRAY(checkbox=1)ARRAY(checkbox=1)...,
and the the OS send me an apache memory error, but the apache still
running.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23024&edit=1