#25749 [Opn->Bgs]: PHP globals not defined
| From: | wez@php.net | Date: | Fri, 03 Oct 2003 19:07:07 +0000 |
| Subject: | #25749 [Opn->Bgs]: PHP globals not defined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48512@lists.php.net to get a copy of this message | ||
ID: 25749
Updated by: wez@php.net
Reported By: linjiang dot ma at myrealbox dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux Redhat 7.0
PHP Version: 4.3.3
New Comment:
In PHP 4.2.0, the 'register_globals' setting default changed to
'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.
And also check variables_order php.ini directive.
Previous Comments:
------------------------------------------------------------------------
[2003-10-03 14:52:34] linjiang dot ma at myrealbox dot com
Description:
------------
Hi,
I have an server running Apache 1.3.28, mod_perl, mod_ssl, mod_php4
(4.3.3) with mysql.
It looks to me that for this 4.3.3 installation. many PHP predefined
variables are not defined.
the only defined PHP variables I can see are _REQUEST and _COOKIE.
The testing page is at https://www.myplutus.com/test.php.
TIA,
-martin
Reproduce code:
---------------
https://www.myplutus.com/test.php
Expected result:
----------------
under PHP Variable sections, you should see
_SERVER _SESSION _ENV PHP variables.
Actual result:
--------------
only _REQUEST and _COOKIE are shown.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25749&edit=1