Bug #17447 Updated: Unexpected undefined (builtin) variables such as 'DOCUMENT_ROOT' AND 'PHP_SELF'

From: Date: Mon, 27 May 2002 06:53:59 +0000
Subject: Bug #17447 Updated: Unexpected undefined (builtin) variables such as 'DOCUMENT_ROOT' AND 'PHP_SELF'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8646@lists.php.net to get a copy of this message
ID: 17447 Updated by: mfischer@php.net Reported By: rob@streamerworld.co.uk -Status: Open +Status: Bogus Bug Type: *Web Server problem Operating System: WinMe+Apache203 / XP+IIS5 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-27 02:51:52] rob@streamerworld.co.uk I installed PHP V4.2.1 on Win ME with Apache2.0.3 and discovered that several PHP builtin variables were reported as undefined. Likewise I installed V4.2.0 and observed the same problem. I then upgraded OS to XP with IIS5.1 and reinstalled the latter versions of PHP and obserevd the same problem. I then installed PHP V4.0.6 and noticed that PHP recognised most of the builtin variables. However 'DOCUMENT_ROOT' still wasn't recognised and session_start fn failed. The PHP scripts have been proven online. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17447&edit=1

« previous php.bugs (#8646) next »