RE: [PHP] Set Global Variables

2002-04-11 Thread Steve Edberg
r-wide global variables. > >Thanks >Roger > >-Original Message- >From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] >Sent: Thursday, April 11, 2002 10:15 AM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: Re: [PHP] Set Global Variables > > >Set up

Re: [PHP] Set Global Variables

2002-04-11 Thread Steve Cayford
--- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 10:15 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Set Global Variables > > > Set up an auto_prepend file that either simply sets these constant > globals > ot

Re: [PHP] Set Global Variables

2002-04-11 Thread Jason Wong
On Friday 12 April 2002 02:52, [EMAIL PROTECTED] wrote: > If I do that, won't the data that I fetch be duplicated in memory for each > user? I'm trying to have just one space in memory allocated for these > variables, sort of like the HTTP_SERVER_VARS. It seems that even if I do > an autoprepend

RE: [PHP] Set Global Variables

2002-04-11 Thread RRamirez
TED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Set Global Variables Set up an auto_prepend file that either simply sets these constant globals ot fetches them from the DB. -Rasmus On Thu, 11 Apr 2002 [EMAIL PROTECTED] wrote: > Is there a way to set a global variable that all users can access? I hav

Re: [PHP] Set Global Variables

2002-04-11 Thread Rasmus Lerdorf
Set up an auto_prepend file that either simply sets these constant globals ot fetches them from the DB. -Rasmus On Thu, 11 Apr 2002 [EMAIL PROTECTED] wrote: > Is there a way to set a global variable that all users can access? I have > some values in a database that I'm reading at the beginning