Re: Question about global variables
| From: | Kevin Stone | Date: | Fri, 14 Jun 2002 19:22:21 +0000 |
| Subject: | Re: Question about global variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102260@lists.php.net to get a copy of this message | ||
I don't think this is possible to setup a global way you're thinking, but I
do believe that you can still accomplish the effect you're looking for.
First of all, exactly what kind of information will you be storing in the
array? You say it needs to be empty the 'first time in'. Does that mean
per user?
-Kevin
----- Original Message -----
From: "Don" <don@lclcan.com>
To: "php list" <php-general@lists.php.net>
Sent: Friday, June 14, 2002 1:08 PM
Subject: [PHP] Question about global variables
Hi,
Don't know if this is possible but is there a way to create a single
variable (in my case, a two dimensional array) that is global to my site?
This is regardless of which page is initially loaded BUT I need to have it
empty first time in.
I am trying to implement a 'stack' feature where I can place/remove
information into/out of the array.
Thanks,
Don