ID: 17191 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] That makes sense if you haven't turned the register_globals directive On in php.ini. ------------------------------------------------------------------------ [2002-05-13 17:36:44] [EMAIL PROTECTED] 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