From:             elhumero at hotmail dot com
Operating system: Windows 2000 prof
PHP version:      4.3.2RC1
PHP Bug Type:     Apache2 related
Bug description:  Problems with iframe

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 bug report at http://bugs.php.net/?id=23024&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23024&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23024&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23024&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23024&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23024&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23024&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23024&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23024&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23024&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23024&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23024&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23024&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23024&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23024&r=gnused

Reply via email to