From: [EMAIL PROTECTED] Operating system: Slackware 8.0 PHP version: 4.2.1 PHP Bug Type: Scripting Engine problem Bug description: "else if" (maybe also "else") function bug
Hello SOURCE: http://dec.kan.pl/index.phps Look for the following: ---< cut >--- /** PRZETWORZENIE DANYCH I WYSYŁKA **/ if ($prob_dzial == "" || $prob_name == "" || (...) { echo "Proszę wypełnić (...) } else if ($send_status == "ok") { ---< cut >--- When using the PHP 4.1.x version, the supplied script worked perfectly fine. If the areas $prob_dzial, $prob_name etc. had had no value, the script returned "Proszę wypełnić..." on the page, if the data had been submitted, the mail was thereafter sent. In the PHP 4.2.x version, the if () formula works perfectly fine, though after submiting the data to the formn and clicking on "WYŚLIJ" (submit), the else if () formula seems to be buggy. It doesn't send any e-mail, and returns the action that the if () formula does. I'm looking forward to reply from You -- Edit bug report at http://bugs.php.net/?id=17215&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17215&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17215&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17215&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17215&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17215&r=support Expected behavior: http://bugs.php.net/fix.php?id=17215&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17215&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17215&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17215&r=globals