ID: 17215 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Slackware 8.0 PHP Version: 4.2.1 New Comment:
In PHP 4.2.0, the 'register_globals' setting default changed to be off. See http://www.php.net/release_4_2_0.php for more info. We are sorry about the inconvenience, but this change was a necessary part of our efforts to make PHP scripting more secure and portable. Previous Comments: ------------------------------------------------------------------------ [2002-05-14 16:17:26] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=17215&edit=1