Re: persistent storage in PHP

From: Date: Wed, 07 May 2003 23:41:54 +0000
Subject: Re: persistent storage in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146767@lists.php.net to get a copy of this message
on 08/05/03 9:47 AM, Greg Stark (greg-spare-1@mit.edu) wrote: > Woah, I guess my question was ambiguous. I'm not talking about data persisting > from one page access to the next for a given user. I'm talking about data > persisting from one user to the next for a given web server process. > > I'm talking about data that will be inserted into the template for every > single page access, so I don't want to add an extra database call. And data > that changes very infrequently, actually probably never once the site goes > live. You can have a file that is auto-prepended to the beginning of every PHP request... look at it as an include() that you don't have to type at the top of each script. I auto-prepend my config file to the start of all scripts. Not sure if this helps your particular needs. Justin

« previous php.general (#146767) next »