Bug #17215: "else if" (maybe also "else") function bug
| From: | genius at pai dot net dot pl | Date: | Tue, 14 May 2002 20:17:26 +0000 |
| Subject: | Bug #17215: "else if" (maybe also "else") function bug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7667@lists.php.net to get a copy of this message | ||
From: genius@pai.net.pl
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