Re: [PHP] Question about global variables

2002-06-14 Thread remery
Cookies Session variables - Original Message - From: "Don" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 2:08 PM Subject: [PHP] Question about global variables Hi, Don't know if this is possible

Re: [PHP] Question about global variables

2002-06-14 Thread Kevin Stone
in'. Does that mean per user? -Kevin - Original Message - From: "Don" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 1:08 PM Subject: [PHP] Question about global variables Hi, Don't know if this is possible but

[PHP] Question about global variables

2002-06-14 Thread Don
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

Re: [PHP] Question about global variables

2001-02-26 Thread Yasuo Ohgaki
Hello Zenith, SNIP > However, I am now doing a project, using PHP, I decide to write some > modules, for frequestly used. How ever, these module, have to use some > variables, whose scope is originally on only the upper most level. > If using these way (global all var in each function, even not t

[PHP] Question about global variables

2001-02-26 Thread Zenith
hello!! I have a question about variables scope!! In the above segment, I know that, func2 won't echo anything, even I add "global var;" in func2. if, I modified the segment, so, that, it like the following!! It works!! However, I am now doing a project, using PHP, I decide to write some mo