Re: [Phplib-users] Wierd problems with fallback mode inSession
Brought to you by:
nhruby,
richardarcher
From: Kevin F. <fre...@ip...> - 2003-05-06 23:16:07
|
See: http://www.php.net/manual/en/reserved.variables.php > > This is a 'superglobal', or automatic global, variable. This simply means > that it is available in all scopes throughout a script. You don't need to do > a global $_SERVER; to access it within functions or methods, as you do > with $HTTP_SERVER_VARS. > > $HTTP_SERVER_VARS contains the same initial information, but is not an > autoglobal. (Note that $HTTP_SERVER_VARS and $_SERVER are different > variables and that PHP handles them as such) > This might be a bug, or a "global $HTTP_SERVER_VARS" is missing from the function. Kevin Fredrick System Administrator & Web Project Production Manager Walter E. Helmke Library, Room 422 Indiana University - Purdue University Fort Wayne 260-481-5445 http://www.lib.ipfw.edu/ >>> "Nathaniel Price" <np...@te...> 05/06/03 05:59PM >>> ----- Original Message ----- From: "Kevin Fredrick" <fre...@ip...> To: <php...@li...> Sent: Tuesday, May 06, 2003 3:45 PM Subject: Re: [Phplib-users] Wierd problems with fallback mode inSession > Should it use $_SERVER['HTTP_HOST'] ? If it were running PHP 4, I'd agree with you. Sadly, I'm still stuck in PHP3-land. Gotta go pester the boss to upgrade... :) _________________________________ Nathaniel Price <np...@te...> Webmaster ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Phplib-users mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phplib-users |