Re: Set Global Variables
| From: | Jason Wong | Date: | Thu, 11 Apr 2002 19:07:33 +0000 |
| Subject: | Re: Set Global Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92641@lists.php.net to get a copy of this message | ||
On Friday 12 April 2002 02:52, RRamirez@LifeFiles.com 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 that file is going to run each time a user visits the site
> and a new memory space will be created for that variable. What I'm asking
> is how to set those constant server-wide global variables.
I don't think that's possible.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
It has just been discovered that research causes cancer in rats.
*/