Re: apps that need register globals 'on' and others require

From: Date: Wed, 01 May 2002 03:39:15 +0000
Subject: Re: apps that need register globals 'on' and others require
Groups: php.general 
Request: Send a blank email to php-general+get-95478@lists.php.net to get a copy of this message
Addressed to: Philip Olson <philip@cornado.com> php-general@lists.php.net ** Reply to note from Philip Olson <philip@cornado.com> Tue, 30 Apr 2002 22:45:49 +0000 (GMT) > > Btw, I can't think of a reason why a script designed > with register_globals = off would not work with it > on. Which is why assuming register_globals = off will > make your scripts more portable. I can. Sessions. I believe that if register globals is on PHP looks at the global variables to write registered variables else it looks to $_SESSION. I did not track down the exact reason I can't use $_SESSION with register_globals = on, I just dropped back to using session_register(), but I did have a problem. Rick Rick Widmer Internet Marketing Specialists http://www.developersdesk.com

« previous php.general (#95478) next »