Re: Superglobals....

From: Date: Sat, 23 Mar 2002 14:55:31 +0000
Subject: Re: Superglobals....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89836@lists.php.net to get a copy of this message
You might remind them that anything under PHP 4.1.2 has a security whole that can be exploited remotely, my web host refused to upgrade until they learned about the security implications of not doing so. Jason "David" <php@warpedweb.net> wrote in message news:Xns91DAEC3C3E9A2phpwarpedwebnet@216.92.131.4... > Hi, > Is there any way to emulate the super globals on PHP4.0.6. > I've designed a system using $_GET, $_POST, etc, and I had it all running > wonderfully, but I have been forced to change servers to some folks who do > not seem to have an upgrade to 4.1.x in mind. > > What I would like to know is... is there away to make a variable global > across all functions, like the $_* type vars? Without putting > > global $_SERVER, $_GET, $_POST, $_REQUEST, $_SESSION, $_COOKIE; > > at the top of each function. > > Thanks! > > David > > > -- > --- > > WarpedWeb.Net > http://www.warpedweb.net/

« previous php.general (#89836) next »