ID:               25749
 Updated by:       [EMAIL PROTECTED]
 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:

Try including the SERVER variable (S) in variables_order.

variables_order="EGPCS"

(RTFM!)


Previous Comments:
------------------------------------------------------------------------

[2003-10-03 15:21:57] linjiang dot ma at myrealbox dot com

Thanks for replying. 

I don't think the register_global in php.ini would have an effect on
the existence of $_SERVER variables. It will affect the definition of
$PHP_SELF. but not $_SERVER...

variables_order in php.ini is currently set to 'GPC'. It should not
have much to do with the existence of such variable. 

Please check the page, $_SERVER[] is not even defined there in PHP
variables.

------------------------------------------------------------------------

[2003-10-03 15:07:04] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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

Reply via email to