Re: what PHP really needs

From: Date: Sun, 25 Jan 2004 02:30:23 +0000
Subject: Re: what PHP really needs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175665@lists.php.net to get a copy of this message
--- "John W. Holmes" <holmes072000@charter.net> wrote: > Marlon Moyer wrote: > > But I think the original question was about a tree that took a > > long time to create, and application variables would be a plus > > in this situation... > > Again, if you're just talking about reading, how hard is it to > just do this to save: > > $save_data = '<?php $array = ' . var_export($array) . '; ?>'; > > Now save that to a RAM disk and include() it whenever you need it > recreated. You can do the same thing with objects, too. Wow, the simplicity of logic at its best. :-) Nice one, John. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#175665) next »