Bug #17191 Updated: PHP Variables undefined

From: Date: Tue, 14 May 2002 06:19:56 +0000
Subject: Bug #17191 Updated: PHP Variables undefined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7603@lists.php.net to get a copy of this message
ID: 17191 Updated by: derick@php.net Reported By: jens.kammann@gmx.de -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Win 2000 Server 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-13 18:05:00] jens.kammann@gmx.de No, I've already changed both "register_globals" and "register_argc_argv" to "On". Now, e.g. $OS is defined. However, Variables passed via URL still remaine undefined. (I am using the same PHP.INI File than on an XP-Installation, where PHP&IIS5 work. Are there any other modifications performed by the OCX which I am still missing ?) ------------------------------------------------------------------------ [2002-05-13 17:45:04] manuzhai@php.net That makes sense if you haven't turned the register_globals directive On in php.ini. ------------------------------------------------------------------------ [2002-05-13 17:36:44] jens.kammann@gmx.de Because of the known "OCX-Control missing" problem I did a manual configuration on Windows 2000 Server (IIS5). PHP scripts run (e.g. phpinfo()), but own function don't have access to PHP Variables, there seem to be no variable definitions at all. Calling a script via http://localhost/test.php?a=1 does not result in a variable "a" within the script. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17191&edit=1

« previous php.bugs (#7603) next »