RE: [PHP] "global" AND Register Globals with PHP 4.0.6 ??

From: Date: Mon, 14 Oct 2002 15:09:38 +0000
Subject: RE: [PHP] "global" AND Register Globals with PHP 4.0.6 ??
Groups: php.general 
Request: Send a blank email to php-general+get-119909@lists.php.net to get a copy of this message
register_globals() adds a variable to the *session*. The global statement brings a global variable into the *scope* of a function. Kirk > What is the difference? > > > variable. I read that "register globals" has some security > > issues. Are > > > these the same, or is setting a variable as "global" and > > "register globals" > > > different? NOTE: I am using PHP 4.0.6. Thanks for any > > assistance. :-) > > > > > > John Negretti > > > Web Applications Developer > > > Cox Communications www.cox.com

« previous php.general (#119909) next »