Re[2]: [PHP] problem in my php code
| From: | Richard Davey | Date: | Thu, 18 Nov 2004 19:14:21 +0000 |
| Subject: | Re[2]: [PHP] problem in my php code | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202457@lists.php.net to get a copy of this message | ||
Hello Philip,
Thursday, November 18, 2004, 6:52:19 PM, you wrote:
PT> Someone correct me if I'm wrong on this, but globals are only
PT> global to that specific file.
I'm being pedantic here, but they're not really global to *files*,
more to "sessions" (not in the $_SESSION sense of course). All I'm
trying to say is that you could have one file that includes() another
20, but the global variables would be available to all.
I know you knew this anyway Philip, was just clarifying for the
previous poster :)
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wilde