Bug #17080 Updated: Cyclic Link error

From: Date: Tue, 07 May 2002 18:27:49 +0000
Subject: Bug #17080 Updated: Cyclic Link error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7163@lists.php.net to get a copy of this message
ID: 17080 Updated by: poulman@wirsbo.com Reported By: poulman@wirsbo.com Status: Bogus Bug Type: Unknown/Other Function Operating System: RedHat Linux 7.2 PHP Version: 4.2.0 New Comment: Thank you for your extremely prompt response! The 'register_globals' setting was indeed the problem. I greatly appreciate your assistance. Pete Oulman Uponor Housing Solutions Division North America www.wirsbo.com Previous Comments: ------------------------------------------------------------------------ [2002-05-07 14:08:09] rasmus@php.net 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. ------------------------------------------------------------------------ [2002-05-07 14:06:50] poulman@wirsbo.com 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

« previous php.bugs (#7163) next »