Hello,
I'm just starting out with php (version 3.0.18 is the one I have to work on) and I still
don't get one thing. I need to save an object as a global variable, in particular it is an
array that being very big and very heavy to obtain, I'd like to load it only once in my
application and then use it through. I tried to place it in the GLOBAL array
($GLOBALS['myarray'] = myarray), now the fact is that it looks like the page is recreating
the global variable every time, so that if I check wether it's set
(if(isset($GLOBALS['myarray']))) it never is and I can save nothing in it. Is there any
configuration setting I have to modify? I tried to save it also in other variables, like
$SERVER, or $SESSION (which, my experience coming from asp and jsp, I expected to be read
only) , but the behavior is the same.
Thank you for your help
GIulio Iannazzo