Re: [PHP4BETA] Re: Are application wide variables possiblewith PHP4?

From: Date: Sat, 04 Mar 2000 00:19:55 +0000
Subject: Re: [PHP4BETA] Re: Are application wide variables possiblewith PHP4?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-11494@lists.php.net to get a copy of this message
On Thu, 02 Mar 2000 12:54:54 -0500, Damien Mc Kenna wrote: >At 12:09 PM 3/2/00, you wrote: > > > 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. > > > > Probably not. Imagine one server process (or more) process(es) trying to > > update variables with other processes simultaneously reading the file? > >OK, point accepted. How about databases then? Concurrent access from multiple users/processes was one of the reasons why databases were developed in the first place. With a decent database, a frequently accessed row should load pretty quickly, too.

« previous php.version4 (#11494) next »