ID: 17080 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: RedHat Linux 7.2 PHP Version: 4.2.0 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. Previous Comments: ------------------------------------------------------------------------ [2002-05-07 14:06:50] [EMAIL PROTECTED] This web site works fine under: Apache 1.3.22 / PHP 4.0.6 Apache 1.3.24 / PHP 4.1.2 Stopped working with: Apache 1.3.24 / PHP 4.2.0 Did something change with the way global variables or form variables are handled from versions < 4.2 to current? below is what seems to be one of the offending lines of code. Basically, all it is doing is checking for the existance of 2 query strings which are passed in and used as global variables for several other functions within the site. if ( ! $pm || ! $pc ) { header( "Location: main.php?pm=1&mm=0&sm=0&pc=homeowner/ho_mm0sm0.php"); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17080&edit=1