Posted by DarkPilgrim@gmail.com on 10/16/06 01:55
I'm a bit new to PHP and there is something I'm not sure whether PHP
can grant.
Given my web application has some codes that only need to be executed
once(eg.configuration used over the whole site), but every php script
which needs that config seems to execute that once to get configuration
when a request comes.
Is there any mechanism that can make a script processed only once and
all other pages can use its output?
(Maybe this is impossible,but I just want to get a definite answer.)
Thx in advance!
[Back to original message]
|