From: [EMAIL PROTECTED] Operating system: Windows XP PHP version: 4.3.0 PHP Bug Type: Unknown/Other Function Bug description: Checkbox is strange in POST event
I'm using PHP 4.3.0 as ISAPI in 2 WinXP machines, running Apache 2.0.43. PHP was installed at same folders and I'm using the same PHP.INI. In machine 1, everything works great. In machine 2, everything works great too BUT when I'm using checkbox inside form posting: echo "<form method=post action=form2.php>"; echo "<br>Are married?"; echo "<input type=checkbox name=married value='s'>"; echo "</form>"; the form2.php is: <? echo "<html><body>"; $married = $HTTP_POST_VARS["married"]; echo "married = ".$married; echo "</body></html>"; ?> the response is: Notice: Undefined index: married in form2.php on line 2 In machine 1, forms with checkbox are working great, but in machine 2, it doesn't. Any ideas?? PHP.INI is the same, global_variables are OFF. Thanks in advance Ivan Pisa -- Edit bug report at http://bugs.php.net/?id=21696&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21696&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21696&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21696&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21696&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21696&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21696&r=support Expected behavior: http://bugs.php.net/fix.php?id=21696&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21696&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21696&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21696&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21696&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21696&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21696&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21696&r=gnused