> Usage:
> <?php
>
> if (!isset($_PERSISTENT['VAR'])) {
> include('register_very_large_array.inc');
> }
>
> ?>
What would the scope of this variable be? If it is global
(as in PHP engine global) then the solution would not work
in an shared environment (and it would not be practical
for multiple applications anyway).
Ideally, there would be one copy of the variable per
application, but we need to somehow define what application is.
I think that the best approach would be to introduce a new
php configuration option, something like "application_name",
and that would then define security for these kinds of
things (naturally, you won't be able to change this one from
the script :).
--
Best regards,
Ivan Ristic, Chief Technology Officer
DataGate Network Solutions Ltd. - http://www.datagate.net
Tel: +44 8700 119090, Fax: +44 8700 119080
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php