I'm not sure I made myself clear...let me try to explain again.
I'm used to programming in Java with JSP's and servlets. If there is something (in this case, a tree structure of nodes), that I want all users to be able to grab, I would have a servlet put something in the "servlet context" scope.
The scopes went like this:
servlet context
session
request
page
Is there anything like that in PHP?
I have a tree of nodes that defines what links a user sees on each page. I don't want to have to hit the DB and populate that tree all the time for every user, I just wanted to populate the tree once and put it in some sort of application scope that I could grab from.
Are constants the only way to do that?
Thanks,
Jesse