From: Florian (flobee) <fl...@gm...> - 2005-08-14 21:02:16
|
SourceForge.net wrote: >Bugs item #1250099, was opened at 2005-08-02 05:09 > >After subsituting all forms of HTTP_POST_VARS used >(same for get, session) with _POST (_GET, _SESSION, >respectively), >---------------------------------------------------------------------- > >>Comment By: Matthew Gregg (greggmc) >php5 is not supported in this version > wrong: by default long arrays are OFF, thats all. suggestion, because this should be easy to setup: in phpesp.ini.php: if (isset($_SERVER)) $server =& $_SERVER; else $server =& $HTTP_SERVER_VARS; 1) no one ist using "$server" but HTTP_SERVER_VARS :-( 2) no one is using $GLOBALS['server'] 3) missing/suggestion: $GLOBALS['_GET'] | $GLOBALS['_POST'] and then ini_set('register_globals', false); makes it more save! 4) for multi compatiblity: session should get its own "namespace" like $_SESSION[_CONSTANT_PHSESP_SESSION_NAME]['acl'] $_SESSION[_CONSTANT_PHSESP_SESSION_NAME][ *** ] this could be changed quickly, i've done it in esp1.6.1 and running php5 since it's official kind regards flobee |