Superglobals....

From: Date: Sat, 23 Mar 2002 12:13:17 +0000
Subject: Superglobals....
Groups: php.general 
Request: Send a blank email to php-general+get-89831@lists.php.net to get a copy of this message
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 (#89831) next »