Re: [PHP4BETA] Re: Are application wide variables possible with PHP4?

From: Date: Thu, 02 Mar 2000 22:09:01 +0000
Subject: Re: [PHP4BETA] Re: Are application wide variables possible with PHP4?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-11397@lists.php.net to get a copy of this message
You can also use environmental variables for this type of thing. However, I would imagine that you'd want to be able to change the variable. (Although that's probably bad programming practice) In which case I'd say that shared memory is probably your best bet. Peter On Thu, 2 Mar 2000, Damien Mc Kenna wrote: > At 06:40 AM 3/2/00, you wrote: > > Use the functions provided by the sysvshm and sysvsem modules for this. > > Look in the manual for further information. > > How about just using include files? It may be a bit more work for the > server to have to keep reading-writing out files, but it'd probably work > just as well. > Just my 2 credits. > > > Damien Mc Kenna, Computer Science Student Married to Jen Parent of 4 cats > http://mc-kenna.com damien@mc-kenna.com ICQ:17066133 > Please use our new web and email addresses and remove any old ones you have > > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > -------------------------------------------------- Peter D. Kovacs KnowPost.com LLC Lead Engineer peter@knowpost.com --------------------------------------------------

« previous php.version4 (#11397) next »